PHP Basics
Moderator: General Moderators
- karthik.sreenivasan
- Forum Newbie
- Posts: 6
- Joined: Mon Aug 17, 2009 11:00 pm
PHP Basics
Hi,
This is Karthik. I am a developer who is new to PHP. I would like to know what IDE to use in order to program PHP. I already used Eclips IDE. But I dont know how to compile the code.
Any guidance would be of great help.
Thankyou.
This is Karthik. I am a developer who is new to PHP. I would like to know what IDE to use in order to program PHP. I already used Eclips IDE. But I dont know how to compile the code.
Any guidance would be of great help.
Thankyou.
Re: PHP Basics
Which IDE to use is simply a matter of choice. I currently use NetBeans.
As for compiling PHP, you don't. PHP is an interpreted language (it is compiled at runtime so the developer does not need to compile it), so simply right the code, save it and run it.
As for compiling PHP, you don't. PHP is an interpreted language (it is compiled at runtime so the developer does not need to compile it), so simply right the code, save it and run it.
Re: PHP Basics
You don't even need an IDE at all. Notepad++ FTW!!!
Re: PHP Basics
Hi,
I use Notepad++. I would like to use things like Zend Studio but the cost is a barrier when compared to things like Notepad++. At home I just use normal notepad.

I use Notepad++. I would like to use things like Zend Studio but the cost is a barrier when compared to things like Notepad++. At home I just use normal notepad.
Re: PHP Basics
I don't even think stuff like Zend is good. I find most of the features of IDEs really annoying.
And my god...I would never use notepad. I couldn't live without syntax highlighting.
And my god...I would never use notepad. I couldn't live without syntax highlighting.
Re: PHP Basics
Hi,
Never actually used Zend Studio but it looked good from the outside
. I learnt PHP in notepad and quite often find if im travelling between clients offices at all that the only reliable tool I will most certainly have available on their particular machines is normal bog standard notepad.
I enjoy using Notepad++ but I sometimes have to use their computers on their networks with their limited software options lol.
Never actually used Zend Studio but it looked good from the outside
I enjoy using Notepad++ but I sometimes have to use their computers on their networks with their limited software options lol.
Re: PHP Basics
Fair enough....
It's almost impossible to see syntax errors with notepad though...
And I guess...I've never actually used Zend studio...but I'd never buy it. Notepad++ is more than enough for me.
It's almost impossible to see syntax errors with notepad though...
And I guess...I've never actually used Zend studio...but I'd never buy it. Notepad++ is more than enough for me.
Re: PHP Basics
It definatly makes it more challenging but im pretty used to it 
Re: PHP Basics
Yeah I know the feeling. I used notepad++ for a long time aswell up to recently, it's a great editor. I completely changed over to linux (got a windows vm) so now i use netbeans. And no, I'm not going to install wine.juma929 wrote:It definatly makes it more challenging but im pretty used to it
Off-topic: Nice to see some zend certified around. I got mine a few months back. Sat the mysql developer part 1 there recently enough too. Might wait a month or 2 before part 2.
- karthik.sreenivasan
- Forum Newbie
- Posts: 6
- Joined: Mon Aug 17, 2009 11:00 pm
Re: PHP Basics
Thanks guys.
So we have to use notepad++ to code PHP and through an IIS host it and run it to check for errors.
Is it something like j2ee where we deploy the application in apache-tomcat or sunaps server and then type the files URL along with tomcat extension like http:\\localhost:8080\page.jsp
So do we have some deployable application for PHP.
Please guide me.
So we have to use notepad++ to code PHP and through an IIS host it and run it to check for errors.
Is it something like j2ee where we deploy the application in apache-tomcat or sunaps server and then type the files URL along with tomcat extension like http:\\localhost:8080\page.jsp
So do we have some deployable application for PHP.
Please guide me.
- tajiknizam
- Forum Newbie
- Posts: 7
- Joined: Tue Aug 18, 2009 6:25 am
- Location: Pakistan
Re: PHP Basics
HI,
IDE is ur choice, i use Adobe Dreamweaver CS4 both for code and design,
jst write a code , save it,
for running the code, or interpret it, Use either WAMP for windows or Xamp for all OS's
Good Luck...!!
IDE is ur choice, i use Adobe Dreamweaver CS4 both for code and design,
jst write a code , save it,
for running the code, or interpret it, Use either WAMP for windows or Xamp for all OS's
Good Luck...!!
- karthik.sreenivasan
- Forum Newbie
- Posts: 6
- Joined: Mon Aug 17, 2009 11:00 pm
Re: PHP Basics
Thanks for the prompt reply.
I just have a small clarification. I had seen phalanger which automatically configures the IIS and also gives some demo applications for trial run. I would like to know how effective it is. Is it really effective.
I would also like to know how to configure MYSQL if possible.
It would be of great help.
I just have a small clarification. I had seen phalanger which automatically configures the IIS and also gives some demo applications for trial run. I would like to know how effective it is. Is it really effective.
I would also like to know how to configure MYSQL if possible.
It would be of great help.
Re: PHP Basics
Well IIS sucks.
If you're unfamiliar with how to configure a server, you should install something like XAMP or WAMP or whatever OS you run. I've never used it myself, but I believe it's supposed to configure pretty much everything for you.
Besides, Apache is far better than IIS.
If you're unfamiliar with how to configure a server, you should install something like XAMP or WAMP or whatever OS you run. I've never used it myself, but I believe it's supposed to configure pretty much everything for you.
Besides, Apache is far better than IIS.
- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK
Re: PHP Basics
May I refer you to this uber thread that is uber?
- karthik.sreenivasan
- Forum Newbie
- Posts: 6
- Joined: Mon Aug 17, 2009 11:00 pm
Re: PHP Basics
Thanks for the reply.
Currently I am using Eclips IDE for PHP. I see that there is an option CTRL+F9 which is run but when I run it it says (Action Cancelled). What does this infer. I tried to make some settings but it seldom works. How am I supposed to link php compilters to the Eclips ?
Am I basically going wrong somewhere ?
If there is a step by step procedure for running the PHP code it would be of great help!!!
e.g.
1. Write PHP code.
2. Run server. 3, 4, 5 and so on...
I just want to write a simple PHP code to print on the screen(ECHO).
Currently I am using Eclips IDE for PHP. I see that there is an option CTRL+F9 which is run but when I run it it says (Action Cancelled). What does this infer. I tried to make some settings but it seldom works. How am I supposed to link php compilters to the Eclips ?
Am I basically going wrong somewhere ?
If there is a step by step procedure for running the PHP code it would be of great help!!!
e.g.
1. Write PHP code.
2. Run server. 3, 4, 5 and so on...
I just want to write a simple PHP code to print on the screen(ECHO).