#8879 [Opn]: iPlanet: setting doc_root etc. for virtual servers

From: Date: Sun, 18 May 2003 01:21:06 +0000
Subject: #8879 [Opn]: iPlanet: setting doc_root etc. for virtual servers
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39860@lists.php.net to get a copy of this message
ID: 8879 Updated by: thetaphi@php.net Reported By: sniper@php.net Status: Open Bug Type: Feature/Change Request Operating System: Solaris / iPlanet PHP Version: 4.3.1-dev Assigned To: thetaphi New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#39860) next »