php-install Digest 16 May 2001 00:05:31 -0000 Issue 310 Topics (messages 3161 through 3175): compile php 4..0.5 with Deapi 3161 by: Thomas Hove 3164 by: Joe Laffey CPU Load very high with 4.0.5 3162 by: Andrei Re: Apache-1.3.19 + PHP-4.0.5 + Oracle 8i 3163 by: Benjamin Heckmann NES/iPlanet Web server won't start after php make install (Solaris 7 / 8) 3165 by: EGGrant.aol.com configure failure using -with-mcrypt 3166 by: James Blackwell php 4.0.5 configure failure using -with-mcrypt 3167 by: Richard Blackwell 3168 by: Steve Brazill Re: php --with-gd won't compile 3169 by: alexus Problems trying to add LDAP to PHP 3170 by: Steve Holden 3173 by: EGGrant.aol.com make failure for --with-imap-ssl 3171 by: mail.krel.org 3172 by: alexus ayuda php para HP-UX 3174 by: LGSANTOS.telmex.net Freebsd 4.2 - release, Apache 1.3, PHP-4.0.5 3175 by: Closeout Distributors 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'm running an Apache 1.3.19 with php 4.0.5 , mod_ssl/2.8.2 and openSSL/0.9.6 on a NT 4 platform. When I start the Apache server the following message appear : "Loaded DSO F:/php/sapi/php4apache.dll uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI)" How do I do that ???
On Tue, 15 May 2001, Thomas Hove wrote: > I'm running an Apache 1.3.19 with php 4.0.5 , mod_ssl/2.8.2 and > openSSL/0.9.6 on a NT 4 platform. > > When I start the Apache server the following message appear : > > "Loaded DSO F:/php/sapi/php4apache.dll uses plain > Apache 1.3 API, this module might crash > under EAPI! (please recompile it with > -DEAPI)" > > How do I do that ??? > You can do this by including '-DEAPI' in the CFLAGS environment variable. (setenv CFLAGS '-DEAPI' under tcsh). Be sure you make clean; configure; make again. Also, you might want to upgrade your apache. Joe Laffey LAFFEY Computer Imaging St. Louis, MO ---------------------- Need to do multi-file string replacement in Un*x, but don't want to mess with sed? Try rpl. It's a free text replacement utility with source. http://www.laffeycomputer.com/rpl.html -- Check it out! ------------------------------------------------------------------------
Hi I am running a red HAt 6.1 System with apache 1.3.9 and mysql 3.22 and php 4.0.4pl1 I tried to upgrade to 4.0.5 wich works fine, only that the CPU load caused by apache is now 3-4 times as high as with 4.0.4pl1 Downgrading sinks the CPU load, upgrading incresses it any ideas hints ? Thank you Andrei
Ok, make sure your oracle client is full working standalone. This includes ALL environment settings to be done, even if you can't think of what they are good for. If this all is correct, it should work without a special path to your oracle client while configure. (See also messages in the archive posted before.) ./configure --prefix=/usr --sysconfdir=/etc/php --with-apx --with-apache=/usr/src/apache_1.3.19 --with-config-file-path=/etc/php --with-openssl --with-jpeg-dir=/usr/lib --with-zlib --with-gd=shared --enable-ftp --enable-gd-native-ttf --with-oci8 --enable-sigchild --with-png-dir=/usr/lib --with-regex=php --with-gnu-ld Benjamin > Hello all, > > I'm having problems installing the above mentioned software. The configure > runs fine, but the make exits with an error; cannot find oci.h. This find > does not exist on my machine, so I presume that configure creates it? > > Does anyone know what I'm doing wrong? (I'm sure it's me! Aaaargh!) > Your help is much appreciated. > > ...
I am trying to configure PHP4 to be used with Netscape Enterprise 3.6 with NSAPI, LDAP, and SYBASE-CT on a Solaris 2.7 machine. I have exhausted searches through the manuals, faqs, websites, and compile variations with ldap and sybase-ct, with just ldap, with just sybase-ct, with ldap and sybase, and with just sybase. Each to no avail. Here is the current state I am at. The error from the NES admin tool is pclose() failed. (2: unknown early startup error) Error An error occurred during startup. The server https-<server> was not started. PHP4.0.5 compile is successfull with the following configuration: ./configure --with-nsapi=/opt/netscape/suitspot --with-ldap=/usr/local/ldap --with-sybase-ct=/usr/syb119/11.1.1 --enable-track-vars --enable-libgcc I have completed the PHP4 install steps mentioned on: http://www.php.net/manual/en/install.netscape-enterprise.ph I have verified clean tests from the Netscape bug report with Netscape Engineers: http://help.netscape.com/kb/corporate/19990524-10.html If I comment out the following line from the obj.conf file the server will start as expected. Init fn="load-modules" funcs="php4_init,php4_close,php4_execute,php4_auth_tr ans" shlib="/opt/netscape/suitspot/bin/libphp4.so" My previous PHP install without the LDAP and Sybase extensions worked just fine. Problem is that I need the LDAP and Sybase modules. I have attempted this with Solaris 2.8 and iPlanet Webserver 4.1 SP7 with the same problems. Anyone have any ideas? Take Care, Eric G. Grant Take Care, Eric G. Grant
I am trying to compile PHP 4.0.5 on a RH 7.1 box. I've tried 6 different compilations of libmcrypt, but to no avail. Here's what configure tells me: checking for mcrypt support... yes checking for init_mcrypt in -lmcrypt... no checking for mcrypt_module_open in -lmcrypt... no configure: error: Sorry Can anyone shed any light on this?
I'm trying to compile php 4.0.5 using -with-mcrypt I have tried many things, but to no avail -- the configure script fails. It gets to the same point: checking for mcrypt support... yes checking for init_mcrypt in -lmcrypt... no checking for mcrypt_module_open in -lmcrypt... no configure: error: Sorry Can anyone tell me what I'm doing wrong?
You didn't mention how you 'configured' "libmcrypt" (or what was the 'latest' version you installed)... When I installed 'libmcrypt' version 2.4.9, I used the following method (you're probably missing the last part): Unpack the 'source distribution'. system:/tmp> cd /opt system:/opt> gunzip -c /tmp/libmcryp-2.4.9.tar.gz | tar xf - Configure and build the application. system:/opt> cd libmcrypt-2.4.9 system:/opt/libmcrypt-2.4.9> ./configure --disable-posix-threads system:/opt/libmcrypt-2.4.9> make system:/opt/libmcrypt-2.4.9> make check system:/opt/libmcrypt-2.4.9> make install Link the necessary 'mcrypt' library file to "/usr/lib": system:/opt/libmcrypt-2.4.9> cd /usr/lib system:/usr/lib> ln -s /usr/local/lib/libmcrypt.so.4 ----- Original Message ----- From: "Richard Blackwell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 15, 2001 9:50 AM Subject: [PHP-INST] php 4.0.5 configure failure using -with-mcrypt > I'm trying to compile php 4.0.5 using -with-mcrypt > > I have tried many things, but to no avail -- the configure script fails. > > It gets to the same point: > > checking for mcrypt support... yes > checking for init_mcrypt in -lmcrypt... no > checking for mcrypt_module_open in -lmcrypt... no > configure: error: Sorry > > Can anyone tell me what I'm doing wrong? > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] >
i'm trying to compile php --with-gd and that's what i'm geting /usr/local/src/php-4.0.5/ext/gd/php_gd.h:33: gd.h: No such file or directory make[2]: *** [internal_functions.lo] Error 1 make[2]: Leaving directory `/usr/local/src/php-4.0.5/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/php-4.0.5/main' make: *** [all-recursive] Error 1 i do have gd libarary installed /usr/local/src/php-4.0.5/ext/gd/php_gd.h:33: gd.h: No such file or directory make[2]: *** [internal_functions.lo] Error 1 make[2]: Leaving directory `/usr/local/src/php-4.0.5/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/php-4.0.5/main' make: *** [all-recursive] Error 1 any ideas? someone ?
Hi, folks Apologies if the answer to this is embarrassingly simple, but I've had a mammoth webtrawl and am getting nowhere... Forgive me if this is the wrong place to be asking. I can't get the iPlanet LDAP SDK to interface to PHP. The PHP configure and makes go ok, the Apache configure goes ok. However, when I try and make Apache I get: Undefined first referenced symbol in file ldap_count_values_len modules/php4/libphp4.a(ldap.o) ... ldap_count_entries modules/php4/libphp4.a(ldap.o) ld: fatal: Symbol referencing errors. No output written to httpd collect2: ld returned 1 exit status I'd be extremely grateful for any quick tips or, failing that, for your deep and insightful wisdom! Kind regards, Steve Software versions: Solaris 8 (64 bit) Apache 1.3.19 php 4.0.4 iPlanet LDAP SDK for Solaris (128 bit international) v5 gcc 2.95.2 have tried /usr/xpg4/bin/make and /usr/ccb/bin/make My LD_LIBRARY_PATH includes: /local/lib: \ /local/ldap/lib: \ /local/php4/lib: \ /local/php4/lib/include/php (perhaps I don't need the latter?) Command history: cd ~/php-src-dir rm config.cache make clean ./configure --prefix=/local/php4 --enable-track-vars --with-ldap=/local/ldap --with-mysql=/local/mysql --with-apache=path_to_apache_src_dir --with-imap=/local/imap/c-client make make install cp php.ini-dist /usr/local/lib/php.ini cd ~/apache-src-dir ./configure --prefix=/local/apache --activate-module=src/modules/php4/libphp4.a make [dies] (When I've tried a different LD_LIBRARY_PATH or version of make in my PATH, I've rerun all of the above - is that strictly necessary?)
I don't see what OS you are running on but I had a similar error initially before installing LDAP, LDAP SDK, and pointing the PHP compile to the LDAP install dir (where the libraries for it exist). All this performed on Sol7 and Sol8. I also copied my LDAPSDK lib and include dirs to my /usr/local/lib and /usr/local/include. Granted I still do not have it functioning for me it did get me a bit further. You can follow what progress I have gone through on Bug ID 10821 (http://www.php.net/bugs.php). There is also another thread on Bug ID 10481. Hope this helps. Take Care, Eric G. Grant In a message dated 5/15/2001 1:50:15 PM Eastern Daylight Time, [EMAIL PROTECTED] writes: > Hi, folks > > Apologies if the answer to this is embarrassingly simple, > but I've had a mammoth webtrawl and am getting nowhere... > Forgive me if this is the wrong place to be asking. > > > I can't get the iPlanet LDAP SDK to interface to PHP. > The PHP configure and makes go ok, the Apache configure goes ok. > However, when I try and make Apache I get: > > > Undefined first referenced > symbol in file > ldap_count_values_len modules/php4/libphp4.a(ldap.o) > ... > ldap_count_entries modules/php4/libphp4.a(ldap.o) > ld: fatal: Symbol referencing errors. No output written to httpd > collect2: ld returned 1 exit status > > > I'd be extremely grateful for any quick tips or, failing that, > for your deep and insightful wisdom! > > Kind regards, > Steve Take Care, Eric G. Grant
hi. i am trying to make php --with-imap-ssl, here is my ./configure line: ./configure --with-ldap --with-mysql=/usr/local --with-gd=/usr/local --with- ttf=/usr/local --with-jpeg-dir=/usr/local --enable-versioning --with-system- regex --with-config-file-path=/usr/local/etc --disable-debug --enable-track- vars --with-zlib --with-gettext=/usr/local --enable-ftp --with-apxs --with- imap=/usr/local/include/c-client/ --with-mcal=/usr/local --with- mcrypt=/usr/local --with-libming=/usr/local --with-mm --with-gettext --with- imap-ssl=/usr/local/include/c-client --with-openssl=/usr/include this is the relevant output: checking for SSL support in IMAP... yes, shared checking for IMAP support... yes but than make dies while "Making all in imap" make /bin/sh /usr/tmp/php-4.0.5/libtool --silent --mode=compile gcc -I. - I/usr/tmp/php-4.0.5/ext/imap -I/usr/tmp/php-4.0.5/main -I/usr/tmp/php-4.0.5 - I/usr/local/include/apache -I/usr/tmp/php-4.0.5/Zend - I/usr/local/include/freetype -I/usr/local/include/gd -I/usr/local/include - I/usr/local/include/c-client/ -I/usr/local/include/mcal - I/usr/local/include/mysql -I/usr/tmp/php-4.0.5/ext/xml/expat/xmltok - I/usr/tmp/php-4.0.5/ext/xml/expat/xmlparse -I/usr/tmp/php-4.0.5/TSRM - DHARD_SERVER_LIMIT=512 -DDOCUMENT_LOCATION="/usr/local/www/data/" - DDEFAULT_PATH="/usr/local/bin:/bin:/usr/bin" -DACCEPT_FILTER_NAME="httpready" - DMOD_SSL=208102 -DEAPI -DEAPI_MM -DUSE_EXPAT -DSUPPORT_UTF8 - DXML_BYTE_ORDER=12 -g -O2 -c php_imap.c php_imap.c: In function `php_minit_imap': php_imap.c:451: `auth_ssl' undeclared (first use in this function) php_imap.c:451: (Each undeclared identifier is reported only once php_imap.c:451: for each function it appears in.) *** Error code 1 Stop in /usr/tmp/php-4.0.5/ext/imap. *** Error code 1 Stop in /usr/tmp/php-4.0.5/ext/imap. i have searched my sources everywhere, there is no reference to auth_ssl anywhere, except in php_imap.c was anyone successfull in compiling php with imap-ssl?
i did compile my php --with-imap-ssl without no problems i do have uw imapd installed oh make sure you have openssl installed (make sure cd openssl*;make install) and try again.. it should help ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 15, 2001 1:57 PM Subject: [PHP-INST] make failure for --with-imap-ssl > hi. i am trying to make php --with-imap-ssl, here is my ./configure line: > ./configure --with-ldap --with-mysql=/usr/local --with-gd=/usr/local --with- > ttf=/usr/local --with-jpeg-dir=/usr/local --enable-versioning --with-system- > regex --with-config-file-path=/usr/local/etc --disable-debug --enable-track- > vars --with-zlib --with-gettext=/usr/local --enable-ftp --with-apxs --with- > imap=/usr/local/include/c-client/ --with-mcal=/usr/local --with- > crypt=/usr/local --with-libming=/usr/local --with-mm --with-gettext --with - > imap-ssl=/usr/local/include/c-client --with-openssl=/usr/include > > this is the relevant output: > checking for SSL support in IMAP... yes, shared > checking for IMAP support... yes > > > > but than make dies while "Making all in imap" > > make > /bin/sh /usr/tmp/php-4.0.5/libtool --silent --mode=compile gcc -I. - > I/usr/tmp/php-4.0.5/ext/imap -I/usr/tmp/php-4.0.5/main -I/usr/tmp/php-4.0.5 - > I/usr/local/include/apache -I/usr/tmp/php-4.0.5/Zend - > I/usr/local/include/freetype -I/usr/local/include/gd -I/usr/local/include - > I/usr/local/include/c-client/ -I/usr/local/include/mcal - > I/usr/local/include/mysql -I/usr/tmp/php-4.0.5/ext/xml/expat/xmltok - > I/usr/tmp/php-4.0.5/ext/xml/expat/xmlparse -I/usr/tmp/php-4.0.5/TSRM - > DHARD_SERVER_LIMIT=512 -DDOCUMENT_LOCATION="/usr/local/www/data/" - > DDEFAULT_PATH="/usr/local/bin:/bin:/usr/bin" -DACCEPT_FILTER_NAME="httpready " - > DMOD_SSL=208102 -DEAPI -DEAPI_MM -DUSE_EXPAT -DSUPPORT_UTF8 - > DXML_BYTE_ORDER=12 -g -O2 -c php_imap.c > php_imap.c: In function `php_minit_imap': > php_imap.c:451: `auth_ssl' undeclared (first use in this function) > php_imap.c:451: (Each undeclared identifier is reported only once > php_imap.c:451: for each function it appears in.) > *** Error code 1 > > Stop in /usr/tmp/php-4.0.5/ext/imap. > *** Error code 1 > > Stop in /usr/tmp/php-4.0.5/ext/imap. > > i have searched my sources everywhere, there is no reference to auth_ssl > anywhere, except in php_imap.c > > was anyone successfull in compiling php with imap-ssl? > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > >
> Hola, mi nombre es laura y tengo las siguientes preguntas. > > Cuento con un equipo . > > Marca :HP > Modelo :827S > Capacidad Total de los Discos:3 GB > Instalado IDS 7.31 UD1 (informix full development) > Plataforma(unix):10.20 > C-ANSI > C ++ > > Quiero instalar el php versión 4 en este equipo mencionado anteriormente. > Los pasos que seguí son los siguientes: > > > 1.- gunzip -c apache_1.3.19.tar.gz |tar xf -f > 2.cd apache_1.3.19 > 3. ./configure > > 4.- gunzip -c php-4.0.4pl.tar.gz |tar xf -f > 5. cd php-4.0.4pl > 6. ./configure -with-apache=../apache_1.3.19 -enable-track-vars > 7. make > 8. make install > > nota: En el archivo configure del php-4.0.4pl tuve que modificar la forma > de compilación como lo muestro a continuación: > > # AIX -qlanglvl=ansi > # Ultrix and OSF/1 -std1 > # HP-UX -Aa -Ae -D_HPUX_SOURCE > # SVR4 -Xc -D__EXTENSIONS__ > for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -Ae -D_HPUX_SOURCE" "-Xc > -D__EXTENSIONS__" > Do > > Por que si le dejaba -Aa a la hora de aplicar el make no terminaba la > compilación por que hace referencia declaración de variables long long por > lo que se quedo como lo muestro arriba. A la hora de aplicar el make con > la modificaron realizada en el configure(-Aa -Ae) se marcaron los sig. > errores entre otros, como te lo muestro a continuación. > > cc: "zend_builtin_functions.c", line 123: warning 562: Redeclaration of > "zend_if_zend_version" with a different storage class specifier: > "zend_if_zend_version" will have internal linkage. > > cc: "zend_builtin_functions.c", line 129: warning 562: Redeclaration of > "zend_if_func_num_args" with a different storage class specifier: > "zend_if_func_num_args" will have internal linkage. > > cc: "zend_builtin_functions.c", line 150: warning 562: Redeclaration of > "zend_if_func_get_arg" with a different storage class specifier: > "zend_if_func_get_arg"will have internal linkage. > > cc: "zend_builtin_functions.c", line 188: warning 562: Redeclaration of > "zend_if_func_get_args" with a different storage class specifier: > "zend_if_func_get_args" will have internal linkage. > > > Pero continúe con los pasos 7,8 > > 9 cd ../apache_1.3.19 > 10 ./configure -with-apache=../apache_1.3.19 --enable-track-vars > 11 make > 12 make install > 13 cd php-4.0.4pl > 14 cp php.ini-dist /usr/local/lib/php.ini > > 15 cd /usr/local/apache/conf > 16 vi httpd.conf > 17 agregue los sig. > AddType application/x-httpd-php .php > AddType application/x-httpd-php-source .phps > AddType application/x-tar .tgz > > > 18 Al verificar si funciona apache no tengo ningún problema, la cuestión > es cuando mando llamar un archivo php, las instrucciones de html si me las > reconoce, pero las de php no, ejemplo: > > <html> > <head> > <title>Prueba PHP</title> > <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> > </head> > <body background="p18c01.gif"> > <? > echo ("esta es la mas simple, una instruccisn de procesado SGML\n"); > ?> > > </body> > </html> > > Por lo tanto a través del browser despliega la imagen de fondo, pero hasta > ahí se queda ya no ejecuta lo que esta entre <?..?> > > Me podrías ayudar, por que no funciona para la HP-UX. De antemano muchas > gracias > > Saludos > >
After successful configure on Freebsd 4.2 - Apache 1.3: ./configure --with-apxs I keep getting the following error during make, no matter what I do. = Could someone shed some light on this please. dns.c: In function `php_if_checkdnsrr': dns.c:188: `T_MX' undeclared (first use in this function) dns.c:188: (Each undeclared identifier is reported only once dns.c:188: for each function it appears in.) dns.c:197: `T_A' undeclared (first use in this function) dns.c:198: `T_NS' undeclared (first use in this function) dns.c:200: `T_PTR' undeclared (first use in this function) dns.c:201: `T_ANY' undeclared (first use in this function) dns.c:202: `T_SOA' undeclared (first use in this function) dns.c:203: `T_CNAME' undeclared (first use in this function) dns.c:212: `C_IN' undeclared (first use in this function) dns.c: In function `php_if_getmxrr': dns.c:242: `HEADER' undeclared (first use in this function) dns.c:242: `hp' undeclared (first use in this function) dns.c:243: syntax error before `*' dns.c:281: `i' undeclared (first use in this function) dns.c:281: `C_IN' undeclared (first use in this function) dns.c:281: `T_MX' undeclared (first use in this function) dns.c:286: syntax error before `)' dns.c:287: `cp' undeclared (first use in this function) dns.c:288: `end' undeclared (first use in this function) *** Error code 1 Stop in /usr/home/catfish/usr/local/php-4.0.5/ext/standard. *** Error code 1 Stop in /usr/home/catfish/usr/local/php-4.0.5/ext/standard. *** Error code 1 Stop in /usr/home/catfish/usr/local/php-4.0.5/ext. *** Error code 1 Stop in /usr/home/catfish/usr/local/php-4.0.5. =20 Darin