Wrox Home  
Search P2P Archive for: Go

  Return to Index  

apache_server thread: Re: Cannot view PHP documents :(


Message #1 by "deez" <deezert@r...> on Fri, 22 Nov 2002 05:50:59
You wrote:
> Apache server will serve HTML documents just fine, although it will not 
P> arse my PHP pages :( - I am running RedHatLinux 7.2 apache 1.3 and 
php4.  
C> ould someone provide me with some guidelines or a checklist of what 
must 
b> e done in order for apache to parse the PHP pages.  Any help would be 
a> ppreciated.

> ThX!

> -Nate Dawg.

Hi, 
You need to check your php.ini and httpd.conf files, if they have been 
configured to run with each other.

You need to add the Action, AddHandler and ScriptAlias directives to the 
httpd.conf file. You need to ensure if the dlls and ini files are in the 
proper directory (/etc). 

I suggest you look up a resource which offers you tips on how to 
troubleshoot such an event. Obviously, if you got the Apache server 
running, the problem lies in PHP and the configuration settings. You could 
try looking up the Professional Apache book by Wrox Press. It contains 
enough info for you to troubleshoot your way out of problems like this.
On another note, even Professional PHP4 Programming should have enough 
information for you to deploy Apache on Linux, and then help you configure 
it with PHP. 

If you found this post helpful, please mail me back at deepaa@w...

Thanks
deeZ
Technical Editor 
Wrox Press.

  Return to Index