cd /yjdata/www/wordpress
sudo vi .htaccess
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /myblog/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /myblog/index.php [L]
php_value upload_max_filesize 128M
php_value post_max_size 128M
php_value max_execution_time 300
</IfModule>
# END WordPress
wordpress增加上传容量
最新推荐文章于 2021-07-16 22:46:36 发布