在 htacces 中设置内存限制 [已关闭]
我正在WordPress上工作。我需要增加内存,所以我将以下行添加到我的.htaccess文件中
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
php_value memory_limit 64M
我的示例 php 页面
<?php
phpinfo();
但它会抛出500内部服务器错误。这是什么问题..