ID: 44330 User updated by: lunter at interia dot pl Reported By: lunter at interia dot pl Status: Open Bug Type: Feature/Change Request Operating System: only Win PHP Version: 6CVS-2008-03-04 (CVS) New Comment:
To switch beetwen PHP5 and PHP6 you must use .htaccess file: 1) AddType application/x-httpd-php .php # for PHP5 (if not defined in httpd.conf) 2) AddType application/x-httpd-php6 .php # for PHP6 Previous Comments: ------------------------------------------------------------------------ [2008-03-04 20:21:32] lunter at interia dot pl Better idea - compile two dll's in future PHP6: 1) php6apache2_2.dll - current without changes; 2) php6apache2_2c.dll - corrected for admins who want to running Apache2.x with PHP5 & PHP6 as module at the same time. ------------------------------------------------------------------------ [2008-03-04 20:08:44] lunter at interia dot pl sorry - replace: 'application/x-httpd-php' => 'application/x-httpd-php6' Testes with modified php6apache2_2.dll. Works very good. ------------------------------------------------------------------------ [2008-03-04 19:49:22] lunter at interia dot pl Description: ------------ Only Windows php6apache2_2.dll replace: 'PHPINIDir' => 'PHPINIDir6' & add second type: 'application/x-httpd-php6' to able load both as Apache module: 1) php5apache2_2.dll 2) php6apache2_2.dll with different Configuration File (php.ini) Path. Expected result: ---------------- running Apache2.x with PHP5 & PHP6 as module at the same time Actual result: -------------- It is not able to load Apache2.x with PHP5 & PHP6 as module. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44330&edit=1
