Take a look at the line:
$link =
mysql_connect('flms', 'userid', 'password') //appears
to stop here
the first argument to mysql_connect
is a host, where your mysql server is running. If your mysql server is
the same computer where php is running, this might be 'localhost'.
Otherwise, use IP n
parameters to your configure script:
--with-mysql[=DIR] Include MySQL support. DIR is the MySQL base
directory
--with-mysql-sock[=DIR] MySQL: Location of the MySQL unix socket
pointer.
If unspecified, the default locations are
searched
Donatas Vyzas
Blanton, Bob
There's a typo in your configure command:
Use
--with-apxs2=/usr/local/apache2/bin/apxs
instead of
--with-apx2=/usr/local/apache2/bin/apxs
And also I am not sure if PHP configure has a keyword --enable-so.
Donatas
-Original Message-
From: Gustavo Mateus [mailto:[EMAIL PROTECTED]
Sent:
Hi!
I am building php-5.1.2 on a HP-UX 11.0 with apache 2.2.0. My php
configure script is :
LDFLAGS=-lsec ./configure --with-gettext --with-dom --with-pgsql
--with-mcrypt --with-iconv --enable-mbstring=all --enable-mbregex
--with-gd --with-png-dir --with-jpeg-dir --with-mime-magic
--with-