Bug #990: PHP scripts generate save-to-file prompt
| From: | charles_fisher at bigfoot dot com | Date: | Mon, 14 Dec 1998 21:53:29 +0000 |
| Subject: | Bug #990: PHP scripts generate save-to-file prompt | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-2802@lists.php.net to get a copy of this message | ||
From: charles_fisher@bigfoot.com
Operating system: RedHAt 5.2
PHP version: 3.0.5
PHP Bug Type: Installation problem
Bug description: PHP scripts generate save-to-file prompt
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
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net