LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-25-2004, 02:00 PM   #1
cidrolin
Member
 
Registered: Jul 2004
Distribution: Fedora c2
Posts: 89

Rep: Reputation: 15
php5 and MySQL 4.1 under Fedora C2


I am trying to get php5 to wotk with Apache 2 and MySQL 4.1 on my Fedora C2 laptop.

So far, Apache works fine, as well as MySQL. I have compiled php5 and it runs proprely, except for the MySQL extension. It doesn't appear in the phpinfo() and when phpMyAdmin tries to connect it says it tried to load the extension but failed.

php5 was copiled with --with-mysql, but not --with-mysqli : I can't find the mysql_config file which is necessary to compile with mysqli, although I have installed all mysql rpms (server, client, shared, devel and bench).

Any clue someone ?
 
Old 12-26-2004, 04:06 AM   #2
jacks4u
Member
 
Registered: Dec 2004
Location: Phoenix, Arizona, USA
Distribution: Debian, RedHat, ???
Posts: 56

Rep: Reputation: 15
Do you have the php module for mysql? without that, php doesn't know how to talk tto mysql.

Something like php-mysql. For Debian Woody (the distro that I use, with php4 the module is called 'php4-mysql'. I'll assume (perhaps incorrectly?) that there is an RPM for the php5-mysql???
 
  


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
PHP5-MySQL Not Connecting Through Socket oxblood Linux - Software 5 03-15-2010 06:53 PM
php5 and mysql eric_f Slackware 2 10-05-2006 09:19 AM
configure php5 and mysql issue jiawj Programming 1 08-17-2005 04:34 PM
Error compiling PHP5 with MySQL Boby Linux - Software 3 09-10-2004 10:17 PM
MySQL - PHP5 - phpMyAdmin 2.6.0 Fuel Linux - Software 2 07-25-2004 02:39 PM

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

All times are GMT -5. The time now is 10:56 PM.

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