Re: Re: HTTPD doesn't start when configured with PHP4 with oracle
| From: | Joe Conway | Date: | Sat, 01 Jul 2000 05:00:02 +0000 |
| Subject: | Re: Re: HTTPD doesn't start when configured with PHP4 with oracle | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-4218@lists.php.net to get a copy of this message | ||
>> When I start Apache using "apachectl start", it dies immediately without
any
>> error messages.
>>
>> I don't know where I'm going wrong. Can anyone help me?
>
>Follow the instructions at http://bugs.php.net about core dumps
>and Apache
logs.
>--
I had a similar problem which took two actions to solve it. First, recompile
apache after adding
"-lpthread" (without the quotes)
to the LIBS1 line in the makefile. Apparently this is related to a known
glibc bug and the fact that the oracle client library is threaded.
Alternatively you can add
"LIBS=-lpthread \" (no quotes)
just before OPTIM="$RPM_OPT_FLAGS" \ in the apache.spec file if you want to
work from an RPM source file (this is what I did).
The second thing to check is that you have LD_LIBRARY_PATH=$ORACLE_HOME/lib
defined in your environment.
Hope this helps.
Joe