Categories
Generally Sysadmin

Installing the final PHP 7 as a php-fpm module on a Ubuntu 14.04 LTS system.

A view months late, the PHP community finally released the final version of PHP 7. Planned on October the final Version is now available for Download via Github. Because there are no official packages to be installed for Debian or Ubuntu at the moment, we’ll create a PHP 7 php-fpm module by compiling the source code ourselves. That will also allow us to continue having PHP5 on our server as the main version but use PHP7 to test our projects for compatibility.

Categories
Generally Sysadmin

Php-cgi and suexec like configuration using NginX and php-fpm (LEMP Setup)

If we want to secure our own LAMP server or provide web space for friends or customers we would usually use php-cgi and suexec to let the scripts execute with different users. With NginX the setup somewhat differs but with php-fpm pools we can achieve the same sort of additional security.

Categories
Coding Sysadmin

Installing PHP7 Beta 1 as php-fpm variant on a Ubuntu 14.04 LTS system.

After major parts of the PHP community were against releasing PHP6 as the successor of PHP5, the new official replacement of PHP5 will now be PHP7. A first beta version is now available and the final release is planned on October 2015. Because there are no official packages to be installed for Debian or Ubuntu at the moment, we’ll create a PHP 7 php-fpm module by compiling the beta 1 source code. That will also allow us to continue having PHP5 on our server as the main version but use PHP7 to test our projects for compatibility.