php-install Digest 31 Jul 2003 13:41:39 -0000 Issue 1482
Topics (messages 11362 through 11367):
No libphp4.so during make install of PHP
11362 by: Christian Villada
Re: Compile PHP 4.3.2 with Oracle 9.2.0 Support..? Wrong Elf Class: ELFCLASS64 ??
11363 by: Jim Thome
LDAP core dumps
11364 by: Lash, David A (David)
Binary
11365 by: Morris Hooten - SES System Admin
configure php with apache
11366 by: Chen, Mao
not loading php correctly
11367 by: Richard Frazier
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 ---
Hello.
I'm trying to install php-4.3.2 from source in linux
RedHat 9 to work with Oracle using the guide in
http://www.php.net/manual/en/install.apache2.php
I've previously installed Apache-2.0.47 in
/usr/local/apache2 (Apache is working fine).
I did a:
$./configure --with-apxs2=/usr/local/apache2/bin/apxs
$make
$makeinstall
The error that I get is this:
Build complete.
(It is safe to ignore warnings about tempnam and
tmpnam).
[EMAIL PROTECTED] php-4.3.2]# make install
Installing PHP CLI binary: /usr/local/bin/
Installing PHP CLI man page: /usr/local/man/man1/
Installing PHP SAPI module
/usr/local/apache2/build/instdso.sh
SH_LIBTOOL='/usr/local/apache2/build/libtool'
libphp4.la /usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp
libphp4.la /usr/local/apache2/modules/
cp .libs/libphp4.lai
/usr/local/apache2/modules/libphp4.la
cp .libs/libphp4.a
/usr/local/apache2/modules/libphp4.a
ranlib /usr/local/apache2/modules/libphp4.a
chmod 644 /usr/local/apache2/modules/libphp4.a
libtool: install: warning: remember to run `libtool
--finish /x/src/php-4.3.2/libs'
Warning! dlname not found in
/usr/local/apache2/modules/libphp4.la.
Assuming installing a .so rather than a libtool
archive.
chmod 755 /usr/local/apache2/modules/libphp4.so
chmod: failed to get attributes of
`/usr/local/apache2/modules/libphp4.so': No such file
or directory
apxs:Error: Command failed with rc=65536
.
make: *** [install-sapi] Error 1
Can somebody help me please?
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
--- End Message ---
--- Begin Message ---
Sébastien,
The Oracle 9.2.0 client is 64 bit, and you are compiling it with other
source code that is 32 bit. You must install the Oracle client 8.x
(which will connect fine against a 9.x database) and compile against
that to get around the problem.
--
Jim
>>> Sébastien Mortier <[EMAIL PROTECTED]> 07/30/03 08:13AM >>>
Hello,
I try to compile PHP-4.3.2 with the Oracle support. I think there is
something wrong..
The platform is a Sun Enterprise 450, with 2 CPU at 400Mhz. (Solaris
8)
Apache 1.3.27
PHP 4.3.2
Oracle 9.2.0
CONFIGURE: './configure' '--with-apxs=/usr/local/apache/bin/apxs'
'--with-oracle' '--with-config-file-path=/etc' '--enable-sigchild'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS
CXX:
CXXFLAGS:
INCLUDES: -I$(top_builddir)/Zend
-I/oracle/product/9.2.0/rdbms/public
-I/oracle/product/9.2.0/rdbms/demo
-I/oracle/product/9.2.0/plsql/public
LDFLAGS: -R/usr/ucblib -L/usr/ucblib
-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3
-R/oracle/product/9.2.0/lib -L/oracle/product/9.2.0/lib
LIBS: -lresolv -lm -ldl -lnsl -lsocket -lgcc -lnsl -lsocket
-lgen
-ldl -lclntsh
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/ucblib
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3
/oracle/product/9.2.0/lib
uname -a: SunOS flalb450 5.8 Generic_108528-19 sun4u sparc
SUNW,Ultra-4
gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib
-L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/
3.2.3 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3
-R/oracle/product/9.2.0/lib -L/oracle/product/9.2.0/lib conftest.c -
lresolv -lm -ldl -lnsl -lsocket -lgcc -lnsl -lsocket -lgen -ldl
-lclntsh 1>&5
ld: fatal: file /oracle/product/9.2.0/lib/libclntsh.so: wrong ELF
class:
ELFCLASS64
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
Could you give me some tips or advices..
Thank you.
--
Sébastien Mortier
AbsysTech
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Hi
I just installed LDAP with PHP on solaris. Seems to build fine but when
I do an ldap_connect, it dumps core. I get the following in the error_log (apache).
a child pid 10949 exit signal Segmentation Fault (11), possible coredump in ,,,
Any ideas what is going on? I am not even sure where to look. Is this a bug?
Thanks
dave l
--- End Message ---
--- Begin Message ---
Can i get a pre-compiled binary for solaris 9?
--- End Message ---
--- Begin Message ---
apache: httpd-2.0.40-8
php: php-imap-4.3.1-1
php-4.3.1-1
php-ldap-4.3.1-1
php-mysql-4.3.1-1
Hi everyone,
I got a Redhat8.0 server and installed above rpms. Apache is currently
working, but the problem is that I can't get it to work with php(it only
display php source codes). I already add this line "AddType
application/x-httpd-php .php .phtml .php3 .phps" into my httpd.conf, so
is there any possibility might cause the problem?
I'm thinking it might because libphp4.so, so I try to include this line
"LoadModule mod_php4 modules/libphp4.so". But libphp4.so is not in
/etc/httpd/modules/, and I found it in /usr/lib/apache . Then I replace
the line with correct directory, I got following error:
Cannot load /usr/lib/apache/libphp4.so into server:
/usr/lib/apache/libphp4.so: undefined symbol: ap_block_alarms
Can anybody help? Thanks a lot in advance!!
--- End Message ---
--- Begin Message ---
so yeah i got apache and php installed like the php install txt file says
too. i also created a small test php page (index.php) and placed it in the
root directory for apache but when i go to http://192.168.0.2 it just shows
a directory of all of the files in the root. im using xp, apache 1.3.2.8,
and php 4.3.3rc2
~Richard
--- End Message ---