Results 1 to 3 of 3
-
August 30th, 2004, 11:55 AM #1
How to activate php_mysql.dll under Apache for PHP5 on Windows
After stunning Syko with accomplishing this, I figured it may help some people here.
1) Start the Apache monitor (Start > Programs > Apache HTTP Server [version] > Control Apache Server > Monitor Apache Servers).
2) Stop the Apache server that is currently running. Keep the monitor open.
3) Go to your Windows folder, look for php.ini, and open it up. Scroll down until you see a list of extensions like this:
...
;extension=php_mssql.dll
;extension=php_msql.dll
;extension=php_mysql.dll
;extension=php_oci8.dll
;extension=php_openssl.dll
...
4) Remove the ; in front of extension=php_mysql.dll, and save the file. This is what it should look like now:
...
;extension=php_mssql.dll
;extension=php_msql.dll
extension=php_mysql.dll
;extension=php_oci8.dll
;extension=php_openssl.dll
...
5) Go to your PHP root directory (likely c:\php) and look for libmysql.dll. Copy this file to the Windows/System32 folder.
6) Do the same for the file php_mysql.dll in the folder ext, which is also located in your PHP root folder (likely c:\php\ext\php_mysql.dll).
7) Bring the Apache monitor back and start the Apache server again. Now, your PHP should be mysql ready
Wait, what?
-
August 30th, 2004, 12:43 PM #2
-
August 30th, 2004, 01:29 PM #3374Registered User
postsWell i think lots of p33ps will benefit from this small tut..
, ofcourse step 5 and 6 could be a little more explained differantly ( some users just dont get it, you will have to spell it out )

Reply With Quote





Bookmarks