chrooted apache; php as dso; mysql outside jail
| From: | Calin Damian | Date: | Tue, 16 Apr 2002 13:55:40 +0000 |
| Subject: | chrooted apache; php as dso; mysql outside jail | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-6650@lists.php.net to get a copy of this message | ||
hi,
I tried to configure a chrooted web server (apache) with php.
Everything works fine except mysql support builtin in php which fails to work
on localhost mysql server.
The problem: for local connections "mysql_connect" php's function tries to
locate /var/lib/mysql/mysq.sock socket file.
I do not want to use mysql's socket file not even for local connections
because of chrooted instalation.
Is there any option to force php to use tcp/ip connections even when host is
localhost ?
--
..:::: Calin Damian - ICQ 98228007
..:: Project Leader, Matrix Works