configuring PHP with apache

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
hct
Forum Newbie
Posts: 3
Joined: Thu Aug 28, 2008 4:48 am

configuring PHP with apache

Post by hct »

Hello

I need help I am a newbie to php and apache, I have installed and configure apache and php on my machine and executed the test.php file on my browser. Everything worked fine until I tried to execute another file. I keep getting this on the browser
Not Found

The requested URL /first.php was not found on this server.
Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.3 with Suhosin-Patch Server at 10.0.3.248 Port 80

can anyone out-there please help me

Thanks
User avatar
susrisha
Forum Contributor
Posts: 439
Joined: Thu Aug 07, 2008 11:43 pm
Location: Hyderabad India

Re: configuring PHP with apache

Post by susrisha »

Can you tell us where did u keep first.php file in the system?? it is supposed to be included in htdocs of apache.
hct
Forum Newbie
Posts: 3
Joined: Thu Aug 28, 2008 4:48 am

Re: configuring PHP with apache

Post by hct »

Hello
Thank you for replying I am keeping it in my documents where do I find the htdocs by the way?? :?
hct
Forum Newbie
Posts: 3
Joined: Thu Aug 28, 2008 4:48 am

Re: configuring PHP with apache

Post by hct »

Hello

Thanks everyone I know what my problem was, really simple directory problem thanks though. I had to save my newly created files in the var/www directory.

Thanks :lol: :D
Post Reply