#29824 [Opn->Bgs]: The apache-module doesn't load php.ini
| From: | edink@php.net | Date: | Wed, 25 Aug 2004 00:47:52 +0000 |
| Subject: | #29824 [Opn->Bgs]: The apache-module doesn't load php.ini | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-65204@lists.php.net to get a copy of this message | ||
ID: 29824
Updated by: edink@php.net
Reported By: mp at 247net dot de
-Status: Open
+Status: Bogus
Bug Type: *Configuration Issues
Operating System: OpenBSD
PHP Version: 5.0.1
New Comment:
--with-config-file-path is the *path* where php.ini lives, not the
filename.
Previous Comments:
------------------------------------------------------------------------
[2004-08-24 21:08:42] mp at 247net dot de
Description:
------------
The ini-file isn't loaded by the apache module (the
cli-version works fine).
Seemingly it's fixed in CVS (5.1.x-dev) php5-200408241630!
# ./configure \
--with-config-file-path=/var/www/conf/php.ini \
--with-apxs=/usr/sbin/apxs
# cat /var/www/conf/httpd.conf | grep php5
LoadModule php5_module /usr/local/lib/php/libphp5.so
# ls -l /var/www/conf/php.ini
-rw-r----- 1 root www 44.1K Aug 24
19:05 /var/www/conf/php.ini
# php -f phpinfo.php
phpinfo()
PHP Version => 5.0.1
System => OpenBSD www 3.5 GENERIC#34 i386
Build Date => Aug 24 2004 18:57:18
Configure Command => './configure'
'--with-config-file-path=/var/www/conf/php.ini'
'--with-apxs=/usr/sbin/apxs'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /var/www/conf/php.ini
PHP API => 20031224
PHP Extension => 20040412
Zend Extension => 220040412
Debug Build => no
Thread Safety => disabled
IPv6 Support => enabled
Registered PHP Streams => php, file, http, ftp
Registered Stream Socket Transports => tcp, udp, unix, udg
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29824&edit=1