php-install Digest 27 Feb 2002 22:42:55 -0000 Issue 721
Topics (messages 6172 through 6180):
Re: Error configuring PHP 4.1.1
6172 by: Mikael Petterson (ERA)
Removing headers?
6173 by: Tobias Ekenstam
PHP 4.1.1 compile problem with imap options
6174 by: T Churchward
PHP 4.1.1 on redhat 7.2
6175 by: LIMBOURG Arnaud
Re: php on server without root access
6176 by: Chris Hewitt
make install error, missing libphp4.so
6177 by: Ron Martinez
Openssl with PHP
6178 by: Hunter, Ray
shared informix fails to compile
6179 by: Lauri Tischler
solaris 8/apache 1.3.23 compile problem
6180 by: Michael Galloway
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 ---
Hi,
What version and os are you using.
Seems like your apache was not correctly built! Check log in apache.
//Mikael
-----Original Message-----
From: Brett Cavé [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 7:04 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] Error configuring PHP 4.1.1
Hi
I installed flex which solved my earlier problem. Now, when i configure php,
i get another error.
I have tried to install it 2 ways:
--with-apache
With this option, the httpd.h file cannot be found.
--with-apxs:
There is no "apxs" file.
If i do not use one of these options, will PHP only be able to be used as a
cgi? how would i solve this problem?
During the installation, the mysql header files also cannot be found. They
are in /usr/include/mysql, but when i
specify --with-mysql=/usr/include/mysql/ it reports that the headers where
not found.
Brett
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Hi,
I'm looking for a way to remove the HTTP headers output by php when running as a cgi
or from command line.
I don't mean php -q or expose_php = Off .. I need to turn off the header completely,
not just suppress them. Does anyone know how to do this?
regards,
Tobias E.
--- End Message ---
--- Begin Message ---
Hello
I am experiencing a problem when compiling php4.1.1 for use with a Cyrus
imap server - full details below. If anyone has any ideas as to where I
might be going wrong your suggestion will be greatly appreciated.
thanks in advance
Tom Churchward
Red Logic
Oracle Support Specialists
Tel: +44 (0) 161 831 9860
Fax: +44 (0) 161 831 9713
E-mail: [EMAIL PROTECTED]
Web: www.redlogic.co.uk
Software Versions:
==================
Distro: RH6.2
Kernel: 2.2.19-6.2.12
PHP: 4.1.1
Cyrus IMAP: 2.0.16
UW imap client: imap-2001a
Apache: 1.3.23
MySQL: 3.23.49
Configure:
==========
My configure script is as follows:-
./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/
apxs --with-cyrus --with-openssl --with-imap-ssl --with-zlib --with-gdbm=/us
r/include/gdbm --with-imap=/usr/local/uw-imap
configure runs to completion i.e. doesn't complain about not being able to
find something it expects.
Make:
=====
Originally I had some problems with cyrus.c, but a trawl through the bugs on
bugs.php.net furnished an up-to-date version which no longer causes any
probs.
Make eventually fails with the following:-
make[1]: Entering directory `/usr/local/src/php-4.1.1.p1'
/bin/sh /usr/local/src/php-4.1.1.p1/libtool --silent --mode=compile
gcc -I. -I/usr/local/src/php-4.1.1.p1/ -I/usr/local/src/php-4.1
.1.p1/main -I/usr/local/src/php-4.1.1.p1 -I/usr/local/apache/include -I/usr/
local/src/php-4.1.1.p1/Zend -I/usr/local/include -I/usr/
local/uw-imap/c-client -I/usr/local/mysql/include/mysql -I/usr/local/src/php
-4.1.1.p1/ext/xml/expat -DLINUX=22 -DUSE_HSREGEX -DUSE_
EXPAT -I/usr/local/src/php-4.1.1.p1/TSRM -g -O2 -prefer-pic -c stub.c
/bin/sh /usr/local/src/php-4.1.1.p1/libtool --silent --mode=link
gcc -I. -I/usr/local/src/php-4.1.1.p1/ -I/usr/local/src/php-4.1.1.
p1/main -I/usr/local/src/php-4.1.1.p1 -I/usr/local/apache/include -I/usr/loc
al/src/php-4.1.1.p1/Zend -I/usr/local/include -I/usr/loc
al/uw-imap/c-client -I/usr/local/mysql/include/mysql -I/usr/local/src/php-4.
1.1.p1/ext/xml/expat -DLINUX=22 -DUSE_HSREGEX -DUSE_EXP
AT -I/usr/local/src/php-4.1.1.p1/TSRM -g -O2 -prefer-pic -o
libphp4.la -rpath /usr/local/src/php-4.1.1.p1/libs -avoid-version -L/u
sr/local/lib -L/usr/local/uw-imap/c-client -L/usr/local/mysql/lib/mysql -R
/usr/local/lib -R /usr/local/uw-imap/c-client -R /usr/lo
cal/mysql/lib/mysql stub.lo Zend/libZend.la sapi/apache/libsapi.la
main/libmain.la regex/libregex.la ext/zlib/libzlib.la ext/cyrus/
libcyrus.la ext/dba/libdba.la ext/imap/libimap.la ext/mysql/libmysql.la
ext/openssl/libopenssl.la ext/pcre/libpcre.la ext/posix/libp
osix.la ext/session/libsession.la ext/standard/libstandard.la
ext/xml/libxml.la TSRM/libtsrm.la -lpam -lcrypto -lssl -lc-client4 -ld
l -lmysqlclient -lz -lcrypt -lpam -lgdbm -lcyrus -lsasl -lz -lcrypt -lssl -l
crypto -lresolv -lm -ldl -lnsl -lresolv -lcrypt
libtool: link: warning: library `/usr/lib/libgdbm.la' was moved.
libtool: link: warning: library `/usr/lib/libgdbm.la' was moved.
/usr/local/uw-imap/c-client/libc-client4.a(osdep.o): In function `fatal':
/usr/local/src/imap-2001a/c-client/ftl_unix.c:27: multiple definition of
`fatal'
ext/cyrus/.libs/libcyrus.al(cyrus.lo):/usr/local/src/php-4.1.1.p1/ext/cyrus/
cyrus.c:110: first defined here
/usr/local/lib/libcyrus.a(xmalloc.o): In function `fs_get':
xmalloc.o(.text+0xf8): multiple definition of `fs_get'
/usr/local/uw-imap/c-client/libc-client4.a(osdep.o):/usr/local/src/imap-2001
a/c-client/fs_unix.c:27: first defined here
/usr/bin/ld: Warning: size of symbol `fs_get' changed from 90 to 32 in
xmalloc.o
/usr/local/lib/libcyrus.a(xmalloc.o): In function `fs_give':
xmalloc.o(.text+0x118): multiple definition of `fs_give'
/usr/local/uw-imap/c-client/libc-client4.a(osdep.o):/usr/local/src/imap-2001
a/c-client/fs_unix.c:57: first defined here
/usr/bin/ld: Warning: size of symbol `fs_give' changed from 59 to 25 in
xmalloc.o
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.1.1.p1'
make: *** [all-recursive] Error 1
--- End Message ---
--- Begin Message ---
Hello,
Does anybody have a PHP 4.1.1 package for the redhat 7.2 ?
My admins don't want to compile it themselves telling me that it is not
stable for production environment. So i have to give them a package...
Thanks,
Arnaud.
--- End Message ---
--- Begin Message ---
Thanks to Ray, Richard and Mikael for the help on this. I compiled it in
my home directory and tested it on a computer here and then tried the
same on the Compaq Raq server. The problem I got was simply one of not
having anywhere near a big enough disc quota. To cut a long story short,
the owner of the computer only recently removed php and is willing to
put it back on next time there is work due.
Thanks again to you all for your help.
Regards
Chris
Hunter, Ray wrote:
>This is a not so good idea...When you compile the compiled files are for
>that system only. You would have better luck with rpms.
>
>Ray Hunter
>Firmware Engineer
>
>ENTERASYS NETWORKS
>
>
>-----Original Message-----
>From: Chris Hewitt [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, February 19, 2002 4:26 AM
>To: php-install mailing list
>Subject: [PHP-INST] php on server without root access
>
>
>Hello all,
>
>Thanks for reading this. I have an account on a Compaq Raq server
>(running linux) and would like to use php. I do not have root access,
>the computer does not have php or a compiler. I would need to compile
>php on my own computer (running RedHat 7.2) and install resulting files
>in my home directory on the server manually.
>
> From what I have heard on this list and elsewhere, it should be
>possible to compile php on my computer and then install it. So far all I
>have not been able to get this to work.
>
>I've looked through the php manual, on phpbuilder, emailed someone who
>asked a similar question in 2000 (the email bounced) and am presently
>stuck as to how to do this.
>
>Does anyone know whether there there some instructions somewhere to do
>this? There probably are and its me not looking in the right place so
>please excuse me if I have missed something obvious.
>
>Thanks in advance for any help.
>
>Regards
>
>Chris
>
>
--- End Message ---
--- Begin Message ---
Hi everyone,
I'm having trouble compiling php 4.1.1 with Apache 1.3.23 on AIX 4.3.3. Apache is
already installed. The details are below. Any help would be great.
Thanks,
Ron
My configure line is as follows:
./configure --prefix=/usr/local/php_4.1.1
--with-apxs=/usr/local/apache_1.3.23/bin/apxs
--without-mysql
'configure' runs fine, as does 'make'. However, when I do a 'make install' I get the
following:
Making install in Zend
Target "install-exec-am" is up to date.
Target "install-data-am" is up to date.
Target "install" is up to date.
Making install in main
Target "install-p" is up to date.
Target "install" is up to date.
Making install in ext
Making install in pcre
Making install in pcrelib
Target "install-p" is up to date.
Target "install" is up to date.
Target "install-p" is up to date.
Target "install" is up to date.
Making install in posix
Target "install-p" is up to date.
Target "install" is up to date.
Making install in session
Target "install-p" is up to date.
Target "install" is up to date.
Making install in standard
Target "install-p" is up to date.
Target "install" is up to date.
Making install in xml
Making install in expat
Target "install-p" is up to date.
Target "install" is up to date.
Target "install-p" is up to date.
Target "install" is up to date.
Target "install-p" is up to date.
Target "install" is up to date.
Making install in sapi
Making install in apache
Target "install-p" is up to date.
Target "install" is up to date.
Target "install-p" is up to date.
Target "install" is up to date.
Making install in TSRM
Target "install-exec-am" is up to date.
Target "install-data-am" is up to date.
Target "install" is up to date.
Making install in regex
Target "install-p" is up to date.
Target "install" is up to date.
Making install in .
/usr/local/apache_1.3.23/bin/apxs -i -a -n php4 libs/libphp4.so
[activating module `php4' in /usr/local/apache_1.3.23/conf/httpd.conf]
cp libs/libphp4.so /usr/local/apache_1.3.23/libexec/libphp4.so
cp: libs/libphp4.so: A file or directory in the path name does not exist.
apxs:Break: Command failed with rc=1
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
--- End Message ---
--- Begin Message ---
System: RedHat 7.2
Openssl: openssl-0.9.6c and openssl-engine-0.9.6c
PHP: 4.1.2
Has anyone installed openssl with php. I am getting an error where it can
not find the evp.h file. I am wondering if there is a problem with openssl.
I am trying to install snmp with php and it needs openssl for snmp version
3.
Any help is much needed and appreciated...
Thanks,
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
Phone: 801 887-9888
Fax: 801 972-5789
Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
www: www.enterasys.com <http://www.enterasys.com>
--- End Message ---
--- Begin Message ---
I have tryed to make php4 with informix as module, the only version it
configures and makes ok is php-4.0.4pl1
I have tryed php-4.0.6, php-4.1.0 and php-4.1.1 they all fail at link phase
with error:
/bin/sh /root/php-4.0.6/libtool --silent --mode=link gcc -I.
-I/root/php-4.0.6/ext/informix -I/root/php-4.0.6/main -I/root/php-4.0.6
-I/usr/include/apache-1.3 -I/root/php-4.0.6/Zend
-I/usr/include/freetype2/freetype -I/usr/include/c-client
-I/opt/informix/incl/esql -I/usr/include/mysql -I/usr/include/ucd-snmp
-I/root/php-4.0.6/TSRM -DLINUX=22 -DEAPI -DTARGET="apache"
-DDEV_RANDOM=/dev/random -DUSE_HSREGEX -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -O2 -o informix.la -avoid-version -module -rpath
/root/php-4.0.6/modules ifx.lo -Rext/informix -Lext/informix
-R/opt/informix/lib/esql -L/opt/informix/lib/esql -R/opt/informix/lib
-L/opt/informix/lib
libtool: link: only absolute run-paths are allowed
make[3]: *** [informix.la] Error 1
make[3]: Leaving directory `/root/php-4.0.6/ext/informix'
The config is the same with all versions.
environment is Debian Woody
Any ideas ??
--
[EMAIL PROTECTED] * Ateriaa valmistava ihmissyöjä *
* on sydäntä lämmittävä näky *
* http://www.manbeef.com *
--- End Message ---
--- Begin Message ---
good day ...
i'm trying to build 4.1.2 for solaris 8/apache 1.3.23. here is the error i
get:
make[3]: Entering directory `/usr/local/php-4.1.2/sapi/apache2filter'
/bin/sh /usr/local/php-4.1.2/libtool --silent --mode=compile
/usr/local/php-4.1.2/meta_ccld -I. -I/usr/local/php-4.1.2/sapi/apache2filter
-I/usr/local/php-4.1.2/main -I/usr/local/php-4.1.2 -I/opt/1.3.23/include
-I/usr/local/php-4.1.2/Zend -I/usr/local/php-4.1.2/ext/mysql/libmysql
-I/home/oracle/8.1.7/rdbms/public -I/home/oracle/8.1.7/rdbms/demo
-I/usr/local/php-4.1.2/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS
-DSOLARIS2=280 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-I/usr/local/php-4.1.2/TSRM -DTHREAD=1 -g -O2 -pthreads -DZTS -prefer-pic -c
sapi_apache2.c
sapi_apache2.c:31: apr_strings.h: No such file or directory
In file included from sapi_apache2.c:32:
/opt/1.3.23/include/ap_config.h:1386: warning: `XtOffsetOf' redefined
/usr/local/php-4.1.2/main/php.h:342: warning: this is the location of the
previous definition
sapi_apache2.c:33: util_filter.h: No such file or directory
sapi_apache2.c:364: warning: `NO_DATA' redefined
/usr/include/netdb.h:402: warning: this is the location of the previous
definition
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory `/usr/local/php-4.1.2/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/php-4.1.2/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/php-4.1.2/sapi'
make: *** [all-recursive] Error 1
my configure options were:
/usr/local/php-4.1.2> ./configure --with-apxs2=/opt/1.3.23/bin/apxs
--with-oci8=/home/oracle/8.1.7
i must be doing something silly, but cannot see what it is. thanks for any
help.
-- michael
--- End Message ---