Koozali.org: home of the SME Server

Upgraded PHP now get this error - Help

Scott Lewis

Upgraded PHP now get this error - Help
« on: January 28, 2002, 01:59:47 PM »
Upgraded PHP as per the How To, and created a test.php script.

I know get the error when I try and view the script:-

Warning: Failed opening '/home/e-smith/files/primary/html/test.php' for
inclusion (include_path='.:/usr/share/php/PEAR') in Unknown on line 0

Can anyone help.

Scott

Dan Brown

Re: Upgraded PHP now get this error - Help
« Reply #1 on: January 28, 2002, 05:15:27 PM »
Probably a permissions problem--who owns test.php, and what are the permissions?

Scott Lewis

Re: Upgraded PHP now get this error - Help
« Reply #2 on: January 28, 2002, 08:20:09 PM »
Thanks dan,

It was the permissions, even though I had set them to 777, the php file was still unwritable so set it to 777 and now works.

Thanks for getting me thinking staright.

Scott