#8879 [Opn->Csd]: iPlanet: setting doc_root etc. for virtual servers
| From: | thetaphi@php.net | Date: | Sun, 18 May 2003 15:38:45 +0000 |
| Subject: | #8879 [Opn->Csd]: iPlanet: setting doc_root etc. for virtual servers | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-39876@lists.php.net to get a copy of this message | ||
ID: 8879
Updated by: thetaphi@php.net
Reported By: sniper@php.net
-Status: Open
+Status: Closed
Bug Type: Feature/Change Request
Operating System: Solaris / iPlanet
PHP Version: 4.3.1-dev
Assigned To: thetaphi
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
it's in PHP5 CVS.
Previous Comments:
------------------------------------------------------------------------
[2003-05-17 20:21:05] thetaphi@php.net
I am working on it. Will be in afew days in PHP5 and after 4.3.2 is out
eventually in PHP_43 branch, too.
I will add two things:
* php4_execute: as you explained using zend_alter_ini_entry(....,
PHP_INI_USER, PHP_INI_STAGE_RUNTIME);
* php4_init: the possibility to give the path to another php.ini file
------------------------------------------------------------------------
[2001-01-24 05:28:57] sniper@php.net
In php.ini you can only set one value for the various php configuration
variables (doc_root, open_basedir etc.). It is possible to compile php
with different paths to php.ini and set the values there, but it won't
work with virtual servers. How about allowing to set those values at
runtime by passing parameters to php4_execute?
--
...
<Client urlhost="www.domain.com">
NameTrans fn="document-root" root="/path/to/document/root"
Service fn="php4_execute" type="magnus-internal/x-httpd-php"
doc_root="/path/to/document/root"
</Client>
...
--
Is this possible?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=8879&edit=1