LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-25-2004, 02:45 PM   #1
vladimir-dk
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Debian, FreeBSD
Posts: 53

Rep: Reputation: 15
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...
 
Old 06-25-2004, 02:47 PM   #2
andrewlkho
Member
 
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 31
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?
 
Old 06-25-2004, 03:04 PM   #3
vladimir-dk
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Debian, FreeBSD
Posts: 53

Original Poster
Rep: Reputation: 15
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 :/
 
Old 06-25-2004, 10:13 PM   #4
Qzukk
Member
 
Registered: Jun 2003
Posts: 132

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Verifying apache module loading/functioning merana Linux - Software 0 02-23-2005 12:23 PM
slow loading pages with Apache/MySQL dmedici Fedora 0 07-20-2004 12:49 PM
Apache MySQL module vladimir-dk Linux - Software 8 04-01-2004 02:39 AM
Loading Apache module question ?? wellsaj Linux - Software 2 11-05-2003 03:56 AM
Finding Module Dependencies...(Still loading...still loading..still loading..HANG!!!) Aeudian Linux - General 3 08-11-2003 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration