RE: [PHP-DB] Apache not compiling php
| From: | Javier Morquecho Morquecho | Date: | Thu, 01 Mar 2001 18:57:31 +0000 |
| Subject: | RE: [PHP-DB] Apache not compiling php | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-7057@lists.php.net to get a copy of this message | ||
I have the next lines in my httpd.conf
LoadModule php3_module /usr/lib/apache/libphp3.so
AddModule mod_php3.c
<IfModule mod_php3.c>
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3 .php
AddType application/x-httpd-php3-source .phps
</IfModule>
I hope this help you...
-----Mensaje original-----
De: Mike Hammonds [mailto:mhammonds@knowledgeinenergy.com]
Enviado el: Jueves 1 de Marzo de 2001 12:04 PM
Para: php-db@lists.php.net; php-install-info@lists.php.net
Asunto: [PHP-DB] Apache not compiling php
** Reply Requested When Convenient **
I have Apache 1.3.14 (DSO) & php-3.0.18 installed on RH6.2
I installed php-4.0.4pl1 like this
./configure \
--with-apxs=/usr/sbin/apxs \
--with-config-file-path=/etc/http/conf \
--enable-versioning \
--with-mysql=/usr/local/mysql
--enable-ftp \
--enable-bcmath \
--disable-debug \
--enable-memory-limit=yes \
--enable-track-vars
make
make install
I had put the proper lines in httpd.conf, and in php.ini
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
all my php3 files are working but the browsers give the plain text php code.
Can someone help me on this?
TIA
sorry so long
Mike Hammonds, CNE5, MCP-NT
Fellon-McCord & Associates, Inc.
Office: 502.214-6324
Fax: 502.426.8800
mhammonds@knowledgeinenergy.com
Show Me the Code!!
ICQ#94969305