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

I hope this help you...

-----Mensaje original-----
De: Mike Hammonds [mailto:[EMAIL PROTECTED]]
Enviado el: Jueves 1 de Marzo de 2001 12:04 PM
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 \
                   --enable-ftp \
                   --enable-bcmath \
                   --disable-debug \
                   --enable-memory-limit=yes \
                  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?
sorry so long

Mike Hammonds, CNE5, MCP-NT
Fellon-McCord & Associates, Inc.
Office:  502.214-6324
Fax:      502.426.8800
Show Me the Code!!

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to