RE: [PHP-INSTALL] php installation problem
| From: | John Holden | Date: | Sat, 27 Dec 2003 03:42:02 +0000 |
| Subject: | RE: [PHP-INSTALL] php installation problem | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-12425@lists.php.net to get a copy of this message | ||
Real easy fix. Add this line to your httpd.conf file:
AddType application/x-httpd-php .php .phtml .php3
Which simply tells Apache to use PHP to handle all of the pages with those
extensions.
Best,
John
-----Original Message-----
From: firedude@shorelinuxsolutions.com
[mailto:firedude@shorelinuxsolutions.com]
Sent: Friday, December 26, 2003 9:39 PM
To: php-install@lists.php.net
Subject: [PHP-INSTALL] php installation problem
Hello all,
For the last 2 days I've been attempting to install php from source on my
RedHat/Fedora linux box. I am using Apach/httpd -2.0.47-10. I downloaded
the source version of php-4.3.4. I followed all the instructions that I
can find and I'm attempting to install php as a dso. The ./configure,
make and make install all seem to go fine; however once I restart apache
and attempt to bring up a php page all I see is the source code. I've
looked at my httpd source file and the LoadModule line for php is there.
I also added an AddType line for php. Below are the arguments that I
passed to ./configure:
./configure --enable-mysql --enable-exif --enable-pgsql
--with-apxs2=/usr/sbin/apxs
Can anyone offer me any assistance here as to what I might be doing or
have done wrong and how to correct it. Thanks alot.
AJ