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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-29-2005, 02:48 AM
|
#1
|
Member
Registered: Apr 2005
Location: india
Distribution: Redhat 9
Posts: 66
Rep:
|
php-mysql error
redhat -9 . php-4.2.2. mysql - 4.1.11. php was already pre-installed while installing redhat . recently, i installed mysql . now, when i am accessing a php web page in a project, the message Fatal error: Call to undefined function: mysql_connect() is displayed in the browser. what next ? should i erase the old php using # rpm -e --nodeps php-x.x.x and install updated php version from source ?? pliz help asap. thanx
|
|
|
04-29-2005, 03:09 AM
|
#2
|
Member
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632
Rep:
|
Now as I remember the database functionality must be installed with Apache (the web server).
Cant remember but I think it is a module that you can install. Insert the CD and go to the Webserver section and install mysql support for Apache.
|
|
|
04-29-2005, 03:13 AM
|
#3
|
Member
Registered: Mar 2005
Location: Chennai, India
Distribution: Ubuntu, CentOS
Posts: 72
Rep:
|
this is a usual error for all RedHat users. while upgraing MySQL you should install the MySQL-shared-3.23.58-1.i386.rpm instead of the latest one comes with MySQL 4.1 all other can be from 4.1 tree.
|
|
|
04-29-2005, 04:37 AM
|
#4
|
Member
Registered: Apr 2005
Location: india
Distribution: Redhat 9
Posts: 66
Original Poster
Rep:
|
hi jax8,
thanx for ur reply.
is it actually mysql support for php or mysql support for apache ??? i hope php should b installed alongwith mysql compilation. for ex- # ./configure --with-mysql= .
|
|
|
04-29-2005, 04:40 AM
|
#5
|
Member
Registered: Apr 2005
Location: india
Distribution: Redhat 9
Posts: 66
Original Poster
Rep:
|
hii
hi apsivam,
thanx for ur reply. actually i always prefer source ( tar.gz) instead of rpm. so, was n't the shared library in the source of mysql ???
|
|
|
All times are GMT -5. The time now is 09:59 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|