Click to See Complete Forum and Search --> : PHP Testing Server for Dreamweaver 8


Hooded_Villian
03-17-2008, 07:31 PM
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 www.php.net/downloads.php. ----> Done ( php-5.2.5-win32-installer.msi )

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 www.php.net/downloads.php, and then extract the package in a temporary folder on your hard disk. ----> Done, C:\Documents and Settings\Owner\My Documents\Downloads\php-5.2.5-Win32 is the temp directory.

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:\PHP\ext\" ----> 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:\Windows\system32 folder. ----> Done. File libmysql.dll was found in C:\Documents and Settings\Owner\My Documents\Downloads\php-5.2.5-Win32 and copied to C:\Windows\system32

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?

mfields
03-23-2008, 05:42 AM
I got this running in about 10 minutes...
http://www.apachefriends.org/en/xampp-windows.html

Works great too!!!

Hope this helps!

Hooded_Villian
03-24-2008, 07:05 AM
thanks mfileds...

I actually got the same one and it works the bomb diggity. I placed the the same thread in another catergory and someone there helped me out.

Shot alot.