andy jones
andy jones

Reputation: 922

Php.ini extension directory not working

In my php.ini file i have setup on Mac OSX i've added in an an extension directory:

extension_dir = "/usr/local/php5/lib/php/extensions/no-debug-non-zts-20131226"

I've restarted apache and noticed that it isn't using this address instead:

/usr/local/Cellar/php56/5.6.26_2/lib/php/extensions/no-debug-non-zts-20131226

Now i'm 100% sure im in the correct php.ini files as i checked the php info and it says /private/etc/apache2/php.ini

I'm trying to get mcrypt installed which is in the first directory, am i looking at the wrong ini file? Or am i being silly and writing something incorrectly?

What am i missing?

Upvotes: 1

Views: 1703

Answers (1)

andy jones
andy jones

Reputation: 922

sudo killall httpd

and then

sudo apachectl start

fixed my problem, Thanks to YvesLeBorg for the info.

Upvotes: 1

Related Questions