[thelist] PHP not interpreted? (was connection refused error in Apache?)

Jonathan Doblados jjdoblados at cepalco.com.ph
Sun Aug 8 22:03:01 CDT 2004


Tom Dell'Aringa wrote:

>--- Matt Warden <mwarden at gmail.com> wrote:
>  
>
>>Are you sure you are running on port 80?
>>    
>>
>
>AH, that was it! For some reason I had it at 81 (not sure why it was late). Changed it back and it
>works. Now, I have PHP 4 installed but the page is not being interpreted as PHP - I'm seeing the
>  
>
> source of the page. I know I went though this before but cannot 
> remember the fix...

Hello Tom,

Are you using PHP as a CGI binary or as a sapi module? If you use the 
latter (I recommend this as it's safer), make sure that your 
php4apache.dll is loaded in your httpd.conf. Also, make sure that the 
php4ts.dll is located in the proper directory. I usually put mine in 
%PHPINSTALLDIR%\sapi where the sapi modules are.

More authoritative guide is at http://www.php.net/installation

HTH,

Jon


More information about the thelist mailing list