更多精品http://shop65927331.taobao.com
分类:
2010-02-12 11:55:32
Edit php.ini, enter:# vi /etc/php.ini
Set up values as follows:
max_execution_time = 30 max_input_time = 30 memory_limit = 40M
Set maximum size of POST data that PHP will accept:
post_max_size = 8M
Set maximum allowed size for uploaded files:
upload_max_filesize = 2M
Turn on or off HTTP file uploads (disallow uploading unless necessary):
file_uploads = Off
Make sure PHP redirects appropriately with the following:
cgi.force_redirect = 0
Disable file requests as fopen calls with the following
allow_url_fopen = Off
Turn on SQL safe mode:
sql.safe_mode = O
web server:# service httpd reload
原文出处:
转载有理,分享无罪