Re: mysql extension won't work on vista?

From: Date: Mon, 05 Feb 2007 05:43:35 +0000
Subject: Re: mysql extension won't work on vista?
References: 1 2  Groups: php.install 
Request: Send a blank email to php-install+get-17844@lists.php.net to get a copy of this message
i've tried everything... point apache to the php install dir, no luck. copy php.ini to /Windows, point apache there, no luck. copied every php dll from /php and /php/ext to /Windows/System32, no luck. i'm not sure apache is using any php.ini at all... i've tried changing some of the settings in php.ini and nothing seems to make a difference (and yes i am restarting apache each time ;-) ) looks like for now i'll have to consider it hosed on vista and use my linux box for dev :-/ ----- Original Message ----- From: "Sean Madden" <seanmadden@mail.rit.edu> Newsgroups: php.install To: <> Sent: Friday, February 02, 2007 6:11 PM Subject: Re: mysql extension won't work on vista?
I'm running PHP 5.2.0 on Vista Business as well. I got the MySql extension working my simply copying the libmysql.dll file right into %system32%; works fine. Did you make sure that apache is parsing the right .ini file? Jeff Emminger wrote:
hello, i just installed php5.2 on windows vista business (official release version), running through apache 2.0.59, and i can't get the mysql extension to work. i have libmysql.dll in %PHP%, %PHP% is in the system path, and php_mysql.dll in %PHP%/ext. i've even put libmysql.dll in %WINDOWS%. php.ini has extension_dir pointing to %PHP%/ext, and has extension=php_mysql.dll uncommented. restarted apache/rebooted... nothing but the error "Fatal error: Call to undefined function mysql_pconnect()" if i do something like $db = mysql_pconnect(DB_SERVER, DB_UID, DB_PWD); is there some trick to getting this to work on vista? this same setup worked fine on my XP machine. thanks, jeff


« previous php.install (#17844) next »