Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbie installation question

Status
Not open for further replies.

kempis555

Programmer
Jan 2, 2001
77
Howdy,
I'm installing Apache and PHP for the first time on a LINUX server. After following all of the instructions, Apache serves up .HTML files okay from the '/usr/local/apache/htdocs' directory, but a test.php file gives me the following error:

Warning: Failed opening '/usr/local/apache/htdocs/test.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0

What could be causing that? Permissions? Mapping? ???

Thanks in advance,

-k
 
Found the problem.
You have to give at least read permissions on any PHP file you create.

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top