RE: [PHP-INSTALL] PHP and Apache not working together

2007-08-02 Thread Paul Blondé
Do note that only the .php extension is really necessary, unless you specifically use the extensions .php4 and .php5 because you have both versions of PHP installed, or have encoded scripts from a third party (.phtml). Paul Blondé Web Programmer enTel Communi

RE: [PHP-INSTALL] PHP and Apache not working together

2007-08-02 Thread Andy Stratton
This has happened to my when I haven't included the following directive in httpd.conf for Apache: AddType application/x-httpd-php .php .php4 .php5 .phtml The last bit are file extensions you want recognized as PHP scripts... you can just use .php or keep adding extensions, separated by

[PHP-INSTALL] PHP and Apache not working together

2007-08-02 Thread swadams3
I'm trying to get PHP and Apache 2 working together in Fedora 6. I followed the instructions on php.net for installing PHP, and these instructions have worked fine on Red Hat and SuSE systems. Apache runs, and I can run PHP from the command line, but if I try to load a PHP script in a browser