PDA

View Full Version : [ubuntu] PHP Help For Beginners



bc040401056
March 8th, 2009, 08:09 PM
Hi friends,

Im new to ubuntu and my computer is a client of lan.

I have successfully installed php apache and mysql but when i write a php program in notepad and save it in .php format and when i open that file it shows no out put only the notepad opens can u please tell me which thing is im missing to configure or what i have to do please

silent contender
March 8th, 2009, 10:02 PM
Did you put the file in /var/www (or wherever the web directory)? After that open Firefox and put 127.0.0.1 (if you are not on the same computer, the IP address of the computer with Apach) as your URL.

That should work, if you have questions ask away.