php-install Digest 9 Apr 2001 19:45:54 -0000 Issue 254 Topics (messages 2716 through 2724): installation blues with oracle 8i 2716 by: Hal, J.F. van (Hans) 2721 by: Paco Ortiz PHP with sybase 2717 by: Sebastian Ponitka php-module size ? 2718 by: Robert Boehrs Compiling (building PHP) on AIX 2719 by: James Thorpe What have I done wrong?? 2720 by: Phillip Peelish Posix threads not detected. 2722 by: Michael L. Welles date/time in wrong zone 2723 by: Duke how to solve this php installation and configuration problem 2724 by: adams tao 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] ----------------------------------------------------------------------
Dear readers, I try to install oci8 support in php4 on suse 7.1 linux But all I meet is trouble. The problem is most likely the fact that oracle comes with a version of glibc 2.1.3 that i have to install to get oracle running at all But after I finally succeeded to get it installed I tried to compile php4 with oci8 support with a debug.log as follows: begonia:/usr/src/packages/SOURCES/php-4.0.4pl1 # cat debug.log CONFIGURE: './configure' '--with-oci8' '--with-apxs' '--without-mysql' '--with out-msql' CC: gcc CFLAGS: -g -O2 CPPFLAGS: -DEAPI_MM -DSINGLE_LISTEN_UNSERIALIZED_ACCEPT -D_LARGEFILE_SOURCE - D_FILE_OFFSET_BITS=64 -DHARD_SERVER_LIMIT=2048 -DDYNAMIC_MODULE_LIMIT=128 -DLINU X=2 -DMOD_SSL=207101 -DEAPI -DUSE_EXPAT CXX: CXXFLAGS: INCLUDES: -I/usr/include/apache -I$(top_builddir)/Zend -I/u01/app/oracle/pro duct/8.1.7/rdbms/public -I/u01/app/oracle/product/8.1.7/rdbms/demo LDFLAGS: -Wl,-rpath,/u01/app/oracle/product/8.1.7/lib -L/u01/app/oracle/prod uct/8.1.7/lib LIBS: -lm -ldl -lresolv -lm -ldl -lcrypt -lnsl -lresolv -lclntsh DLIBS: SAPI: apache PHP_RPATHS: /u01/app/oracle/product/8.1.7/lib uname -a: Linux begonia 2.2.18-SMP #1 SMP Wed Jan 24 12:30:30 GMT 2001 i686 un known gcc -o conftest -g -O2 -DEAPI_MM -DSINGLE_LISTEN_UNSERIALIZED_ACCEPT -D_LARGEFI LE_SOURCE -D_FILE_OFFSET_BITS=64 -DHARD_SERVER_LIMIT=2048 -DDYNAMIC_MODULE_LIMIT =128 -DLINUX=2 -DMOD_SSL=207101 -DEAPI -DUSE_EXPAT -Wl,-rpath,/u01/app/oracle/p roduct/8.1.7/lib -L/u01/app/oracle/product/8.1.7/lib conftest.c -lm -ldl -lresol v -lm -ldl -lcrypt -lnsl -lresolv -lclntsh 1>&5 /usr/lib/libresolv.so: undefined reference to `[EMAIL PROTECTED]' /lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]' /lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]' /lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]' /lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]' /lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]' /lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]' /usr/lib/libnsl.so: undefined reference to `[EMAIL PROTECTED]' /usr/lib/libnsl.so: undefined reference to `[EMAIL PROTECTED]' /usr/lib/libnsl.so: undefined reference to `[EMAIL PROTECTED]' /lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]' /lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]' /lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]' /lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]' /lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]' /usr/lib/libresolv.so: undefined reference to `[EMAIL PROTECTED]' /usr/lib/libresolv.so: undefined reference to `[EMAIL PROTECTED]' /usr/lib/libnsl.so: undefined reference to `[EMAIL PROTECTED]' collect2: ld returned 1 exit status begonia:/usr/src/packages/SOURCES/php-4.0.4pl1 # I hope someone can shed some light over this regards: ------------------------------------------------------ J.F. van Hal(RK2334) Systems Administrator MDI NV Organon tel 31 (0)412 661541 P.O. box 20 fax 31 (0)412 662539 5340 BH OSS [EMAIL PROTECTED] The Netherlands. ------------------------------------------------------
Hi: >I try to install oci8 support in php4 on suse 7.1 linux >But all I meet is trouble. The problem is most likely >the fact that oracle comes with a version of glibc 2.1.3 sad but true. For example, PHP+Oracle8i didn't work for me with RH7.0. I had to go back to RH 6.2 Greetings, F.J >that i have to install to get oracle running at all >But after I finally succeeded to get it installed I tried >to compile php4 with oci8 support with a debug.log as follows: > > ...
Hello, i'm running NetBSD 1.5. with Apache and i'm trying to connect PHP to an Sybase Database. I compiled the Sybase-Extension in /ext/sybase/ as described in the README document. But it seems that the created module "php_sybase_db.so" would not be loaded. I added the file to my php.ini, but i'm getting the error <fatal error call to undefinded module sybase_connect()>. Even with the function "getloaded_modules" i can't see the sybase module. Has anybody a idea?? I searched in the mailing list and i saw that some people got this problem, but i didn't find an answer. best regards sebastian
Hi i'm wondering how big a static-php module for apache(3.1.14) should be. I'm compiling on solaris and the resulting php-module (4.0.4pl1) gets quite big, about 6.5 MB. So the resulting apache binary is about 7.9 MB in size. It's not that i have a problem with this build to work fine, but i think it's a little oversized since i have an older build which is about 1.7 MB with enabled OCI8 for php. One thing i have noticed is that all gcc-calls are with "-g" which should enable debugging information. Could that be my problem and when how can i disable this. Best Robert
Hi everyone I'm trying to build PHP on AIX 4.3.2, ultimately to use with the Apache web server. My make fails with the error: Function argument assignment between types "unsigned long*" and "int*" is not allowed. Is there some kind of compiler switch I could use to disable this level of checking or would that be stupid? Has anyone come across a similar problem. Help / suggestions most appreciated. The following is the output from the `make' command: ----- Making all in Zend Target "all" is up to date. Making all in main Target "all-p" is up to date. Target "all" is up to date. Making all in ext Making all in mysql Making all in libmysql /bin/sh /home/thorpe/php/php-4.0.4pl1/libtool --silent --mode=compile cc -I. -I/home/thorpe/php/php-4.0.4pl1/ext/mysql/libmysql -I/home/thorpe/php/php-4.0.4pl1/main -I/home/thorpe/php/php-4.0.4pl1 -I/usr/HTTPServer/include -I/home/thorpe/php/php-4.0.4pl1/Zend -I/home/thorpe/php/php-4.0.4pl1/ext/mysql/libmysql -I/home/thorpe/php/php-4.0.4pl1/ext/xml/expat/xmltok -I/home/thorpe/php/php-4.0.4pl1/ext/xml/expat/xmlparse -I/home/thorpe/php/php-4.0.4pl1/TSRM -DAIX=43 -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DXML_BYTE_ORDER=21 -g -c libmysql.c "./global.h", line 525.17: 1506-334 (S) Identifier int8 has already been defined on line 606 of "/usr/include/sys/inttypes.h". "./global.h", line 526.17: 1506-334 (S) Identifier int16 has already been defined on line 607 of "/usr/include/sys/inttypes.h". "./global.h", line 536.25: 1506-334 (S) Identifier int32 has already been defined on line 608 of "/usr/include/sys/inttypes.h". "libmysql.c", line 179.59: 1506-280 (W) Function argument assignment between types "unsigned long*" and "int*" is not allowed. make: The error code from the last command is 1. Stop. make: The error code from the last command is 1. Stop. make: The error code from the last command is 1. Stop. make: The error code from the last command is 1. Stop. make: The error code from the last command is 1. Stop. ------------ Many thanks in advance. Kind regards James -- --------------------------------------- James Thorpe CCWR User Consultant [EMAIL PROTECTED] tel: +27 33 2605174 http://www.ccwr.ac.za/ccwr/users/thorpe Screw up your courage! You've screwed up everything else. ----------------------------------------
Hey just installed php and mysql can anyone tell by what my script is giving me what I may have set wrong?? Is there a way to test the PHP4 installation.. Running Win2k IIS4 umm oh perl is also installed but it is working fine.. Thanks for your help in advance.. Phillip Warning: Constant _notright already defined in language/lang-english.php on line 132 Warning: Constant _activeauthors already defined in language/lang-english.php on line 422 Warning: Constant _newuser already defined in language/lang-english.php on line 473 Warning: Constant _downloads already defined in language/lang-english.php on line 576 Warning: Constant _all already defined in language/lang-english.php on line 582 Warning: Constant _showsignature already defined in language/lang-english.php on line 625 Warning: Constant _votes already defined in language/lang-english.php on line 685 Warning: Constant _ already defined in language/lang-english.php on line 703 Warning: Constant _ already defined in language/lang-english.php on line 704
Hi, I'm attempting to build php-4.0.4pl1 with NSAPI support on Solaris, and the build is failing when the configure script fails to detect working pthreads on the box, as follows: -------------------- checking for pthreads_cflags... checking for pthreads_lib... [snip] configure: error: ZTS currently requires working POSIX threads. We were unable to verify that your system supports Pthreads. ------------------------------ I'm running Solaris 2.6, gcc 2.7.2 and netscape enterprise server 3.0. Is this a known problem? Before I go mucking around in the configure script is there an already existant fix?
I sent the following to php-general with no success. I'm wondering if it is a compile/install issue? I'm using php 4.0.4pl1on a FreeBSD system. When I use a php date/time function, it reports the time in GMT, however, I have the date on my FreeBSD system set to EDT. I can't figure out what the problem is here. The only thing I can think of is that when I compiled php, my system timezone was set to GMT and perhaps the local timezone is hardcoded into php. That doesn't make much sense though. I have changed my timezone to EDT since I compiled php. It may also be relevant that the "T" format string for the date() function also reports GMT, even though I've set my system timezone to EDT. The command "date" in FreeBSD also reports the time in EDT. Any suggestions? Thanks.
Hi, I can install Apache and PHP with Red Hat rpm file on Red Hat 7 without any problem, but when I install and configue PHP with tar file, i have faced the following problem: [root@h240c1 php-4.0.4pl1]# ./configure --with-apache=/usr/local/apache creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... no checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing Updated php_version.h checking whether to enable maintainer-specific portions of Makefiles... no checking host system type... i686-pc-linux-gnuoldld checking for gawk... gawk checking for bison... no checking for byacc... no configure: warning: You will need bison if you want to regenerate the PHP parser s. checking for gcc... no checking for cc... no configure: error: no acceptable cc found in $PATH [root@h240c1 php-4.0.4pl1]# So what is the problem and what should I do now? Thanks