I'm having a hard time getting PHPBB installed on Centos. We get the error that The PHP configuration on your server doesn't support the database type that you chose. We choose MySQL 3.x but get that error. Perhaps PHP4 isn't compatible with MySQL 3.23.58-1?
-- <<JAV>>
Joe Polk wrote:
I'm having a hard time getting PHPBB installed on Centos. We get the error that The PHP configuration on your server doesn't support the database type that you chose. We choose MySQL 3.x but get that error. Perhaps PHP4 isn't compatible with MySQL 3.23.58-1?
This means that php is lacking mysql support.
Try doing something like:
#> yum install php-mysql
This will add support for mysql to your installation, assuming it's the default rpm installation. php4 and mysql 3.23 is the most popular combination of programing language and db version on the planet.
Jonathan
You may want to try something like:
yum install php-mysql.i386
Sounds like there is no mysql support installed for php.
cya, TR
On Thursday 14 April 2005 16:36, Joe Polk wrote:
I'm having a hard time getting PHPBB installed on Centos. We get the error that The PHP configuration on your server doesn't support the database type that you chose. We choose MySQL 3.x but get that error. Perhaps PHP4 isn't compatible with MySQL 3.23.58-1?
-- <<JAV>>
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
---------- Original Message ----------- From: Todd Rittinger lists@tlcsolutions.ca To: CentOS mailing list centos@centos.org Sent: Thu, 14 Apr 2005 17:04:10 -0400 Subject: Re: [CentOS] PHPBB+Centos
You may want to try something like:
yum install php-mysql.i386
Already installed php-mysql, restarted mysql but still get the error.
-- <<JAV>>
Am Do, den 14.04.2005 schrieb Joe Polk um 22:59:
Already installed php-mysql, restarted mysql but still get the error.
<<JAV>>
You need to restart Apache2, not the MySQL server, to make the freshly install php-mysql RPM active. General, be aware of SELinux.
Alexander
Alexander Dalloz wrote:
Am Do, den 14.04.2005 schrieb Joe Polk um 22:59:
Already installed php-mysql, restarted mysql but still get the error.
You need to restart Apache2, not the MySQL server, to make the freshly install php-mysql RPM active. General, be aware of SELinux.
Alexander:
You took the words out of my mouth on SELinux. Never have we had more problems getting stuff working in any linux distro than we have with CentOS 4 with SELinux on.
service httpd restart and see what happens amigo. The post.
J
Am Do, den 14.04.2005 schrieb Jonathan um 23:25:
Alexander:
You took the words out of my mouth on SELinux. Never have we had more problems getting stuff working in any linux distro than we have with CentOS 4 with SELinux on.
J
Jonathan, I didn't want to say Joe would or should disable SELinux. My intention was just to remark that SELinux interferes with Apache content. I.e. having the wrong context set will prevent Apache from delivering the pages. You will then see avc / audit messages in the syslog (messages file). There is some documentation (RHEL 4 documentation, Fedora Core docs) about SELinux and how to handle it. SELinux is a great tool for security improvement. No surprise that you have to adjust things which are not part of the distribution to work with the security limitations. Said that, it is not trivial.
Alexander
SELinux is a great tool for security improvement. No surprise that you have to adjust things which are not part of the distribution to work with the security limitations. Said that, it is not trivial.
We're on the same page. It's the best tool nobody can figure out to use effectively I've ever worked with. ;-)
J
On 4/14/05, Joe Polk listuser@javelinux.com wrote:
---------- Original Message ----------- From: Todd Rittinger lists@tlcsolutions.ca To: CentOS mailing list centos@centos.org Sent: Thu, 14 Apr 2005 17:04:10 -0400 Subject: Re: [CentOS] PHPBB+Centos
You may want to try something like:
yum install php-mysql.i386
Already installed php-mysql, restarted mysql but still get the error.
How about restarting apache/php?
Greg
I'm having a hard time getting PHPBB installed on Centos. We get the error that The PHP configuration on your server doesn't support the database type that you chose. We choose MySQL 3.x but get that error. Perhaps PHP4 isn't compatible with MySQL 3.23.58-1?
I think it's not a problem of compatibility PHP4 with MySQL 3.x
Few weeks ago I had a problem to access PostgreSQL database from the PHP on CentOS 4. I changed database username to the name httpd use to work in system - just "apache". After that I could run my PHP scripts.
Regards.
I'm having a hard time getting PHPBB installed on Centos. We get the error that The PHP configuration on your server doesn't support the database type that you chose. We choose MySQL 3.x but get that error. Perhaps PHP4 isn't compatible with MySQL 3.23.58-1?
I think it's not a problem of compatibility PHP4 with MySQL 3.x
Few weeks ago I had a problem to access PostgreSQL database from the PHP on CentOS 4. I changed database username to the name httpd use to work in system - just "apache". After that I could run my PHP scripts.
And leave MySQL from CentOS distro.