php-install Digest 18 May 2002 01:26:16 -0000 Issue 840
Topics (messages 7015 through 7020):
Re: [PHP-DEV] PHP 4.2.1 build problems on Solaris (plus fix)
7015 by: Edin Kadribasic
Compile-problem
7016 by: Lars & Merete
problems with MySQL connection PHP 4.2.0
7017 by: Martin Tsachev
PHP/Apache on Unix and MS SQLServer on NT
7018 by: Chris Boget
Cannot make 4.2.1 on FreeBSD with domxml
7019 by: Rob Richards
Something wrong with PHP on my Apache webserver
7020 by: Philip Weiss
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]
----------------------------------------------------------------------
--- Begin Message ---
There is indeed a bug in autoconf 2.13, but autoconf 2.53 is even buggier.
It broke many things for people trying to install 4.2.0. The easy solution
for solaris users is to run:
CC=gcc ./configure ...
That should solve the problem.
Edin
----- Original Message -----
From: "Joerg Prante" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, May 17, 2002 10:42 AM
Subject: [PHP-DEV] PHP 4.2.1 build problems on Solaris (plus fix)
Hi,
I got into trouble building PHP 4.2.1 with the option
'--with-openssl=[myopenssldir]' on Solaris 2.8. The 'configure'
script failed with
checking for OpenSSL version... configure failed: openssl > 0.9.5 is
required
even if a correct version of openssl 0.9.6c exists. This is
a bug because PHP 4.2.0 will build without any problems using
exactly the same 'configure' parameters.
I discovered the build failure is due to the change of the autoconf version
from PHP 4.2.0 to PHP 4.2.1 that created the 'configure' script.
The result is that PHP 4.2.1 builds may fail on Solaris.
Here is my fix. You have to install the latest GNU m4/autoconf/automake
utilities from ftp.gnu.org on your Solaris machine and re-run
'autoconf' in the PHP 4.2.1 build directory to re-create a
correct 'configure' script.
I installed
GNU m4 1.4
GNU Autoconf 2.53
GNU Automake 1.6
Now, 'configure' will work as expected.
If this can be confirmed, a note in the INSTALL file would be appreciated.
Jörg Prante
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Hi...
I recently downloaded php 4.2.1, but I haven't succeded in compiling it yet:
./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs
make[1]: Entering directory `/usr/local/src/php-4.2.1'
/bin/sh /usr/local/src/php-4.2.1/libtool --silent --mode=link
gcc -I. -I/usr/local/src/php-4.2.1/ -I/usr/local/src/php-4.2.1/main -I/usr/
local/src/php-4.2.1 -I/usr/local/apache/include -I/usr/local/src/php-4.2.1/Z
end -I/usr/local/src/php-4.2.1/ext/mysql/libmysql -I/usr/local/src/php-4.2.1
/ext/xml/expat -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DSHARED_CORE -I/usr/lo
cal/src/php-4.2.1/TSRM -g -O2 -prefer-pic -o libphp4.la -rpath
/usr/local/src/php-4.2.1/libs -avoid-version stub.lo Zend/libZend.la
sapi/apache/libsapi.la main/libmain.la regex/libregex.la
/usr/local/src/php-4.2.1/ext/ctype/libctype.la
/usr/local/src/php-4.2.1/ext/mysql/libmysql.la
/usr/local/src/php-4.2.1/ext/pcre/libpcre.la
/usr/local/src/php-4.2.1/ext/posix/libposix.la
/usr/local/src/php-4.2.1/ext/session/libsession.la
/usr/local/src/php-4.2.1/ext/standard/libstandard.la
/usr/local/src/php-4.2.1/ext/xml/libxml.la
TSRM/libtsrm.la -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt -ldl
Zend/.libs/libZend.al: member Zend/.libs/libZend.al(zend_language_parser.lo)
in archive is not an object
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.1'
make: *** [all-recursive] Error 1
Any suggestions??
--- End Message ---
--- Begin Message ---
/configure --with-mysql --with-apache=../apache_1.3.24/ --enable-trans-sid
--enable-track-vars --enable-cli
MySQL server 3.23.49
OS Linux Slackware 8.0
I compiled PHP 4.2 with MySQL support but it can't connect to the database, it
was working OK with PHP 4.1.2. I then tried to use the full path to the MySQL
client( if for some reason the packed client is outdated?) but it didn't work
neither. When I build PHP 4.1.2 again it worked.
The problem arises when connecting to the database - I thought it may be a
problem with PEAR::DB but the native MySQL connect() doesn't work.
I couldn't find any information on that nor in the PHP manual nor in mailing
archives, can you please help?
-----------------------
Martin Tsachev
Web developer, MetaVisia
http://members.evolt.org/shaggy/
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Does anyone have experience with this environment?
Pros? Cons? Any latency problems? Connectivity
issues?
I'd be very interested in hearing your experiences with
this. What do you like about it? What don't you? Would
you set your platform up like this if you could go back
and do it again?
thnx,
Chris
--- End Message ---
--- Begin Message ---
We have been unsuccessful trying to install the 4.2.1 port onto FreeBSD 4.4
STABLE when we add domxml support. The same configuration compiles and runs
fine on our Linux machines, so was wondering if anyone has any idea what the
problem is.
The following is the output from the make:
Making all in domxml
/bin/sh
/usr/ports/www/mod_php4/work/php-4.2.1/libtool --silent --mode=compile
c -I. -I/usr/ports/www/mod_php4/work/php-4.2.1/ext/domxml -I/usr/ports/www/
mod_php4/work/php-4.2.1/main -I/usr/ports/www/mod_php4/work/php-4.2.1 -I/usr
/local/include/apache -I/usr/ports/www/mod_php4/work/php-4.2.1/Zend -I/usr/l
ocal/include/libxml2 -I/usr/local/include -I/usr/local/include/mysql -DHARD
_SERVER_LIMIT=512 -DDOCUMENT_LOCATION="/usr/local/www/data/" -DDEFAULT_PATH=
"/usr/local/bin:/bin:/usr/bin" -DACCEPT_FILTER_NAME="httpready" -DMOD_SSL=20
8106 -DEAPI -DEAPI_MM -DUSE_EXPAT -I/usr/ports/www/mod_php4/work/php-4.2.1/T
SRM -O -pipe -I/usr/local/include -prefer-pic -c php_domxml.c
php_domxml.c: In function `zif_domxml_doc_get_element_by_id':
php_domxml.c:2675: warning: passing arg 2 of `xmlHashScan' from incompatible
pointer type
php_domxml.c: In function `zif_domxml_doc_ids':
php_domxml.c:3292: warning: passing arg 2 of `xmlHashScan' from incompatible
pointer type
php_domxml.c: In function `zif_xmldoc':
php_domxml.c:3309: `xmlDoValidityCheckingDefaultValue' undeclared (first use
in this function)
php_domxml.c:3309: (Each undeclared identifier is reported only once
php_domxml.c:3309: for each function it appears in.)
php_domxml.c:3325: `xmlLoadExtDtdDefaultValue' undeclared (first use in this
function)
*** Error code 1
Stop in /usr/ports/www/mod_php4/work/php-4.2.1/ext/domxml.
Thanks,
Rob
--- End Message ---
--- Begin Message ---
It seems like data from an html form doesn't get passed to the php script.
For example, if I had a form tag like this:
<form method="post" action="script.php">
Then script.php wouldn't have any of the variables.
<input type="text" name="test">
So $test would be blank (=""). Why does this happen? I think it is something
wrong with my Apache webserver. Anyone know?
--- End Message ---