/    Sign up×
Community /Pin to ProfileBookmark

PHP Testing Server for Dreamweaver 8

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[/url]. —-> 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 [url]www.php.net/downloads.php[/url], and then extract the package in a temporary folder on your hard disk. —-> Done, C:Documents and SettingsOwnerMy DocumentsDownloadsphp-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: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?

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@mfieldsMar 23.2008 — I got this running in about 10 minutes...

http://www.apachefriends.org/en/xampp-windows.html

Works great too!!!

Hope this helps!
Copy linkTweet thisAlerts:
@Hooded_VillianauthorMar 24.2008 — 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.
×

Success!

Help @Hooded_Villian spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...