Date: Wed, 26 Nov 2008 17:52:43 +0300 From: =?KOI8-R?Q?=F3=D4=C1=D2=C9=CB=CF=D7_=F3=C5=D2=C7=C5=CA?= <starikov@caotus.ru> To: ports@FreeBSD.org Subject: Problems with php5-oci8 port Message-ID: <492D62BB.4020309@caotus.ru>
next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi, 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@caotus.ru +7(495)398-4436 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkktYrsACgkQiB5ezNypRycVVwCfdhinwV/SCSfV+ZADb7C/1UX0 7y4An3bPTQFrfTIlf0mWbEVPsfCnp9bI =64Cf -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?492D62BB.4020309>