Re: This makes no sense

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 11/24/2014 2:28 PM, christopher jones wrote:


On 11/24/14, 11:01 AM, Jorge F. Hernandez wrote:
Hey guys,

I just compiled php 5.6.3 for my Linux distro, among with it I compiled 2 extensions (oci8 and pdo_oci) using Oracle Express 11g libraries (that's what the server has), when I run php -m they both show, but when I go to phpinfo page they don't.

Any ideas?

Thanks.

Check your Apache logs.  Quite possibly your Apache environment
doesn't have LD_LIBRARY_PATH or ORACLE_HOME set to the Oracle
directories.

See "Setting the Oracle Environment for PHP on Linux" p77 of
http://www.oracle.com/technetwork/topics/php/underground-php-oracle-manual-098250.html

Chris

That didn't work for me, I added the export lines to my /etc/sysconfig/apache2, restarted apache, but they still don't load in apache, I even added them to my /etc/init.d/apache2 with the same result.




[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux