Serbinski, Theodore S wrote:

>I did try this:
>
>AddType application/x-httpd-php .php
>
>But that didn't seem to work, even after restarting PHP. I am assuming I
>need to tell Apache where the PHP executable is and to use that for *.php.
>But I don't know how to do that since I installed PHP as a CGI-binary.
>
>Also where can I find that install file? Our sysadmin guy did this and I
>think he missed a few things. I can't find it in any of the php directories.
>
I have not used PHP as a CGI (only as apache module) so my experience 
may differ. The AddType line looks right. It is apache you restarted, I 
assume (you said php). If you installed from source, the INSTALL file is 
in the top level directory after you untar it.

The "include_path" parameter seems to be the one to indicate where the 
php executable is. I got this by looking in the manual 
(http://www.php.net) so maybe this is worth a look.

HTH
Chris


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to