Today i’m very happy, cause myclass has been approved in phpClasses. i submit my class in phpClasses last 15 days ago. approved information get yesterday. you can backup and restore your mysql database very simply way using my class. it produce a .sql file as a backup file, and also you can restore this file using my class. Backup: when you call my backup_database method, it create a yourdatabase_name.sql file under the...
Read MoreConfigure CakePHP in Ubuntu
Configure CakePHP on Linux/Ubuntu is a bit tricky as you have to on the mod-rewrite and set the AllowOverride property from None to All. 1. mod_rewrite is a part of Apache server that can rewrite requested urls on the fly. To enable mod_rewrite in Ubuntu, you just need to write this command in terminal: [sourcecode language=’php’] sudo a2enmod rewrite [/sourcecode] 2.Open and edit the default file from this directory...
Read MoreHow to enable output compression in apache
What is deflate: deflate is apache module, that main task is to compress all the output before serving or sending to browser. How browser handle this compression : Most of the browser are very much expert ,so they can handle this easily . The main technique is , apache will send the output in compressed format, after receiving this output browser will uncompress it and render the formated output. How to enable: 1. Open a new terminal and...
Read More