PHP Module Installed but wont running

Recently i’m facing a problem that PHP module i need and installed won’t run. I’m using ubuntu 13.10 and lamp package.

I noticed that in phpinfo() :

  •  Additional .ini files parsed, not loading the ini files for the module i have installed.
  • Scan this dir for additional .ini files, point to ‘/etc/php5/apache2/conf.d’.

After several hour i found out that when i installed the module using apt-get (ex : sudo apt-get php5-interbase) it placed the .ini files not in ‘/etc/php5/apache2/conf.d’ but in ‘/etc/php5/conf.d’.

The solution is that we should copy or move or link the .ini files in ‘/etc/php5/conf.d’ to ‘/etc/php5/apache2/conf.d’.

These simple solutions that saves the day..

Published by indradhi

coding + sharing = influence

Leave a comment