Browsing articles tagged with " apache"

Increase the max upload filesize in Apache/PHP


Have you ever experienced with this message when you implement File upload function in to you PHP code ” Error:The uploaded file exceeds the maximum allowed size in your PHP configuration file “ Your php installation putting limits on upload file size. The default will restrict you to a max 2 MB upload file size.


How to Install Linux, Apache, MySQL, PHP on Ubuntu

download (5)

Step One—Install Apache Apache is a free open source software which runs over 50% of the world’s web servers. To install apache, open terminal and type in these commands: sudo apt-get update sudo apt-get install apache2 That’s it. To check if Apache is installed, direct your browser to your server’s IP address (eg. The page should display the words “It works!” like this. How to Find your Server’s IP address You can run the following […]


Install phpMyAdmin on Ubuntu Linux

download (4)

The easiest way to install phpmyadmin is through apt-get: sudo apt-get install phpmyadmin During the installation, phpMyAdmin will walk you through a basic configuration. Once the process starts up, follow these steps: Select Apache2 for the server   Choose YES when asked about whether to Configure the database for phpmyadmin with dbconfig-common   Enter your MySQL password when prompted   Enter the password that you want to use to log into phpmyadmin After the installation […]


How to Check Apache Module and Enable Apache Modules?

download (3)

We can use apache2ctl -M to the module that has been enabled on apache. Or if you have apache + PHP you can check it from phpinfo() function <?php echo phpinfo(); ?>   What if you want to enable the module you can use a2enmod “The module name”   for example “enable mod_rewrite” :: #a2enmod rewrite   Then restart the apache service #/etc/init.d/apache2 restart or #service apache2 restart


Installing PHP5 and Apache on Ubuntu


Installing PHP5 and Apache on Ubuntu If you are doing any kind of PHP development, you’ll almost always be using Apache along with it. Here’s the quick and easy way to get PHP up and running on your Ubuntu box. First, you’ll want to add the extra repositories to Ubuntu’s sources.list file. From a command shell, you will run the following commands: sudo apt-get install apache2 sudo apt-get install php5 sudo apt-get install libapache2-mod-php5 sudo […]

Member Area