UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  UK Web Hosting | Dedicated Server Windows and Linux VPS Forum > Technical Support > Control Panel Questions

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-12-2006, 10:47
eUK-Scott's Avatar
System Administrator
 
Join Date: Oct 2006
Posts: 199
Wink I want to install PHP 5 on my Plesk server. How can I do it correctly?

I want to install PHP 5 on my Plesk server. How can I do it correctly?

Plesk 7.5.5 and higher versions support this version of PHP but they are not able to manage PHP4 and PHP5 at the same time only PHP4 or PHP5.

If your Plesk version is 7.5.5 or higher you can follow these steps to install PHP5 at your server:

1. Download PHP5 Windows Binaries www. php.net/downloads.php:

- PHP 5.x.x zip package

- Collection of PECL modules for PHP 5.x.x

2. Remove current PHP4 extensions from Register Web Service Extensions in IIS Web Server:

Open command prompt:

Quote:
cscript c:\windows\system32\ii***t.vbs /RmFile "%plesk_dir%Additional\php\php.exe"

cscript c:\windows\system32\ii***t.vbs /RmFile "%plesk_dir%Additional\php\sapi\php4isapi.dll"

3. Rename folder "%plesk_dir%Additional\Php" to "%plesk_dir%Additional\Php4"

4. Re-register web service extensions for PHP4.

Open command prompt:

Quote:
cscript c:\windows\system32\ii***t.vbs /AddFile "%plesk_dir%Additional\php4\php.exe" 0 PHP 1 "PHP Extensions"

cscript c:\windows\system32\ii***t.vbs /AddFile "%plesk_dir%Additional\php4\sapi\php4isapi.dll " 0 PHP 1 "PHP Extensions"

cscript c:\windows\system32\ii***t.vbs /EnFile "%plesk_dir%Additional\php4\php.exe"

cscript c:\windows\system32\ii***t.vbs /EnFile "%plesk_dir%Additional\php4\sapi\php4isapi.dll "
5. Unzip PHP 5.x.x package into %plesk_dir%Additional\Php.

6. Unzip Collection of PECL modules into %plesk_dir%Additional\Php\Ext.

7. Register PHP5 extension in IIS Web Server manually:

Open command prompt:

Quote:
cscript c:\windows\system32\ii***t.vbs /AddFile "%plesk_dir%Additional\php\php-cgi.exe" 0 PHP 1 "PHP Extensions"

cscript c:\windows\system32\ii***t.vbs /AddFile "%plesk_dir%Additional\php\php5isapi.dll" 0 PHP 1 "PHP Extensions"

cscript c:\windows\system32\ii***t.vbs /EnFile "%plesk_dir%Additional\php\php-cgi.exe"

cscript c:\windows\system32\ii***t.vbs /EnFile "%plesk_dir%Additional\php\php5isapi.dll"
8. Backup or rename C:\Windows\php.ini.

9. Put attached to this article file php.ini to C:\Windows\php.ini.

10. Configure default C:\Windows\php.ini according to Plesk configuration.

Set parameters:

extension_dir = "%plesk_dir%Additional\Php\ext"

Example:

extension_dir ="C:\Program Files\SWsoft\Plesk\Additional\Php\ext"

11. Re-configure webmail in IIS Web Server to use PHP4 because HORDE webmail does not work on PHP5.

IIS Management > Web Sites > webmail(default) > Properties > Home Directory tab > Configuration button > Application Extensions > edit value for `.php` extension > set to "%plesk_dir%additional\php4\php.exe"

Edit "%plesk_vhosts%webmail\horde\php.ini"

Change parameter:

extension_dir = "%plesk_dir%Additional\Php4\extensions"

Example:

extension_dir ="C:\Program Files\SWsoft\Plesk\Additional\Php4\extensions"

12. Make sure that PHP5 has been detected by Plesk. You can check in `Plesk > Server > Components Management > Web Scripting section` PHP should be listed there. If not, you need to check whether all the steps were done properly.

13. Reconfigure domains web-sites in IIS Web Server to use PHP5.

"%plesk_bin%\websrvmng.exe" --reconfigure-all
Attached Files
File Type: zip php.zip (14.2 KB, 2 views)
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Best Regards,
eUKScott

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
||
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 09:14.

 

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by Web Hosting 3.1.0
Copyright © 2001-2008, eUKhost.com. All rights reserved.

 
Site Map

VPS Hosting
VPS Hosting plans

Dedicated Server Hosting
Dedicated Server plans

Business Web Hosting
100% uptime Hosting

Cpanel Hosting
cPanel Shared Hosting

Reseller Hosting
Reseller Web Hosting

Windows Hosting
Windows Shared Hosting

Windows VPS

Windows VPS Hosting

Semi Dedicated Servers
Semi-Dedicated Hosting

Dedicated Server Mirroring
Dedicated Server Mirroring

Webhosting Knowledgebase
Frequently asked Questions

Web Hosting Blog
eUKhost Blog

Web Hosting Support
Support Helpdesk

UK Data Center
eUKhost Datacenter

Web Hosting Forum
eUKhost Forum

Support Tutorials
Online Flash Tutorials

Offsite Back-up Plans
Remote Backup Service

Customer Testimonials
eUK Customer Testimonials


knowledgebase articles

eUKhost.com Services

Pre-Sales Questions
Pre-sales FAQ's

Domain Names
Domain registration FAQ's

cPanel Hosting
cPanel Hosting FAQ's

Windows Web Hosting
Plesk Control Panel

Reseller Hosting
Reseller Hosting FAQ's

VPS Hosting
Virtual Private Server

Semi-Dedicated Servers
Semi-Dedicated FAQ's

Dedicated Servers
Dedicated Server Hosting


popular blog categories


Web Hosting
Website Hosting articles

UK Web Hosting
UK Hosting articles

Dedicated Server Hosting
Dedicated Server guidelines

VPS Hosting
VPS hosting articles

cPanel Hosting
cPanel Hosting articles

Linux Operating System
Linux Operating techniques

Windows Web Hosting
Windows plesk articles