Tag: Laravel Valet

  • Increase PHP memory limit in Laravel Valet

    In /opt/homebrew/etc/php/8.0/php.ini – or whichever PHP version you’re running – find and increase memory_limit to 512M or 1024M or whatever you need to debug. (If the memory_limit line is commented out – i.e. has a prefix of ; – make sure to remove it). You may also need to add the following line to your…

  • Fix 504 Gateway Timeout in Laravel Valet

    Add: In /opt/homebrew/etc/nginx/nginx.conf, right before: All credit to / solution from: https://github.com/laravel/valet/issues/315#issuecomment-1362039656 https://dev.to/aubreypwd/how-i-configured-niginx-valet-to-stop-the-504-gateway-time-out-during-long-xdebug-sessions-174i

  • Solving MySQL error with Laravel Valet on macOS Ventura

    After updating to macOS Ventura, everything seemed to be fine with my Laravel Valet (v4.1.2) setup, but after restarting / doing some other thing which screwed everything, I couldn’t connect to the database properly. I tried everything. In the end how I fixed it was abandoning MariaDB (& removing all any any traces of it),…