#35684 [NEW]: PHPIniDir can't be specified twice for different virtual hosts
| From: | techtonik@php.net | Date: | Thu, 15 Dec 2005 15:20:50 +0000 |
| Subject: | #35684 [NEW]: PHPIniDir can't be specified twice for different virtual hosts | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-90472@lists.php.net to get a copy of this message | ||
From: techtonik@php.net
Operating system: W2K
PHP version: 5.1.1
PHP Bug Type: Apache2 related
Bug description: PHPIniDir can't be specified twice for different virtual hosts
Description:
------------
I'd like to specify distinct php.ini for two VirtualHosts. The problem is
what PHPIniDir cannot be specified multiple times in httpd.conf
Is it possible to correct PHPIniDir behavior? If not - then why? I think
other hosting companies are interested in solution too.
Additionally I'd like to specify exact php.ini file in this (or perhaps
PHPIniPath) directive. Useful when you have multiple users and would like
to keep their php.inis in one place.
Reproduce code:
---------------
E:\WebServices\Apache2\bin>Apache.exe
Actual result:
--------------
Syntax error on line 977 of E:/WebServices/Apache2/conf/httpd.conf:
Only first PHPINIDir directive honored per configuration tree - subsequent
ones ignored
--
Edit bug report at http://bugs.php.net/?id=35684&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35684&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35684&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35684&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=35684&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=35684&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=35684&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=35684&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=35684&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35684&r=support
Expected behavior: http://bugs.php.net/fix.php?id=35684&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=35684&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=35684&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35684&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35684&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35684&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=35684&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35684&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=35684&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=35684&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=35684&r=mysqlcfg