PHP Increase Memory Limits
These are some common memory limits that you will eventually need to increase in PHP for one of your projects. The easiest way is to create a .htaccess file in the folder wherever you need the memory limits increased and add some or all of the following. php_value memory_limit 62M php_value upload_max_filesize 32M php_value post_max_size [...]
Cache Directory
Want to cache your website using .htaccess to avoid php and mysql load? An easy way to create a custom cache of your dynamic site is to generate HTML files for each of your dynamic pages, using the physical folder structure of your dynamic clean urls. Example Dynamic URL http://www.domain.com/state/city/company Corresponding Static URL http://www.domain.com/cache/state/city/company/index.html So [...]