≡ Menu

php file_uploads = Off

Apache / Nginx / Lighttpd: PHP Disable File Upload

I am in the process of setting Apache and PHP for my small business server. I'm not utilizing file upload functionality in any of my PHP scripts. How do I disallow uploading files under CentOS or Ubuntu Linux based LAMP server?
[click to continue…]

PHP Security: Limit Resources Used By Script

How do I control and put limits on php scripts such as maximum execution time of each script and upload file size?
[click to continue…]