I'm on Mac OS X Mojave
Step 1
I ran
php -i | grep php.ini
I got
Configuration File (php.ini) Path => /usr/local/php5/lib
Loaded Configuration File => /usr/local/php5/lib/php.ini
Step 2
I open up the ini file
vi /usr/local/php5/lib/php.ini ,
and update memory_limit to -1
Step 3
I ran
php -i | grep memory_limit
I got
memory_limit => 256M => 256M
Step 4
I restart my
sudo apachectl -k restart
and type in my password
and tried
php -i | grep memory_limit
again, I still got
memory_limit => 256M => 256M
Seems like my chages never take any effect ...
Do I need to start any service on a Mac? If so, what command to do that?
phpinfo