LinuxQuestions.org
Review your favorite Linux distribution.
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 12-02-2004, 04:44 AM   #1
JJX
Member
 
Registered: Mar 2004
Location: Greece
Distribution: Debian
Posts: 351

Rep: Reputation: 31
apache2 & mysql


I am trying to install apache2 with php/mysql support

So:
apt-get install mysql-client mysql-server
apt-get install apache2 libapache2-mod-auth-mysql libapache-mod-php4

I loaded auth_mysql module.
However , apache cant use mysql.

After googling i found that i should edit /etc/php4/apache2/php.ini
enabling "extension=mysql.so"

Done, restart apache and i get this error to the logs:


PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/20020429/mysql.so' - /usr/lib/php4/20020429/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0


Any idea how to fix this??
 
Old 12-02-2004, 07:16 AM   #2
JJX
Member
 
Registered: Mar 2004
Location: Greece
Distribution: Debian
Posts: 351

Original Poster
Rep: Reputation: 31
apt-get install php4-mysql

fixed
 
  


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
apache2 & tomcat5 - how to configure VIRTUAL HOSTS & JSP? nicolasdiogo SUSE / openSUSE 2 04-05-2007 09:06 AM
mysql 5.0.3 and Apache2 question bshearer *BSD 2 05-15-2005 02:51 AM
SuSE 9.2 - apache2 & tomcat5 - how to configure VIRTUAL HOSTS & JSP? nicolasdiogo Linux - Networking 2 03-20-2005 08:06 AM
mysql and apache2 compu73rg33k Linux - Software 7 02-08-2005 05:37 PM
Apache2, MySQL & PHP Web Server. FTP Needed! Bobson Linux - Networking 4 02-07-2005 04:25 PM

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

All times are GMT -5. The time now is 02:22 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