Download your favorite Linux distribution at LQ ISO.
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 12-12-2002, 01:58 PM   #1
LQ Newbie
Registered: Dec 2002
Location: Boston, MA
Distribution: RHEL
Posts: 8

Rep: Reputation: 0
Question Linux 8.0 installed with Apache 2.0, PHP and MySQL

I just built a new Linux 8.0 system and loaded the Apache 2.0 Server, PHP and MySQL Server with the install. I cannot seem to run any PHP MySQL Functions. I get this error:

Fatal error: Call to undefined function: mysql_connect()

Any ideas?
Old 12-12-2002, 02:13 PM   #2
Registered: May 2002
Location: Toronto, ON, Canada
Distribution: Ubuntu, Debian, RedHat/CentOS
Posts: 624

Rep: Reputation: 31
Open up the Package Manager application, and check out the PHP packages. There should be a package named "php-mysql" which you don't have installed. This package enables PHP to access MySQL servers.


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
how do i Know Apache PHP MYSQL Installed on my Dedicated Server? phpsharma Linux - Newbie 3 04-18-2005 06:40 PM
How do I tell yum/apt/rpm that I have hand built and installed apache/mysql/php BigDave Linux - Software 1 04-14-2005 03:51 PM
Upgrade MySQL from 3.23 to 4.0 on FreeBSD with PHP and Apache installed somah *BSD 2 10-07-2004 11:59 AM
installed apache, mysql -- help with php machiner Linux - Software 2 07-28-2004 02:36 PM
How do I know that apache, MySql, PHP, phpMyAdmin is Installed AskMe Linux - Newbie 7 02-04-2004 06:27 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:56 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration