#7451 [Com]: thttpd 2.20b and php4.0.3pl1, php.ini isn't read

From: Date: Fri, 21 Feb 2003 17:44:50 +0000
Subject: #7451 [Com]: thttpd 2.20b and php4.0.3pl1, php.ini isn't read
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-33858@lists.php.net to get a copy of this message
ID: 7451 Comment by: wenyis at promise dot com Reported By: donncha dot ocaoimh at tradesignals dot com Status: Closed Bug Type: Other web server Operating System: Linux, RH 6.1 PHP Version: 4.0.3pl1 New Comment: I see the same problem with phpinfo(). Settings in php.ini are not been used. I use thttpd-2.21b and php-4.3.1. Here is what I have done: cd php-4.3.1 ./configure --prefix=/home/wenyis/php4 --without-mysql \ --with-thttpd=/home/wenyis/thttpd-2.21b --disable-cli \ --with-config-file-path=/home/wenyis/php4/lib make make install cd ../thttpd-2.21b ./configure make ./thttpd -D -C config Here is the content is my 'config' file: dir=/home/wenyis/www/public chroot phppat=**.php phpspat=**.php logfile=/home/wenyis/www/public/logs Then I load my index.php file with phpinfo(). The 'Configuration File (php.ini) Path' is shown as '/home/wenyis/php4/lib'. My settings in the php.ini are not shown. Previous Comments: ------------------------------------------------------------------------ [2001-04-02 12:54:01] sniper@php.net Tried with latest CVS and it works just fine. Please try the snapshot from http://snaps.php.net/ and if it doesn't work for you, reopen this bug report. --Jani ------------------------------------------------------------------------ [2000-10-25 11:26:27] donncha dot ocaoimh at tradesignals dot com I installed thttpd 2.20b with PHP-4.0.3pl1 I also tried thttpd 2.19 as well with the same result. Bringing up a page with phpinfo() showed that all settings in php.ini were being ignored. The include path is set to ".:/usr/local/lib/php" even though it's completely different in php.ini phpinfo() gives "/usr/local/lib" as the directory holding php.ini which is correct. PHP configure line was './configure' '--enable-memory-limit' '--disable-debug' '--enable-sysvshm' '--enable-sysvsem' '--with-mysql=/usr/local' '--without-gd' '--with-zlib' '--with-thttpd=../thttpd-2.19' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=7451&edit=1

« previous php.bugs (#33858) next »