简体   繁体   中英

Edits on PHP.INI not making effect

I'm on MacOS Mojave. phpinfo() shows my php.ini file is on

/usr/local/php5/lib/php.ini

But the problem is, i edit it, put new modules to be loaded, even put invalid instructions, and Apache log file show nothing / no errors when i restart it.

Is there any other location php.ini can be, even if phpinfo() shows the location above ?

Thanks

Is it possible that your Apache not using PHP from /usr/local/php5/ path? Did you install another PHP version (or update) before? Can you please check phpinfo? For example what it does say for "Loaded Configuration File" and "Scan this dir for additional .ini files"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM