Re: PHP cannot see Mysql?! Ideas?
- From: Jerry Stuckle <jstucklex@xxxxxxxxxxxxx>
- Date: Mon, 22 Oct 2007 06:56:10 -0400
David wrote:
"Jerry Stuckle" <jstucklex@xxxxxxxxxxxxx> wrote in message news:NNadndPIhYmfD4banZ2dnUVZ_qbinZ2d@xxxxxxxxxxxxxxDavid wrote:"Jerry Stuckle" <jstucklex@xxxxxxxxxxxxx> wrote in message news:-pmdndvXZq8_xYbanZ2dnUVZ_vPinZ2d@xxxxxxxxxxxxxxJust what I asked. Is the mysql client dll in a place where PHP can get to it - i.e. in the php extension directory, a directory in your path, etc.David wrote:Note quite sure what youre asking. Mysql is loaded and working but php cant see/use it"Jerry Stuckle" <jstucklex@xxxxxxxxxxxxx> wrote in message news:WdmdnereK_jyLIfanZ2dnUVZ_vXinZ2d@xxxxxxxxxxxxxxWhat about the rest of my question?David wrote:I uncommented bothI have php and mysql both working seperately but not togetherThis means the MySQL extension isn't being loaded.
<?php phpinfo(); ?> - Shows everything working fine but no mention of
Mysql in it.
Mysql is setup and working properly. Users and databases all connect fine
All my PHP scripts which have mysql connection info just show as a blank
page. No error messages.
Any ideas?!. Would appreciate any input, its driving my crazy.
Did you enable the mysql extension in your php.ini? Is it loading properly?
And is the mysql client .dll (windows) or .so (UNIX) available to be loaded.
extension=php_mysql.dll
extension=php_mysqli.dll
in php.ini.
I'm using Windows. Any ideas how to locate the problem?
Yes. php_mysql.dll etc are all in my /ext directory
php_mysql.dll is not the MySQL client library. It is a PHP DLL.
The MySQL client libraries are shipped with MySQL and have names like mysqlxxx.dll. You will find them in the MySQL directory hierarchy.
These must also be accessible to PHP.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.
- References:
- PHP cannot see Mysql?! Ideas?
- From: David
- Re: PHP cannot see Mysql?! Ideas?
- From: Jerry Stuckle
- Re: PHP cannot see Mysql?! Ideas?
- From: David
- Re: PHP cannot see Mysql?! Ideas?
- From: David
- PHP cannot see Mysql?! Ideas?
- Prev by Date: Re: PHP cannot see Mysql?! Ideas?
- Next by Date: Session problem
- Previous by thread: Re: PHP cannot see Mysql?! Ideas?
- Next by thread: Re: PHP cannot see Mysql?! Ideas?
- Index(es):
Relevant Pages
|