Re: PHP cannot see Mysql?! Ideas?




"Jerry Stuckle" <jstucklex@xxxxxxxxxxxxx> wrote in message
news:NNadndPIhYmfD4banZ2dnUVZ_qbinZ2d@xxxxxxxxxxxxxx
David wrote:
"Jerry Stuckle" <jstucklex@xxxxxxxxxxxxx> wrote in message
news:-pmdndvXZq8_xYbanZ2dnUVZ_vPinZ2d@xxxxxxxxxxxxxx
David wrote:
"Jerry Stuckle" <jstucklex@xxxxxxxxxxxxx> wrote in message
news:WdmdnereK_jyLIfanZ2dnUVZ_vXinZ2d@xxxxxxxxxxxxxx
David wrote:
I have php and mysql both working seperately but not together

<?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.
This means the MySQL extension isn't being loaded.

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.

I uncommented both

extension=php_mysql.dll
extension=php_mysqli.dll

in php.ini.

I'm using Windows. Any ideas how to locate the problem?




What about the rest of my question?


Note quite sure what youre asking. Mysql is loaded and working but php
cant see/use it

Just 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.



Yes. php_mysql.dll etc are all in my /ext directory


.



Relevant Pages

  • Re: I am totally stumped..with this on..LOAD_FILE Mysql+PHP= FSCK!!
    ... What I am trying to do is to upload files and stuff them in a mysql database. ... I copied the temporary file to somewhere else, and then handed it to MySQL..THAT WORKED.. ... Is there a way to force a close on the file..maybe that's the problem Mysql is opening a file that is not flushed to disk maybe? ... I gew the feeling its maintaining its own picture of file objects, and doesn't actually flush to the disk unless you do a copy or close php.. ...
    (comp.lang.php)
  • Re: I am totally stumped..with this on..LOAD_FILE Mysql+PHP= FSCK!!
    ... What I am trying to do is to upload files and stuff them in a mysql database. ... I copied the temporary file to somewhere else, and then handed it to MySQL..THAT WORKED.. ... Is there a way to force a close on the file..maybe that's the problem Mysql is opening a file that is not flushed to disk maybe? ... I gew the feeling its maintaining its own picture of file objects, and doesn't actually flush to the disk unless you do a copy or close php.. ...
    (comp.lang.php)
  • Re: com_dotnet
    ... And if MySQL isn't installed, the DLL won't load and phpinfowill show MySQL support isn't enabled. ... The MySQL interface is NOT compiled into PHP on the distributed Windows binaries - or you'd never be able to run PHP unless you had MySQL installed. ... *SOME* extensions are protocols, some are functional resources, and some are just type libraries. ... If you're going to compile the extension into PHP itself, the libraries must be available at compile time, and when you run PHP, or PHP won't load. ...
    (comp.lang.php)
  • Re Re: PHP 5.2.4 <= various mysql functions safemode & open_basedir bypass
    ... > various mysql functions safemode & open_basedir bypass ... PHP is currently very used because it's easy to use. ... Apache has directory restrictions. ... # if the mysql user has perms, ...
    (Bugtraq)
  • Re: question about playlist
    ... I have a dynamic playlist, playlist_1.asx, created by a php script from a ... the mysql table contain information about: ... movie near to the playing movie, and when change the movie, contextually ... Change the information in the *database* table, or in the HTML table? ...
    (microsoft.public.windowsmedia.server)