Where Can I Find Php Ini in Linux?
Contents

The default location for the php. ini file is: Ubuntu 16.04:/etc/php/7.0/apache2. CentOS 7:/etc/php.

Where is the php ini file in Linux?

ini file is found at /etc/php. ini. There are also a couple more configuration files from the php package. The php package requires the httpd package to be installed, which makes sense as these are the configuration files that tell Apache how to work with PHP.

Where can I find php ini file?

For Windows, you can find the file in the C:xamppphpphp. ini -Folder (Windows) or in the etc -Folder (within the xampp-Folder). Under Linux, most distributions put lampp under /opt/lampp , so the file can be found under /opt/lampp/etc/php. ini .

Sophia Al-Mansoor

Sophia Al-Mansoor

Global Business & E-Commerce Reporter

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.

Share this article
Twitter Facebook Pinterest