Modify php Upload restrictions modify phpmyadmin restrictions
// Find
-
- Options FollowSymLinks
- AllowOverride None
// Change
- Options FollowSymLinks
- AllowOverride All
// You can.
-
Create a new. htaccess file in the directory. this is not allowed in windows by default. you can create a file under Dreamweaver file management. Write in. htaccess
- Php_value post_max_size 12 m
- Php_value upload_max_filesize 12 m
- Php_value max_execution_time 120
- Php_value max_input_time 240
-
You can. Supplement: The method of using ini_set ("post_max_size", "80 M"); does not work. The modifiable range of post_max_size is PHP_INI_PERDIR. PHP_INI_PERDIR is a domain command that can only be modified in the php. ini, httpd. conf, or. htaccess file, so it does not work. Php_value name value indicates the value of the specified command. Only commands of the PHP_INI_ALL and PHP_INI_PERDIR types can be used. To clear the previous set value, set the value to none. Note: Do not use php_value to set a Boolean value. Php_flag should be used (see below. Php_flag name on | off is used to set configuration commands of the Boolean type. Only commands of the PHP_INI_ALL and PHP_INI_PERDIR types can be used. Php_admin_value name value indicates the value of the specified command. It cannot be used in the. htaccess file. Any value set in php_admin_value cannot be overwritten by commands in. htaccess or virtualhost. To clear the previous set value, set the value to none. Php_admin_flag name on | off is used to set configuration commands of the Boolean type. It cannot be used in the. htaccess file. Any value set in php_admin_flag cannot be overwritten by commands in. htaccess or virtualhost. |