php-install Digest 16 Jul 2001 00:59:56 -0000 Issue 364
Topics (messages 3561 through 3564):
Re: Configuration Error!
3561 by: Brian Clark
3562 by: James Tan
3563 by: Steve Brazill
Problems getting php to load of apache 1.3.19 under Windows Millenium Edition
3564 by: Emerald Shop
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
I am not sure, but here is the debug.log since it looks like it did not send right on
my first message.
CONFIGURE: './configure' '--with-mysql=/usr/local/mysql-3.22.32-pc-linux-gnu-i686/'
'--with-apxs=/usr/local/apache_1.3.12/bin/apxs'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS:
CXX:
CXXFLAGS:
INCLUDES: -I/usr/local/apache_1.3.12/include -I$(top_builddir)/Zend -I$(top_srcdir)
-I/usr/local/mysql-3.22.32-pc-linux-gnu-i686//include
LDFLAGS: -Wl,-rpath,/usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql
-L/usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql
LIBS: -lmysqlclient -lpng -lz -lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql
uname -a: Linux bc1 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000 i686 unknown
gcc -o conftest -g -O2
-Wl,-rpath,/usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql
-L/usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql conftest.c -lmysqlclient -lpng
-lz -lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv 1>&5
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
----- Original Message -----
From: Steve Brazill
To: Brian Clark
Cc: [EMAIL PROTECTED]
Sent: Saturday, July 14, 2001 10:26 PM
Subject: Re: [PHP-INST] Configuration Error!
Is the 'configuration error' the fact that you're using a very old (and exploitable)
version of Apache ?
----- Original Message -----
From: Brian Clark
To: [EMAIL PROTECTED]
Sent: Saturday, July 14, 2001 6:36 PM
Subject: [PHP-INST] Configuration Error!
OS: Red Hat 7.0
Apache: 1.3.12
MySql: 3.22.32
dear brian clark..
did u point --with-mysql to the source of the distribution??
or did u point to the prefix of mysql installed?
pls point to the prefix of mysql installed on...
else, u can simply --with-mysql without any parameter for it...
hope it helps,
regards,
James
Brian Clark wrote:
> I am not sure, but here is the debug.log since it looks like it did not send right
>on my first message.
>
> CONFIGURE: './configure' '--with-mysql=/usr/local/mysql-3.22.32-pc-linux-gnu-i686/'
>'--with-apxs=/usr/local/apache_1.3.12/bin/apxs'
>
> CC: gcc
>
> CFLAGS: -g -O2
>
> CPPFLAGS:
>
> CXX:
>
> CXXFLAGS:
>
> INCLUDES: -I/usr/local/apache_1.3.12/include -I$(top_builddir)/Zend -I$(top_srcdir)
>-I/usr/local/mysql-3.22.32-pc-linux-gnu-i686//include
>
> LDFLAGS: -Wl,-rpath,/usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql
>-L/usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql
>
> LIBS: -lmysqlclient -lpng -lz -lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv
>
> DLIBS:
>
> SAPI: apache
>
> PHP_RPATHS: /usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql
>
> uname -a: Linux bc1 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000 i686 unknown
>
> gcc -o conftest -g -O2
>-Wl,-rpath,/usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql
>-L/usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql conftest.c -lmysqlclient
>-lpng -lz -lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv 1>&5
>
> /usr/bin/ld: cannot find -lmysqlclient
>
> collect2: ld returned 1 exit status
>
> ----- Original Message -----
> From: Steve Brazill
> To: Brian Clark
> Cc: [EMAIL PROTECTED]
> Sent: Saturday, July 14, 2001 10:26 PM
> Subject: Re: [PHP-INST] Configuration Error!
>
> Is the 'configuration error' the fact that you're using a very old (and
>exploitable) version of Apache ?
> ----- Original Message -----
> From: Brian Clark
> To: [EMAIL PROTECTED]
> Sent: Saturday, July 14, 2001 6:36 PM
> Subject: [PHP-INST] Configuration Error!
>
> OS: Red Hat 7.0
> Apache: 1.3.12
> MySql: 3.22.32
I usually perform the following steps to add "libmysqlclient" to the area
'read' by other programs looking for libraries... (others prefer to add the
mysql 'lib' area to the LIBPATH) I think the version you'll have with
mysql.3.22.xx is "libmysqlclient.so.4", but you should check...
system:/opt/install/mysql-3.23.39> cd /usr/lib
system:/usr/lib> ln -s /usr/local/mysql/lib/mysql/libmysqlclient.so.10
----- Original Message -----
From: "Brian Clark" <[EMAIL PROTECTED]>
To: "Steve Brazill" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, July 15, 2001 7:05 AM
Subject: Re: [PHP-INST] Configuration Error!
I am not sure, but here is the debug.log since it looks like it did not send
right on my first message.
CONFIGURE: './configure'
'--with-mysql=/usr/local/mysql-3.22.32-pc-linux-gnu-i686/'
'--with-apxs=/usr/local/apache_1.3.12/bin/apxs'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS:
CXX:
CXXFLAGS:
INCLUDES: -I/usr/local/apache_1.3.12/include -I$(top_builddir)/Zend -I$(top_
srcdir) -I/usr/local/mysql-3.22.32-pc-linux-gnu-i686//include
LDFLAGS: -Wl,-rpath,/usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql -L
/usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql
LIBS: -lmysqlclient -lpng -lz -lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql
uname -a: Linux bc1 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000 i686 unknown
gcc -o
conftest -g -O2 -Wl,-rpath,/usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/m
ysql -L/usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql
conftest.c -lmysqlclient -lpng -lz -lgd -lresolv -lm -ldl -lcrypt -lnsl -lre
solv 1>&5
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
----- Original Message -----
From: Steve Brazill
To: Brian Clark
Cc: [EMAIL PROTECTED]
Sent: Saturday, July 14, 2001 10:26 PM
Subject: Re: [PHP-INST] Configuration Error!
Is the 'configuration error' the fact that you're using a very old (and
exploitable) version of Apache ?
----- Original Message -----
From: Brian Clark
To: [EMAIL PROTECTED]
Sent: Saturday, July 14, 2001 6:36 PM
Subject: [PHP-INST] Configuration Error!
OS: Red Hat 7.0
Apache: 1.3.12
MySql: 3.22.32
Hi there,
PLEASE HELP!,
I'm running windows Me, I installed Apache 1.3.19 first, I tested it
with a html file, it works just fine. Then I installed PHP4, using the
windows installer version, then I followed the instructions and unzipped
the zip version into the folder c:\php, I then added the following commands
to the httpd.conf :
#for the cgi binary (you can use that one compiled with force cgi redirect
too)
ScriptAlias /php4/ "C:/php/"
Action application/x-httpd-php4 "/php4/php.exe"
AddType application/x-httpd-php4 .php
#I put this in
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php .phtml
Action application/x-httpd-php "/php/php.exe"
#I put this in
LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php .phtml
After this I reloaded the apache server, it says this when it loads :
"Apache/1.3.19 <Win32> running..."
so it seems as if I should be able to view php files off of the apache web
server, but it doesn't work, when I go to a test page with a VERY
simple php script :
<html>
<head>
<title>Hello World</title>
</head>
<body>
<? echo phpinfo() ?>
</body>
</html>"
The page loads nothing but blank white there's something wrong with the
script but I got it from the php.net tutorial.
All I really NEED from this apache server is the ability to test .php files
as I learn PHP.
Thank you very much for your cooperation.
Best regards,
Emerald Shop
Eng. Aldemar Martin B.
Manager
Calle 22 #20-26
Santa Fe de Bogota, D.C. - COLOMBIA
Phone: (571) 562 29 11
Fax: (571) 268 45 60
email: [EMAIL PROTECTED]