Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

Rep: Reputation: 0


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: is needed by php-mysql-4.1.2-7

So i installed MySQL-shared-4.0.14 which has 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, 07:05 AM   #2
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!!!


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

All times are GMT -5. The time now is 03:58 PM.

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