Apache not compiling php
| From: | Mike Hammonds | Date: | Thu, 01 Mar 2001 18:04:29 +0000 |
| Subject: | Apache not compiling php | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-7055@lists.php.net to get a copy of this message | ||
** 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
BEGIN:VCARD VERSION:2.1 X-GWTYPE:USER FN:Mike Hammonds EMAIL;WORK;PREF;NGW:Mike.Hammonds@knowledgeinenergy.com TEL;PREF;FAX:(502)426-8800 X-GWUSERID:mhammonds ORG:;IS Department N:Hammonds;Mike TEL;WORK:(502)214-6324 TITLE:IS MAnager END:VCARD
BEGIN:VCARD VERSION:2.1 X-GWTYPE:USER FN:Mike Hammonds EMAIL;WORK;PREF;NGW:Mike.Hammonds@knowledgeinenergy.com TEL;PREF;FAX:(502)426-8800 X-GWUSERID:mhammonds ORG:;IS Department N:Hammonds;Mike TEL;WORK:(502)214-6324 TITLE:IS MAnager END:VCARD