F
Funstar
Guest
Hey there,
I got Plesk 10.2 running on Debian 6 (x64) with PHP 5.3.3. Now I need to use PHP 5.2.17 for a single subdomain, cause it needs the old Zend Optimizer to run. Now I have no idea how to do this. PHP 5.2.17 has been installed to /usr/local/bin/php and linked to /usr/lib/cgi-bin/php52:
Now I am stuck. Nothing I tried to write into the subdomains vhost.conf made it using PHP 5.2.17, always 5.3.3. Thanks for your help.
I got Plesk 10.2 running on Debian 6 (x64) with PHP 5.3.3. Now I need to use PHP 5.2.17 for a single subdomain, cause it needs the old Zend Optimizer to run. Now I have no idea how to do this. PHP 5.2.17 has been installed to /usr/local/bin/php and linked to /usr/lib/cgi-bin/php52:
Code:
root@srv01:/usr/lib/cgi-bin# ./php52 -v
PHP 5.2.17 (cli) (built: Jun 10 2011 17:58:22)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
root@srv01:/usr/lib/cgi-bin# ./php -v
PHP Warning: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line 0
PHP 5.3.3-7+squeeze1 with Suhosin-Patch (cgi-fcgi) (built: Mar 18 2011 20:10:03)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v4.0.7, Copyright (c) 2002-2011, by ionCube Ltd., and
with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies
with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH
root@srv01:/usr/lib/cgi-bin#
Now I am stuck. Nothing I tried to write into the subdomains vhost.conf made it using PHP 5.2.17, always 5.3.3. Thanks for your help.