PHP INI file is located in different places based on your server and OS. So read this guide to find where PHP INI file located. For example, a file located In Cpanel Software/MultiPHP INI Editor/select website In Windows > XAMPP C:\\xampp\\php\\php.ini In Linux > LAMP /opt/lamp/etc/php.ini