PDA

View Full Version : upgrade custom PHP 5 for Parallels Plesk Panel



vô danh
09-01-2013, 04:01 PM
APPLIES TO:
Parallels Plesk Panel 10.x for Windows
Parallels Plesk Panel 9.x for Windows
Parallels Plesk Panel 8.x for Windows
Resolution
How to update PHP 5 on a Windows server with Parallels Plesk Control Panel 8.x and 9.x installed.
In order to upgrade PHP 5 to the necessary version (other than shipped with Parallels Plesk), please perform the following steps:
Stop Plesk services (‘Control Panel’ and all that are included in the ‘Plesk Run-Time’ section)
Rename folder %plesk_dir%\Additional\PleskPHP5 to the orig_PleskPHP5
Create a new folder %plesk_dir%\Additional\PleskPHP5
Download necessary version of PHP, unzip its content, and copy it to the newly created folder PleskPHP5
Copy the file php.ini from the old folder orig_PleskPHP5 to the new one
Make sure the permissions are inherited
Start Plesk services
Click the "Refresh" button in the Components Management section in Parallels Plesk Panel and check if you can see the new PHP version there
How to update PHP 5 on a Windows server with Parallels Plesk Control Panel 10.x installed.


Stop Plesk services (‘Control Panel’ and all that are included in the ‘Plesk Run-Time’ section)
Rename folder %plesk_dir%\Additional\PleskPHP53 to the orig_PleskPHP53
Note: There are three folders in %plesk_dir%\Additional\:

- PHP for PHP 4.4.9;
- PleskPHP5 for PHP 5.2.17;
- PleskPHP53 for PHP 5.3.10.

Please take this into consideration and rename the appropriate folder depending on the version of PHP you would like to update.

Create a new folder %plesk_dir%\Additional\PleskPHP53
Download necessary version of PHP, unzip its content, and copy it to the newly created folder PleskPHP53
Copy the file php.ini from the old folder orig_PleskPHP53 to the new one
Make sure the permissions are inherited
Start Plesk services
Click the "Refresh" button in the Components Management section in Parallels Plesk Panel and check the new PHP version there

Please also note that you need to refer to Release notes for Windows-based OS to know the supported versions of PHP to avoid using non-supported version:

You need to be aware that PHP versions other than that shipped with Parallels Plesk Panel were not tested. The procedure described here does not affect the PHP version that Plesk uses for itself.
Additional information
Parallels Plesk Panel is distributed with its own PHP that processes the control panel. That PHP cannot be upgraded with the instructions.

vô danh
09-01-2013, 04:04 PM
xem thêm tại

http://kb.parallels.com/6670