I’ve broken my studies to PHP now… I tried following the Dreamweaver Help to installing a testing server, but no luck. What am I doing wrong?
Here is the Dreaweaver help, followed by what I do…
To install PHP 5 on a Windows system:
1.If applicable, log into your Windows system using the Administrator account. —> Not applicable
2.Download the Windows PHP 5.x installer from the PHP website at [url]www.php.net/downloads.php
3.Double-click the installer file you downloaded and follow the onscreen installation instructions. —-> Install to C:PHP but then it gives me a list of options, Apache 1.3x module, Apache 2.0x module, Apache 2.2x module, Apache CGI, IIS ISAPI module, IIS FastCGI, IIS CGI, NSAPI, Xitami, Sambar Server, Other CGI, Do not setup a web server. Didn’t quiet know which one to choose so went with IIS CGI. Then I made everything, executables etc, all installable. While installing, I got and ERROR TRYING TO ACCESS THE LOCAL WEB SERVICE: GETOBJECT FAILED. YOU WILL NEED TO MANUALLY CONFIGURE THE WEB SERVER.
4.After PHP is successfully installed, download the Windows PHP 5.x zip package from the PHP website at [url]www.php.net/downloads.php
The zip package contains the extension you need to work with MySQL.
5.In the temporary folder containing the unzipped files, locate the folder called ext and copy it to the C:PHP folder. —-> Done
The ext folder contains common PHP extensions, including the MySQL extension.
6.In the C:Windows folder, locate the file called php.ini and open it in Notepad. —-> There is no php.ini in the Windows folder. So made a copy of the php.ini in the C:PHP folder.
You must edit this file to enable the MySQL extension.
7.Find the following line in the php.ini file:
extension_dir = “./” —-> Done
This line specifies where PHP looks for extensions.
8.Edit the line as follows:
extension_dir = “C:PHPext” —-> Done
Tip: Don’t omit the final slash.
9.Find the following line in the php.ini file:
;extension=php_mysql.dll —-> File not found in php.ini
The semicolon ( ; ) at the start of the line tells PHP to ignore the line.
10.Delete the semicolon at the start of the line to enable the extension.
extension=php_mysql.dll —-> Not done
11.Save and close the php.ini file. —-> Done
12.In the temporary folder containing your unzipped PHP files, locate the file called libmysql.dll and copy it to the C:Windowssystem32 folder. —-> Done. File libmysql.dll was found in C:Documents and SettingsOwnerMy DocumentsDownloadsphp-5.2.5-Win32 and copied to C:Windowssystem32
This file is required so that IIS can work with PHP 5 and MySQL.
13.Restart IIS. —-> What the hell is IIS and how do u restart it?