Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
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.
hi,i got mysql working but i cant get it working with php,when i try to install phpbb2,i get this error:
The PHP configuration on your server doesn't support the database type that you chose
anyone know what i have to do?thanks
Install details? You show RH8 as your distro. Did you install both PHP and MySQL as part of Redhat 8 or did you go download and build them or something else? The copies included on the RH8 CDs work together as-is. Redhat does package the portion of PHP that includes the MySQL drivers as a separate package. Make sure this is installed: php-mysql-4.2.2-8.0.5
Other than that, create a simple PHP program that does
phpinfo();
and search the output HTML for mysql and see what you see...
There is an entire section on MySQL not present in your phpinfo that I see on other servers. The php-msyql is an RPM installed package. Search for it in a shell:
# rpm -qa | grep -i php
That will show you all installed packages with php in the name. My guess is it won't be installed...
ok i downloaded that rpm off redhat.com,now the shell script looks like this:
php-imap-4.2.2-8.0.5
php-4.2.2-8.0.5
php-ldap-4.2.2-8.0.5
php-mysql-4.2.2-8.0.5
it should work now right?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.