NYCPHP Meetup

NYPHP.org

[nycphp-talk] php + mysql

Juancarlos Aponte j.aponte at gmail.com
Fri Dec 17 23:47:21 EST 2004


I have version 4.1.7 of MySQL.  I recommented the
extension=php_mysql.dll line and set the extension dir to the proper
directory and also put the libmysql.dll file back into the PHP
directory.  Restarted Apache, and it still didn't work.  I even tried
adding an "extension=php_mysqli.dll" line into the php.ini file but to
no avail.  PHPmyadmin still gives me an error when trying to start up.
 "Cannot load mysql extension..." Anyone else have some ideas? Thanks
a ton.

On Fri, 17 Dec 2004 13:27:10 -0500, Daniel Convissor
<danielc at analysisandsolutions.com> wrote:
> On Fri, Dec 17, 2004 at 12:55:00PM -0500, Juancarlos Aponte wrote:
> > Hey, I'm trying to get PHP 5.0.x to work with the latest MySQL on
> > Windows Server 2003
> 
> WHICH version of MySQL?  4.0.x needs the mysql extension.  4.1.x needs
> the mysqli extension.
> 
> Are you running PHP as a CGI or as a module?
> 
> 
> > got rid of the semicolon in front of the phpmysql.dll line in the ini
> > file but it still doesn't work.
> 
> You mean php_mysql.dll (or php_mysqli.dll).
> 
> Did you uncomment the proper DLL/extension?  Did you properly set the
> extension_dir entry in php.ini?  For example:
> 
>   extension_dir = "c:\progra~1\php\ext"
> 
> 
> > I put the libmysql.dll file into the
> > windows system directory (both system and system32).  Can anyone help
> 
> libmysql.dll?  Anyway, don't.  Put it back in the php\ext directory.
> 
> --Dan
> 
> --
> T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
>            data intensive web and database programming
>                http://www.AnalysisAndSolutions.com/
> 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409
> _______________________________________________
> New York PHP Talk
> Supporting AMP Technology (Apache/MySQL/PHP)
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.newyorkphp.org
> 


-- 
.: Juancarlos :.

"Any fool can know. The point is to understand."
-Albert Einstein



More information about the talk mailing list