Bug #770: Apache will not work when PHP with MySQL is installed
| From: | scott at elysium dot demon dot co dot uk | Date: | Wed, 23 Sep 1998 09:04:35 +0000 |
| Subject: | Bug #770: Apache will not work when PHP with MySQL is installed | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-1435@lists.php.net to get a copy of this message | ||
From: scott@elysium.demon.co.uk
Operating system: Linux 2.0.32 libc5
PHP version: 3.0.4
PHP Bug Type: Reproduceable crash
Bug description: Apache will not work when PHP with MySQL is installed
MySQL Version: 3.21.33b
PostgreSQL Version: 6.3.2
MySQL is installed under /usr (ie in /usr/bin /usr/local etc) and was compiled --without-server
PostgreSQL is installed under /usr/local/pgsql and is complete
Apache version: 1.3.1
I followed this exact sequence:
tar xzf apache_1.3.1.tar.gz
tar xzf php-3.0.4.tar.gz
cd apache_1.3.1/src
./Configure
cd ../../php-3.0.4
./configure --with-apache=../apache_1.3.1 -with-mysql=/usr --with-zlib --with-gd
--with-config-file-path=/etc/httpd/conf --enable-track-vars --enable-magic-quotes
make
make install
cd ../apache_1.3.1/src
** added into Configuration the line "AddModule modules/php3/libphp3.a" as line 258 (just
under mod_cgi) **
./Configure
make
----
This Apache will display "Forbidden" for access to any file. In the VirtualHost's
error log the line:
[crit] /.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
appears.
This problem is reproduceable every time - and goes away if MySQL support is not compiled into PHP.
--
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