Reaching the Memory Limit Running Laravel Valet

If you ever get this error “PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted ” while running Laravel Valet, check out the path below for Mac users.

/usr/local/etc/php/7.0/conf.d/php-memory-limits.ini

Where 7.0 is the PHP version you are using.

If the above does not work also try the following.

/usr/local/etc/php/7.x/php-fpm.d/valet-fpm.conf

Good luck!

2 thoughts on “Reaching the Memory Limit Running Laravel Valet”

Leave a Comment