NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Problem with mysql/ADODB configuration *resolved*


Joined: 05 Oct 2006
Posts: 8
Reply with quote
Another application, and problem with mysql/ADODB:

Fatal Error: Call to undefined function mysql_connect() in C:\Program Files\nusphere\phpdock\sheriff\adodb\drivers\adodb-mysql.inc.php on line 0

php_mysql.dll is present in C:\Program Files\nusphere\phpdock\php\extensions\
View user's profileFind all posts by jacekqSend private message
Re: Problem with mysql/ADODB configuration


Joined: 05 Oct 2006
Posts: 2
Reply with quote
Check the php.ini file in the phpdock\php directory. You may need to enable the MySQL extension by adding this line:

extension=php_mysql.dll

Add it near other extension=php_*.dll lines.

Remember, PhpDock comes with PHP 5 interpreter, so MySQL support is not enabled out of the box...
View user's profileFind all posts by NCSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
right. I'd only add that libmysql.dll should be in php-cgi.exe's directory. It's used by php_mysql.dll.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Tnx - it works now!


Joined: 05 Oct 2006
Posts: 8
Reply with quote
You're right. Your remarks helped resolve the problem.
View user's profileFind all posts by jacekqSend private message


Joined: 30 Mar 2015
Posts: 1
Reply with quote
dmitri, Thanks, Removing the entry from the registry did the trick..After removing the ZendStudio PHP pointer, sample worked fine... Looks like NuSphere may be on to something here... Thanks again for the reply, and correct fix. Scot L. Diddle, UPS Freight, Richmond VA...





____________
kaleem
View user's profileFind all posts by WoolmerSend private message
Problem with mysql/ADODB configuration *resolved*
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic