httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luis Moreira <luis.more...@esinnovation.pt>
Subject Re: [users@httpd] apache + oracle + php
Date Mon, 26 Jan 2004 14:55:46 GMT
Did you check the permissions, as I suggested ?

Luis

----- Original Message -----
From: "Luis Moran Ochoa" <>
To: <users@httpd.apache.org>
Sent: Monday, January 26, 2004 2:35 PM
Subject: Re: [users@httpd] apache + oracle + php


> 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
> >> $ORACLE_SID=ORA
> >> ..... 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:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message