0

What is the exact location of php.ini configuration file in Ubuntu 18.10

Hello, I am novice to Ubuntu 18.10 version. Previously I have used CentOS 7.6 Distro where the php configuration file locates in /etc/php.ini. But I am unaware of its location in Ubuntu 18.10 where i need to add my imagick.so extension in php.ini file.

Ubuntu php.ini ImageMagick Add a comment
symonds
asked Apr 08 2019
edited Apr 08 2019

Answer

0

In Ubuntu 18.10 , PHP 7.2 is the default version.
The exact location of PHP configuration file in Ubuntu 18.10 is /etc/php/7.2/cli/php.ini. Now you could add extension in this location to work fine.

Add a comment
linuxhelp
asked Apr 08 2019
Post your Answer