httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luis Moran Ochoa <>
Subject Re: [users@httpd] apache + oracle + php
Date Mon, 26 Jan 2004 14:35:00 GMT
Hi and thanks for the answer.....

But I'm changing a server (and a Site) that was working fine to other 
machine.... So the php code should be OK..... because it was working in 
the old
machine (the new machine has the same name and IP, the old one was 
de-plugged from the net).

The script works fine... and variables are only established if you run 
it from an xterm.....

I can't understand why the new instances created to serve new requests 
related to php + Oracle die if /etc/init.d/apache is launched during
the boot process.

I think I have a very basic error anywhere. But I don't know where....

Eimantas "EnC" Vas wrote:

> Hi
> I think your problem is that you start variable name with a number. 
> AFAIK you can't declare variables in PHP which starts with a number.
> Luis Moran Ochoa wrote:
>> I the typical script for starting apache, it's very similar to this:
>> $ORACLE_HOME=blahblahblah
>> ..... more variables.....
>> case "$1" in
>>  start)
>>     /opt/apache/bin/apachectl startssl
>>    ;;
>>  stop)
>>      /opt/apache/bin/apachectl stop
>>    ;;
>> esac
>> It works fine if you login as root and launch it using 
>> /etc/init.d/apache start
>> But when it's executed by the init process Apache runs until you try 
>> to ask for a php page
>> that connects to Oracle.... Then that apache instance dies and no 
>> more php+Oracle pages can
>> be shown....

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message