Re: Oracle + PHP +Apache connect problem?
| From: | Vince LaMonica | Date: | Wed, 23 Aug 2000 20:50:32 +0000 |
| Subject: | Re: Oracle + PHP +Apache connect problem? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-2307@lists.php.net to get a copy of this message | ||
On 2000-08-23, jarek stated:
} $ORACLE_HOME/network/admin/tnsnames.ora
}
} then
}
} in httpd.conf you need add :
}
} SetEnv TNS_ADMIN "/path/to/your/tnsnames.ora_file"
} SetEnv ORACLE_HOME "/path/to/your/oracle_home_dir"
Actually, the TNS_ADMIN should point to your directory that contains the
tnsnames.ora file, not to the actual file itself. So:
SetEnv ORACLE_HOME "/home/oracle"
SetEnv TNS_ADMIN "/home/oracle/network/admin"
/vjl/