| | |
Connecting PHP to mySQL under IIS
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jul 2008
Posts: 6
Reputation:
Solved Threads: 0
I've run the install for PHP 5.2.6 and been able to have PHP pages run successfully. My research has told me that PHP no longer includes the dll needed to connect to mySQL. I've run into a couple of problems on my system.
Can I get my IIS server to use the same PHP/mysql that is being accessed by Apache Server? Can I simply copy my mysql.dlls from my Apache installation to my IIS installation. (The version of PHP being run by Apache is 5.2.3 where (as I've already said) my PHP version being accessed by IIS is 5.2.6.
- Using phpinfo(), I can identify the extensions folder the installation is using, but cannot find the folder itself.
- i'm also running UniServer(on another port)
Can I get my IIS server to use the same PHP/mysql that is being accessed by Apache Server? Can I simply copy my mysql.dlls from my Apache installation to my IIS installation. (The version of PHP being run by Apache is 5.2.3 where (as I've already said) my PHP version being accessed by IIS is 5.2.6.
Why don't you just use: http://www.wampserver.com/en/ or do a manual installation and follow INSTALL.TXT instructions provided with PHP ?
![]() |
Similar Threads
- MSSQL - MySql Database Connectivity (MS SQL)
- Can't connect database or view PHP pages in Dreamweaver (PHP)
- question about connecting odbc to sql through php script (PHP)
- php mysql help (PHP)
Other Threads in the PHP Forum
- Previous Thread: PHP Query Failing After Site Move
- Next Thread: Is it possible to store a function in a variable?
| Thread Tools | Search this Thread |
.htaccess alerts apache api archive array autocomplete beginner binary broken cakephp checkbox class cms code convert cron curl database dataentry date display duplicates dynamic echo email emptydisplayvalue error execute explodefunction file files firstoptioninphpdroplist folder form forms function functions google hack href htaccess html htmlspecialchars image include insert ip javasciptvalidation javascript joomla keywords limit link login mail matching menu methods mlm multiple mysql network object oop paypal pdf php problem query radio random recursion recursive redirect remote script search securephp server sessions shot sms source space sql subscription syntax system table tutorial tutorials update upload url validator variable video web youtube





