LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-16-2003, 06:48 AM   #1
spako
LQ Newbie
 
Registered: Aug 2003
Location: Cape Town, South Africa
Distribution: Redhat7.3 via SSH
Posts: 11

Rep: Reputation: 0
php-mysql-apache


hi

i am trying to get php working with mysql for an apache web server.

I am using an SSH connection to make modifications and have RedHat 7.3 installed.I am using rpm's not source.

I also have MySQL 4.0.14 installed, apache 1.3.27 and php 4.1.2.

I tried to install php-mysql-4.1.2-7 but it gave me this:
# rpm -i php-mysql-4.1.2-7.i386.rpm
error: failed dependencies:
libmysqlclient.so.10 is needed by php-mysql-4.1.2-7

So i installed MySQL-shared-4.0.14 which has libmysqlclient.so.12 but still the same error when tring to install php-mysql.

I have tried to install a higher version of php but that requires a newer version of glibc. I cant seem to get glibc upgraded at all.

the reason why this all started is because php gave my an error:
Fatal Error mysql_connect() unknown function
or something like that

please help i am a linux newbie
 
Old 08-16-2003, 08:05 AM   #2
spako
LQ Newbie
 
Registered: Aug 2003
Location: Cape Town, South Africa
Distribution: Redhat7.3 via SSH
Posts: 11

Original Poster
Rep: Reputation: 0
i solved the problem myself
i had to load old libraries with MySQL-shared-compat
then i could install php-mysql

and now i can access mysql via php/apache!!!
 
  


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
apache _ php +mysql rmocius@auste.e Slackware 0 03-02-2004 10:49 AM
Apache Mysql Php: mysql with php doesn't work breakerfall Linux - Networking 6 12-27-2003 09:59 PM
Apache+Mysql+php c0c0deuz Linux - Software 0 08-14-2003 03:14 PM
php-nuke with apache php mysql c0c0deuz Linux - Software 0 03-30-2003 07:23 AM
PHP, MySQL and Apache miker Linux - Newbie 1 03-27-2002 02:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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