Kang-Ling Weng wrote:
> Hello everyone,
>
> I am new in PHP and I am trying to configure php with
> apache 2.0.35 and postgresql with this command:
>
> ./configure --with-pgsql=/usr/include/postgresql/
> --with-apache=/root/httpd-2.0.35 (look at the end of the mail for the
> output)
>
F.Lanza wrote:
Little add to my precedent post:
the connection to mysql don't work only if the host of dbserver is
"localhost",
with remote db server all work.
Is this a bug of php?
Regards
Franco
> hi,
> I've been compiled today php 4.2.0 with apache 2.0.35,
Calin Damian wrote:
Hi,
I have the same configuration, apache and php in a chroot, and mysql out of
the jail.
I use for connetting to the db server simply the host in the /etc/hosts
file in the chroot, and this host is the external ip of the machine, and
all works fine.
Regards
Franco
>
hi,
I've been compiled today php 4.2.0 with apache 2.0.35, apache compiled
with DSO support and php with --with-mysql=/path , --with-apxs=/path and
--disable-posix.
php seems work fine, but all the connection to an mysql database don't work.
anyone have an idea?
tnx and Regards
Franco
--
P
?ln wrote:
> Hi!
> I didn't find answers on this quiestion in archive.
> I want to configure php-4.1.2 with apache-2.0.35.
> ./configure --with-mysql --with-apache=../httpd-2.0.35 --enable-ftp
> and it crushes.
> configure: error: Invalid Apache directory - unable to find httpd.h under
>