Installling PHPOnce downloaded, run the installer.
Choose the default installation location...
... and then on the next page select the web server technology you are using.
If you have just installed Apache following the instructions above, choose the 'Apache 2.2.x Module' option. If however you are using Windows Internet Information Sevices (IIS), choose 'IIS ISAPI Module'. We are going to follow the Apache option, so the following dialog asks for the Apache Configuration page.
Using the default path, the required path is this: C:\Program Files\Apache Software Foundation\Apache2.2\conf\ After choosing the path, clicking next you will come to the components stage.
To install the components relevant to what is being used, the following items should be selected/enabled. Note if using a different 'Web Server Setup', the relevant option should be selected. It has not been confirmed that CubeCart will not run without some of these components, however these are the technologies that CubeCart uses. PHP > Program > Script Executable > Register *.php files to open automatically with PHP.
Click on next, and PHP can now install.
PHP > Extensions > MySQL PHP > Extensions > PDO > MySQL PHP > Extensions > SOAP PHP > Web Server Setup > Apache 2.2.x Module PHP > Extras > PEAR
Once installed, there are some configuration settings you will need to apply which are not included in the installation instructions. Look for 'http.conf' in this location: C:\Program Files\Apache Software Foundation\Apache2.2\conf\ Search for 'DirectoryIndex', add 'index.php' as shown below:
<IfModule dir_module>
If the following code has not already been added by the PHP installer, then it will need adding:
DirectoryIndex index.html index.php </IfModule>
LoadModule php5_module "c:/Program Files/PHP/php5apache2_2.dll"
Note: the file name 'php5apache2_2.dll' may differ depending on the version of PHP installed. Looking in that file location will confirm what the file name is called.
PHPIniDir "C:/Program Files/PHP" To activate the edited configuration file, you will need to restart the Apache services. This can be done via the Apache icon in the system tray, or by rebooting.
To test this working, just add the CubeCart files to the web server directory, and see if you can display the CubeCart installer. If you create a folder called 'cubecart', copy the files to there, and then using your browser go to http://localhost/cubecart/. You will not be able to install it as yet though. |
| Comments, Feedback, Suggestions and Documentation Submissions please post in the Documentation Chat Forum. |