RE: [PHP4BETA] Re: PHP/Oracle Silent Apache Crash

From: Date: Tue, 20 Jun 2000 16:02:36 +0000
Subject: RE: [PHP4BETA] Re: PHP/Oracle Silent Apache Crash
Groups: php.version4 
Request: Send a blank email to php-version4+get-16332@lists.php.net to get a copy of this message
Martin, Kevin (someone who reads this newgroup) responded was the first person to respond. He recommended that I build using Oracle 8.0.5 client libs-- he says he is running using them on RH6.2. We should receive the CD from Oracle today. When you build PHP as DSO do you get the error below? Syntax error on line 243 of /usr/local/apache/conf/httpd.conf: API module structure `php4_module' in file /usr/local/apache/libexec/libphp4.so is garbled - perhaps this is not an Apache module DSO? ./apachectl start: httpd could not be started Have you successfully built statically and connected to Oracle? I have it's just DSO that silently dumps without -lpthread and generateds the error message above when I include it in the ways described below: [1] Export -lpthread in LDFLAGS before configuring Apache. [2] Add -lpthread to LIBS1 line in src/Makefile for Apache. [3] Export -lpthread in LIBS before configuring Apache. Below is the reply from Kevin and his configure line used to build using 8.0.5: > Hey. This is the configure command that I used to compile PHP as a DSO... > > ./configure \ > --disable-debug \ > --with-apxs \ > --with-config-file-path=/etc/httpd \ > --enable-sysvsem \ > --enable-sysvshm \ > --with-gd \ > --with-ttf \ > --with-pdflib \ > --with-jpeg-dir=/usr \ > --with-tiff-dir=/usr \ > --with-png-dir=/usr \ > --with-zlib-dir=/usr \ > --with-mm \ > --with-mysql \ > --with-oracle=/usr/oracle/product/8.0.5 \ > --with-oci8=/usr/oracle/product/8.0.5 \ > > Again, this uses the 8.0.5 libs ... although it should work for 8.1.6 if > your apache is linked with pthreads already. > > I seem to remember running into a problem similar to what you are > describing, but I can't remember how I dealt with it in the past. > > kevin > -----Original Message----- From: thies@digicol.de [mailto:thies@digicol.de] Sent: Tuesday, June 20, 2000 4:26 AM To: Martin Horak Cc: php4beta@lists.php.net Subject: Re: [PHP4BETA] Re: PHP/Oracle Silent Apache Crash On Tue, Jun 20, 2000 at 01:18:23PM +0002, Martin Horak wrote: > > On Mon, Jun 19, 2000 at 03:21:16PM +0002, Martin Horak wrote: > > > Hi, > > > I have exactly the same problem. Did you solved it yet? > > > I've tried to compile with this LDFLAGS="-lpthread", but this > > > does'n > > > work for me. > > > > than you're not doing it correct! > > > > in apache-1.3.12/src/Makefile add -lpthread to LIBS1 > > than recompile your httpd: > > > > cd apache-1.3.12 > > rm src/httpd > > make > > > > this *will* solve your problem! > > > > tc > > > > Unfortunately it didn't. I've tried to do exactly this, but it still > doesn't work. > My configuration is: any chance to give me a login to that box? > > Apache: > SSL_BASE=../openssl \ > EAPI_MM=../mm \ > ./configure \ > --with-layout=Martas \ > --enable-module=expires \ > --enable-shared=expires \ > --disable-module=negotiation \ > --disable-module=env \ > --disable-module=imap \ > --enable-module=status \ > --enable-shared=status \ > --enable-module=info \ > --enable-shared=info \ > --enable-module=ssl \ > --enable-shared=ssl > > PHP4: > ORACLE_HOME=/usr/local/oraclient/8.0.5 \ > ./configure \ > --with-apxs=/usr/local/apache/bin/apxs \ > --with-dbase \ > --enable-sysvshm --enable-sysvsem \ > --with-config-file-path=/etc/httpd/conf \ > --with-mysql=/usr/local \ > --with-gdbm \ > --enable-sigchild \ > --with-oci8=/usr/local/oraclient/8.0.5 > > > > -- > Ing. Martin Horak > SCE a.s. Decin > horakm@mail.sce.cz > > -- > PHP 4.0 Beta Mailing List <http://www.php.net/version4/> > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net > For additional commands, e-mail: php4beta-help@lists.php.net > To contact the list administrators, e-mail: php4beta-admin@lists.php.net -- Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany -- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net For additional commands, e-mail: php4beta-help@lists.php.net To contact the list administrators, e-mail: php4beta-admin@lists.php.net

« previous php.version4 (#16332) next »