如何在命令行上覆盖 PHP 内存限制
使用 -d memory_limit=512M 在命令行上覆盖内存限制或其他 PHP 参数,而无需修改 php.ini:
php_memory_limit.sh
php -d memory_limit=512M script.phpCheck out similar posts by category:
PHP
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow