On Wed, Aug 16, 2006 at 05:52:46PM +0200 or thereabouts, Paolo Pantaleo wrote:
> 2006/8/16, Stephen <stephen.d.allen@gmail.com>:
> >On Wed, Aug 16, 2006 at 05:24:44PM +0200 or thereabouts, Paolo Pantaleo
> >> Any suggestion?
> >
> >I suspect that php4-mysql isn't installed and/or activated.
> >
> >Therefore try 'aptitude install php4-mysql' or 'apt-get install
> >php4-mysql'.
>
> Well I installed php5 (and php5-mysql), should I use php4 (I have testing) ?
No.
I find it very strange that PHPMyAdmin will connect to the same host though.
This error you've received is indicative of PHP not able to connect to the
MySQL socket, so it's very strange that it works with PHPMyAdmin connecting
to the same host. Is the database on the same server as Apache ?
Sorry, I'm out of ideas.
--
Regards
Stephen