#29824 [NEW]: The apache-module doesn't load php.ini
| From: | mp at 247net dot de | Date: | Tue, 24 Aug 2004 19:08:45 +0000 |
| Subject: | #29824 [NEW]: The apache-module doesn't load php.ini | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-65188@lists.php.net to get a copy of this message | ||
From: mp at 247net dot de
Operating system: OpenBSD
PHP version: 5.0.1
PHP Bug Type: *Configuration Issues
Bug description: The apache-module doesn't load php.ini
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 bug report at http://bugs.php.net/?id=29824&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29824&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29824&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29824&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=29824&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29824&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29824&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29824&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29824&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29824&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29824&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29824&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29824&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29824&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29824&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29824&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29824&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29824&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29824&r=float