Problems with php5-oci8 port

Стариков Сергей starikov at
Wed Nov 26 06:52:53 PST 2008

Hash: SHA256


I'm using php5-oci8 in conjunction with www/apache22 port.

It builds correctly, and Apache starts correctly.
But for correct work it requires at least the varibale ORACLE_HOME (or
LD_LIBRARY_PATH and TNS_ADMIN) and, in my case, the variable NLS_LANG to
be set.
Therefore the correct autostart of Apache at the boot is impossible.
The editing of start script of Apache doesn't seems me to be a good idea.

And one more old problem with running php5-oci8 on FreeBSD in native mode:
When I'm connecting to Oracle Database from web server, which works on
Linux (or in Linux emulation on FreeBSD): everything is OK, the Oracle
Database Manager shows in status in column 'Machine' the hostname. But
when I'm connecting to database from Apache, running on FreeBSD in
native environment, I see in this field the substring of '# uname -r',
i.e for case of "6.2-RELEASE" - '.2-RELEASE'.

- --
Стариков Сергей Анатольевич
Ведущий инженер-программист
Отдела эксплуатации информационных, телекоммуникационных и
криптографических систем
Департамента процессинга единой системы почтовых переводов
ОСП ИРЦ ФГУП "Почта России"
Starikov at
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla -


More information about the freebsd-ports mailing list