Forum

Install PHP on Windows computer

Posted by deboutv 
Install PHP on Windows computer
January 29, 2012 08:44PM
Hello,

To install PHP on a Windows computer, do these steps:

1. Download the installer from the following website.
2. Execute the installer.
3. Select an easy installation path to remember like C:\PHP.

4. Do not install any webserver service.

5. Make sure to select the CURL and XML parser during the installation (it might be selected by default).

6. Download the attached file, unzip and untar it.

7. Execute the phpTest.bat script in a command line (Click on Start, then Execute..., then enter cmd).
phpTest.bat

8. You should get the following result.
Check for XML reader...
Check for XML reader... Done
Check for CURL...
Check for CURL... Done
Check for exec...
exec (Test: directory_name) PASS
Check for exec... Done


If you don't get the expected result, try this:
* Edit the php.ini file (located in the PHP installation directory) to turn On the register_globals.
* Edit the php.ini file to turn Off the safe_mode (read the PHP manual to understand the risks).

Vincent


Android: 2.3.6, 1.6
Devices: Samsung Galaxy S2, Archos 5IT
OS: Linux (Mandriva)

Please complete your signature with your environment informations.



Edited 2 time(s). Last edit at 03/16/2012 10:56AM by deboutv.
Attachments:
open | download - tools.zip (1.5 KB)
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 2
Record Number of Users: 3 on January 23, 2013
Record Number of Guests: 218 on January 14, 2020