In order to be able to use RewriteEngine to rewrite URLs you will need to have mod_rewrite installed for Apache. To Install it enter the line of code below into terminal. The following line will install for CentOS. This command may differ for different Linux…
This tutorial will show you how to zip up a folder as a tar.gz then extract the contents of a tar.gz. First start by going to the directory that contains the file that you want to compress. For demonstration purposes I will create a new…
This will guide will show you what you need to do to install phpmyadmin on CentOS via command line. In order to install phpMyAdmin you need to add a repository that contains the download. You can add the repository by executing the following command. rpm…
Directory ownership is something that often needs to be changed when an application requires read or write permissions for a directory. This can be a bit tricky to get right at times, but generally you can achieve everything you want using a chown command. Chown…
Upgrading to PHP 5.6 should be a quick and easy, but as most of us have experienced first hand, things don't always go smoothly. If you are doing this on a live web server then I suggest you put all your sites into maintenance mode…
Installing Laravel is a simple setup, but it seems like a lot of simple things also go wrong and if you don't know how to handle them it can get quite difficult to figure out what is the cause and how to fix it. One…
Symbolic links on Linux are like shortcuts on windows. Creating these links can be very useful when you want to use relative file paths or would like to restrict access to a specific folder, but still give access to a certain file. To create a…
Adding an executable file to your global include path is a must when you plan on installing any applications through a manual download. Often you may have errors when commands that once worked are now returning the following error. appname --version -bash: appname: command not…
In most cases Apaches log file will be located in "/var/log/httpd", but this isn't always the case. If you have checked this directory and the file is not present then you will have to check Apaches "httpd.conf" file in order to find out where it…