Trouble with loading MySQL module on Apache
Im having trouble loading the MySQL module with my Apache server, these are the modules I have loadet.
mod_php4, mod_setenvif, mod_unique_id, mod_expires, mod_auth, mod_access, mod_rewrite, mod_alias, mod_userdir, mod_cgi, mod_dir, mod_autoindex, mod_status, mod_negotiation, mod_mime, mod_mime_magic, mod_log_config, mod_macro, mod_so, http_core I have installed it with apt-get install php4-mysql plz help anyone... |
What's the problem? MySQL is nothing to do with apache, you just need to make sure that PHP knows where MySQL is. Does your MySQL work? What happens when you try to use PHP to connect?
|
I have a coppermine gallery and I'm using and extern MySQL database at another server. My PHP works fine (PHP Version 4.3.4) But my index.php only show a blank page and last time when I was running Fedora Core 1 as OS it worked when the MySQL module was loaded
This is where i downloaded it: http://coppermine.sourceforge.net/ It has worked fine on the server when i was running PHP3 - I think it was :/ |
Check whatever php script you're using and remove all the @ from before the mysql commands. This will make it tell you whatever error its getting instead of just giving you a blank page.
If you've just installed this, you probably either need to edit your php.ini file to load the mysql module, or you need to load it manually at the top of your scripts with the dl() function. This is the problem if you get unknown function errors after un-hiding the errors. |
All times are GMT -5. The time now is 05:48 AM. |