note 25523 added to function.ociplogon
| From: | kakukkfu at mailbox dot hu | Date: | Thu, 26 Sep 2002 16:09:09 +0000 |
| Subject: | note 25523 added to function.ociplogon | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-37288@lists.php.net to get a copy of this message | ||
Better to insert needed variables into apache(!) (or your webserver - respectively) start script.
For example on UNIX systems /etc/init.d/apache would contain following lines before anything else:
#!/bin/bash
if [ -f ~oracle/.profile ]; then
source ~oracle/.profile
fi
The ~oracle/.profile has the appropiate settings to start an Oracle database so it is always
up-to-date for PHP, too. (If settings are changed, don't forget to restart your webserver.)
This way you just no need to worry what to include or define for PHP.
--
http://www.php.net/manual/en/function.ociplogon.php
http://master.php.net/manage/user-notes.php?action=edit+25523
http://master.php.net/manage/user-notes.php?action=delete+25523
http://master.php.net/manage/user-notes.php?action=reject+25523