ID: 1884 Comment by: phptom at wordesign dot net Reported By: jbaach at mediathek dot de Status: Bogus Bug Type: Other Operating System: Linux (SuSe 5.2) PHP Version: 3.0.11 New Comment:
I got the same problem with php 4.3.4 and libmcrypt. I am going to try to add a new bug. Previous Comments: ------------------------------------------------------------------------ [2002-06-16 08:35:16] [EMAIL PROTECTED] Thank you for taking the time to report a problem with PHP. Unfortunately, PHP 3 is no longer supported. Please download the latest version of PHP 4 from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. ------------------------------------------------------------------------ [1999-07-26 15:30:42] jbaach at mediathek dot de I sent this message yesterday to the mailinglist (US and German): I am/was trying to upgrade my LAMP Server on my SuSE 5.2 Linux Box from Apache 1.2.6, PHP 3.0,.... to Apache 1.3.6 with openssl-0.9.3a, mod_ssl-2.3.3-1.3.6, mod_auth_mysql-2.20, PHP 3.0.11 with mysql-3.22.23b, pdflib-0.6, mhash-0.5.0, libmcrypt-2.0, gd1.5 Everything compiles fine, and even the Servers runs. The problem is that whenever I configure some <Directory ...> AllowOverride all </Directory>, these can only be accessed when there is a .htaccess file located in the directory. If there is not one, I get an "403 Error", and I get a line telling me something like ......[crit] .. /home..../.htaccess pcfg_openfile: unable tho check htaccessfile, ensure it is readable This happens whenever there is _no_ .htaccess file in the directory. This is also true for directories which do not contain any index files, but are allowed for indexing (Options Indexes). I tried many configurations during the last hours, and this problem even occours with the httpd.conf file that is installed by the 'make install' after compiling the apache. I found (in the apache bug base) that there was some similar mistake with older versions of apache (1.3.2), but the patches that were mentioned there do not fit to the apache 1.3.6 code (which does not surprise me too much ;-). ##### Workaround ####### After 6 hours of testing (rebuilding php and apache) I found out that whenever the libmcrypt is compiled with php, this error occours. I tried libmcrypt v. 2.0 and 2.2.1. Without this library the server works fine. ---------PHP do-conf------- CFLAGS='-O2 -I/usr/local/openssl/include' ./configure --with-apache=/usr/local/src/apache_1.3.6 --with-mysql=/usr/local/mysql/current --with-msql --with-pdflib=/usr/local --with-zlib --enable-sysvshm=yes --enable-sysvsem=yes --with-config-file-path=/etc --enable-track-vars=yes --with-mcrypt --enable-url-includes --with-mhash --with-gd=/usr ------------------------------ ------Apache configure with----- SSL_BASE=/usr/local/openssl ./configure --prefix=/usr/local/apache/1.3.6 \ --enable-module=ssl \ --activate-module=src/modules/php3/libphp3.a \ --enable-module=php3 \ --activate-module=src/modules/auth_mysql/libauth_mysql.a \ --enable-module=log_referer \ --enable-module=log_agent ------------------------------------ ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=1884&edit=1
