/etc/php5/apache/php.ini
post_max_size = 20M
upload_max_filesize = 20M
ps: post>=upload size
SET GLOBAL storage_engine = engine_name;Setting the storage engine this way affects any client that connects after the statement executes. Clients that are connected at the time of statement execution are unaffected.
SET SESSION storage_engine = engine_name; SET storage_engine = engine_name;
ps: I wrote "innodb" instead of "engine_name" this will only change the default engine for temporary. If you would like to set it permanently you should edit the /etc/mysql/my.cnf file. [mysqld] default-storage_engine = innodb ... $ sudo service mysql restart