Server Intellect
CLICK HERE TO
START LIVE CHAT
TOLL FREE SUPPORT
800.317.8552
UNITY CUSTOMER
PORTAL LOGIN

How to install PHP on a Dedicated Server or VPS account and configure it in HELM

HomeKnowledge BaseProgrammingHow to install PHP on a Dedicated...

 
How to install PHP on a Dedicated Server or VPS account and configure it in HELM

Download the PHP.ZIP File. It is listed at the bottom of the article under "Attachments"
Extract PHP.ZIP file to c:\
Grant HelmWebusers and IIS_WPG permissions to c:\php
Note: If you do not create your domain in IIS using Helm you will need to grant the anonymous user for that site permissions to this folder.

Add C:\PHP to Path

Right-click on My Computer, choose Properties.
Flip to the Advanced tab.


  

Click the Environment Variables button.
Double-click the Path variable in the list of System variables.

Either add "C:\PHP;" to the beginning or ";C:\PHP" to the end (sans quotes, not both).

Import C:\php\Phpinipath.Reg file in c:\php
Re-boot the server for it to take effect

Add PHP Web Service Extention in IIS

When you open IIS Manager, it should connect to the local computer automatically. 
Expand the local computer in the left pane 
Click on "Web Service Extensions" in the left pane. 
In the right pane, click the blue underlined text, "Add a new Web service extension..."


Enter "PHP ISAPI Extension" as the "Extension name" 
Click the "Add..." button and browse to the php5isapi.dll file in your PHP install directory 
Check the "Set extension status to Allowed" checkbox and click "OK"

Configure PHP in Helm.

Click on System Settings > Servers > ServerName
Open up the default Web Service
Set the Default PHP Version to 5
Set the PHP 5 App Path to C:\php\php5isapi.dll


Go to Home > Reseller Plans > Main Reseller Plan > Plan Resources > Web Resources and set PHP 5 installs to 1000


Go to Home > Users > RSRESELLER > Hosting Plans > Main Hosting Plan > Plan Resources > Web Resources and set PHP 5 installs to 1000

Enable PHP for Any domain in the web site settings.


Cut and paste the code below into a php file and place it in the web root to test.

<?php session_start(); ?>
<html>
 <head>
  <title>PHP Test</title>
 </head>
 <body>
  <!-- testing sessions -->
  
  
  <!-- testing browscap.ini -->
  <?php
   echo $_SERVER['HTTP_USER_AGENT'] . "<br/><br/>";
   $browser = get_browser(null, true);
   print_r($browser);
   echo "<br/><br/>";
  ?>
  
  <!-- a general PHP test -->
  <?php phpinfo(); ?>
 </body>




Help us Improve

Please Suggest a New Article!


Server Configurator
Configure your server and download a customized PDF server quote.
Start quote »
Start Server Quote
Windows Server 2008
Windows Server 2008 is the most advanced Windows Server operating system yet.
Learn More »
Windows Server 2008
PCI Certification
Our PCI Certification Service from McAfee makes the compliance process quick & easy.
Learn More »
PCI Certification
Microsoft SQL Server 2008
Check out all the new features that have been added to the new Microsoft SQL Server.
Learn More »
Microsoft SQL Server 2008
Customer Testimonials
Read what some of our customers are saying about Server Intellect.
Learn More »
Customer Testimonials
Uptime Guarantee
With Server Intellect's 99.9% uptime guarantee, you can worry about the small things.
Learn More »
Uptime Guarantee
Proactive Management
The Server Intellect team is always working to keep your server up-to-date.
Learn More »
Proactive Management
Awards
Server Intellect has been chosen for numerous awards for hosting and Dedicated Server Packages.
Learn More »
Awards
Affiliates
Affiliate Partners can earn up to $75.00 by simply referring purchasing customers to the Server Intellect website.
Learn More »
Affiliates
HELM Control Panel
HELM Control Panel is available FREE with all dedicated server packages. HELM provides lots of setup options for your server.
Learn More »
HELM Control Panel
Specials
Check out our current specials on dedicated servers.
Learn More »
Specials
Support
Support you can count on 24 hours a day, 7 days a week, 365 days a year.
Learn More »
Support