You are not logged in.

#1 2010-02-19 13:49:31

daJense
Member
Registered: 2009-05-17
Posts: 45

[Solved] Can't get php-mysql extenstion working

Hi,
I have been trying to setup typo3 and phpmyadmin. But I just can't get the php mysql extrension working.
- /etc/php/php.ini

extension=mcrypt.so
extension=mysql.so
extension=mysqli.so

are enabled.

- /etc/hosts reads

127.0.0.1 localhost.localdomain localhost

(hostname in rc.conf is localhost
- /etc/hosts.allow reads

mysqld: ALL : ALLOW
mysqld-max: ALL : ALLOW

- skip-networking in /etc/mysql/my.cnf is enabled

Of course mysqld and httpd are running. I really don't get what I am doing wrong. Any ideas?

Thx

Edit: Don't know what it was, but something messed up the linebrakes in php.ini, moving the ;, thus uncommenting a punch of stuff causing errors..

Last edited by daJense (2010-02-19 15:22:02)

Offline

#2 2010-02-19 15:22:10

penguin.powered
Member
Registered: 2010-01-20
Posts: 9

Re: [Solved] Can't get php-mysql extenstion working

What error are you getting when you try to connect to MySQL from PHP?

Offline

Board footer

Powered by FluxBB