Posts

Showing posts from December, 2012

Increasing the file upload limit in php and phpmyadmin

# Open the php.ini with favorite text editor sudo gedit /etc/php5/apache2/php.ini # Change the value of these fields according to your needs memory_limit post_max_size upload_max_filesize # Restart apache sudo /etc/init.d/apache2 restart and you are set.

Apache, PHP, MySQL, PhpMyAdmin installations in Ubuntu

Update list of available packages: sudo apt-get update To install apache2 server:  sudo apt-get install apache2   To start apache server for testing: sudo /etc/init.d/apache2 restart   Go to http://localhost/ You should see a It Works! page To install PHP:  sudo apt-get install php5   To install MySQL:  sudo apt-get install mysql-server Set a password when prompted To check installation, issue the command mysqladmin To install phpmyadmin: sudo apt-get install phpmyadmin select apache when prompted for web-server configuration when prompted for phpmyadmin configuration, select no after installation, run the following command sudo cp /etc/phpmyadmin/apache.conf /etc/apache2/conf.d restart apache and goto localhost/phpmyadmin to test the installation