What's the difference between /etc/init.d and /sbin/service

Bill Crawford billcrawford1970 at gmail.com
Mon Apr 20 17:11:08 UTC 2009


On Saturday 18 April 2009 19:21:30 Remi Collet wrote:
...
> You use want to use apache with php and Oracle.
>
> In your root environment you have all the stuff needed
> (mainly LD_LIBRARY_PATH, yes I know it's stupid, but it's Oracle)
>
> If you use /etc/init.d/httpd script apache will start.
>
> On next reboot it wouldn't because of missing environment ;)

SetEnv ORACLE_HOME ...
SetEnv LD_LIBRARY_PATH ...

in your apache config / vhosts file.




More information about the fedora-list mailing list