[英]How and Where Should I create a .htaccess file?
我想操縱我的.htaccess
文件,但找不到。 通過使用Xammp和Apache ,我已經檢查了www文件夾,其中沒有任何內容。 誰能教我如何創建.htaccess
文件,以便我可以增加我的upload_max_filesize
和post_max_size
。 任何幫助將不勝感激。
如果看不到一個,則只需在目錄中創建一個即可使這些PHP值生效。 將其命名為“ .htaccess
”,並添加以下行(帶有適當的值):
php_value upload_max_filesize 32M
php_value post_max_size 16M
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.