LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-16-2005, 07:49 AM   #1
andrew007
LQ Newbie
 
Registered: Apr 2005
Location: Italy
Distribution: Slackware
Posts: 5

Rep: Reputation: 0
Apache+php+mysql


hi..
I have installed phpMyAdmin-2.6.2 on my Slackware 10.1, but when I try to access to localhost/phpMyAdmin/index.php I have the error:

cannot load mysql extension;
please check PHP configuration

On the web I have find that is necessary to set the extension in /etc/apache/php.ini file, so I have set:

extension=mysql.so
extension_dir= "/usr/lib/php/extensions/"


but the problem persist..

The version of packages are:
apache-1.3.33
mysql-4.1.11
php-4.3.11

help me!!

Thanks..

Bye
 
Old 05-16-2005, 07:52 AM   #2
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
check your /etc/apache/error_log file for error messages. As for mysql and php support, its different in Apache 1.x than 2.x. If you want, my guide can help you sort it out for Apache 2.x

http://www.linuxquestions.org/questi...ware+guide+amp
Sorry for not actually answering the question though..
 
Old 05-16-2005, 08:14 AM   #3
andrew007
LQ Newbie
 
Registered: Apr 2005
Location: Italy
Distribution: Slackware
Posts: 5

Original Poster
Rep: Reputation: 0
Is apache 1.3.3 incompatible with php4.3.11??
How can I solve my problem??

thanks
 
Old 05-16-2005, 11:32 AM   #4
andrew007
LQ Newbie
 
Registered: Apr 2005
Location: Italy
Distribution: Slackware
Posts: 5

Original Poster
Rep: Reputation: 0
Hi.....
I have installed apache2 and php5..
The problem is solved!!!


Now can I delete the directory /etc/apache ?

Thanks

Last edited by andrew007; 05-16-2005 at 11:41 AM.
 
Old 05-16-2005, 11:50 AM   #5
nukey
Member
 
Registered: Dec 2004
Location: Netherlands
Distribution: Slackware
Posts: 173

Rep: Reputation: 30
I have Apache 1.3.33 with PHP 4.3.11 and with MySQL 4.0.24 working just fine

Maybe if you re-installed apache and php and mysql with the slackware-packages your problem would also have been solved.
 
  


Reply



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
Apache, Php, Mysql Mannyakatheman Mandriva 10 04-14-2005 07:09 AM
Apache/PHP/MySQL brokenflea Slackware 9 10-29-2004 12:16 AM
Apache Mysql Php: mysql with php doesn't work breakerfall Linux - Networking 6 12-27-2003 08:59 PM
php-nuke with apache php mysql c0c0deuz Linux - Software 0 03-30-2003 06:23 AM
Apache/MySQL/PHP c0c0deuz Linux - General 2 05-18-2002 03:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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