Linux.com

Author Message
Joined: Apr 17, 2008
Posts: 1
Other Topics
Posted Apr 17, 2008 at 10:29:32 PM
Subject: RHEL5/PHP/MySQL problem

Hi I've just upgraded a server to RHEL5 which I'm trying to configure as a LAMP.
My problem is that php is not working with mysql (phpinfo is reporting '--without-mysql' ).

does anyone know how I can get these two talking? I'm quite new to the dev side but have had it working fine on FC5 and RH7

Any suggestions would be greatly appreciated

Back to top Profile Email Website
Shashank Sharma
Joined Jan 01, 1970
Posts: 1213
Location:New Delhi, India

Other Topics
Posted: Apr 22, 2008 2:18:01 PM
Subject: RHEL5/PHP/MySQL problem

How did you install php and mysql? And what version of each are you running?

Did you install mysql-server? Install mysql-server and start mysqld.

Coauthor of Beginning Fedora: From Novice to Professional published by Apress.

Please follow the Forum Guidelines

Back to top Profile Email Website Yahoo!
Anthony Robbins

Joined May 06, 2008
Posts: 22

Other Topics
Posted: May 06, 2008 4:11:32 PM
Subject: RHEL5/PHP/MySQL problem

The package you need to install is most likely called "php-mysql"
You will also need "MySQL-client"
In any case, "yum search php mysql" should get you the relevant packages.

Back to top Profile Email Website
Peter
Joined May 16, 2008
Posts: 25

Other Topics
Posted: May 16, 2008 2:02:37 PM
Subject: RHEL5/PHP/MySQL problem

Quote:
search php mysql" should get you the relevant packages.

...or, for faster results, he could take the easy and lazy way: "yum install mysql*"

~ R

Back to top Profile Email Website
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya