Page 1 of 1

configuring PHP with apache

Posted: Thu Aug 28, 2008 4:53 am
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

Re: configuring PHP with apache

Posted: Thu Aug 28, 2008 7:31 am
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.

Re: configuring PHP with apache

Posted: Thu Aug 28, 2008 7:33 am
by hct
Hello
Thank you for replying I am keeping it in my documents where do I find the htdocs by the way?? :?

Re: configuring PHP with apache

Posted: Thu Aug 28, 2008 8:22 am
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