LAMP on Linux 22.04

This post contains notes to install Apache2, MySQL and PHP on a Ubuntu Server 22.04. This is not a tutorial but a checklist. Install the required softwares

Read More

How to protect an Apache Website with a password

This blog post assumes that Apache is already installed. You’ll need to install this package in order to protect the website with a password. First of all, you’ll need to

Read More

Make an Apache2 SSL server more secure

These easy steps will improve significantly the security of your Apache2 SSL server. Edit your /etc/apache2/mods-enabled/ssl.conf file and replace the SSLProtocol, SSLCipherSuite and SSLHonorCipherOrder parameters with the following values. SSLCipherSuite

Read More

Installing memcached to use it with php

Installing Memcached with php support in Ubuntu is a matter of a few steps: sudo apt-get install memcached php5-memcached sudo service apache2 restart You can test if memcached is active

Read More

preinst: line 118: a2query: command not found

If you are getting the following errors while trying to install Apache on Trusty (Ubuntu 14.04), execute the commands below and try to re-install it. Preparing to unpack …/apache2_2.4.7-1ubuntu4_amd64.deb …

Read More

How to change the maximum upload file size in PHP

You can increase the maximum upload file size for only one application by creating a php.ini file in the directory where the file upload PHP script is. Add the following

Read More