In the event that you intend to install PHP on a Linux operating system or any other Unix variant, it is imperative to take into account the following prerequisites: Below are the steps to install Apache and PHP on your Linux or Unix computer. A table with all the information about your new PHP installation will be displayed. Congratulations!! your server is ready.