note 88726 deleted from install.windows.manual by cmb
| From: | cmb@php.net | Date: | Thu, 01 Dec 2016 17:21:12 +0000 |
| Subject: | note 88726 deleted from install.windows.manual by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-207875@lists.php.net to get a copy of this message | ||
Note Submitter: dee at example dot com
----
I did a clean install of Apache 2.2 and PHP 5.2.6 due to conflicts with the old httpd.conf file I
had and ran into the "Call to undefined function mysql_connect()" error when trying to run
a script that connects to MySQL.
To resolve it I had to copy libmysql.dll from my PHP installation directory to the "bin"
folder of my Apache install directory.
I checked the forums.mysql.com as someone else suggested which lead me to this site with the missing
step I needed (http://www.artfulsoftware.com/php_mysql_win.html). I spent a good part of the
afternoon trying set this up. Hopefully it helps someone out.