|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1998-12-19 12:02 UTC] rasmus
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 13:00:02 2025 UTC |
Apache won't execute my php scripts. Help would be sincerely appreciated. Compiled-in libraries: [root@gondor /root]# /usr/sbin/httpd -l Compiled-in modules: http_core.c mod_so.c mod_php3.c My build script: mkdir apache cd apache rpm2cpio ../apache-1.3.3-1.src.rpm | cpio -i tar xvzf apache_1.3.3.tar.gz cd apache_1.3.3 for x in ../*.patch do patch -p1 < $x done CFLAGS="-O2" LDFLAGS="-s" ./configure --prefix=/usr \ --libexecdir=/usr/lib/apache \ --sysconfdir=/etc/httpd/conf \ --serverroot=/etc/httpd \ --datadir=/home/httpd \ --includedir=/usr/include/apache \ --logfiledir=/var/log/httpd \ --localstatedir=/var \ --runtimedir=/var/run \ --proxycachedir=/var/cache/httpd \ --enable-module=all \ --enable-shared=max \ --disable-rule=WANTHSREGEX cd ../.. tar xvzf php-3.0.5.tar.gz cd php-3.0.5 LDFLAGS="-s" CFLAGS="-O3 -I/usr/include/pgsql" ./configure \ --disable-debug \ --with-pgsql --with-system-regex \ --with-apache=../apache/apache_1.3.3 \ --with-sybase-ct make make install cd ../apache/apache_1.3.3 CFLAGS="-O2" LDFLAGS="-s" ./configure --prefix=/usr \ --libexecdir=/usr/lib/apache \ --sysconfdir=/etc/httpd/conf \ --serverroot=/etc/httpd \ --datadir=/home/httpd \ --includedir=/usr/include/apache \ --logfiledir=/var/log/httpd \ --localstatedir=/var \ --runtimedir=/var/run \ --proxycachedir=/var/cache/httpd \ --enable-module=all \make --enable-shared=max \ --disable-rule=WANTHSREGEX \ --activate-module=src/modules/php3/libphp3.a make install echo 'AddType application/x-httpd-php3 .php3' >> \ /etc/httpd/conf/srm.conf