Programming

Want to support HowtoForge? Become a subscriber!
 

Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support (LEMP) On Ubuntu 14.04 LTS

Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support (LEMP) On Ubuntu 14.04 LTS

Nginx (pronounced "engine x") is a free, open-source, high-performance HTTP server. Nginx is known for its stability, rich feature set, simple configuration, and low resource consumption. This tutorial shows how you can install Nginx on an Ubuntu 14.04 server with PHP5 support (through PHP-FPM) and MySQL support (LEMP = Linux + nginx (pronounced "engine x") + MySQL + PHP) .

Installing Apache2 With PHP5 And MySQL Support On Ubuntu 13.10 (LAMP)

Installing Apache2 With PHP5 And MySQL Support On Ubuntu 13.10 (LAMP)

LAMP is short for Linux, Apache, MySQL, PHP. This tutorial shows how you can install an Apache2 webserver on anUbuntu 13.04 server with PHP5 support (mod_php) and MySQL support.

Running TYPO3 6.2 On Nginx (LEMP) On Debian Wheezy/Ubuntu 13.10

Running TYPO3 6.2 On Nginx (LEMP) On Debian Wheezy/Ubuntu 13.10

This tutorial shows how you can install and run a TYPO3 (version 6.2) web site on a Debian Wheezy or Ubuntu 13.10 system that has nginx installed instead of Apache (LEMP = Linux + nginx (pronounced "engine x") + MySQL + PHP). nginx is a HTTP server that uses much less resources than Apache and delivers pages a lot of faster, especially static files.

Installing Apache2 With PHP5 And MySQL Support On Fedora 20 (LAMP)

Installing Apache2 With PHP5 And MySQL Support On Fedora 20 (LAMP)

LAMP is short for Linux, Apache, MySQL, PHP. This tutorial shows how you can install an Apache2 webserver on a Fedora 20 server with PHP5 support (mod_php) and MySQL support.

Install Apache2, PHP5 And MySQL Support On CentOS 6.5 (LAMP)

Install Apache2, PHP5 And MySQL Support On CentOS 6.5 (LAMP)

LAMP is short for Linux, Apache, MySQL, PHP. This tutorial shows how you can install an Apache2 webserver on a CentOS 6.4 server with PHP5 support (mod_php) and MySQL support.

PHP session data is not deleted when using custom session management on debian (and ubuntu)

PHP session data is not deleted when using custom session management on debian (and ubuntu)

On debian systems (as far as I know this applies to ubuntu, too) the garbage collector for PHP sessions is disabled by default.

The corresponding setting in php.ini is session.gc_probability = 0 which enables the garbage collector when set to something greater than zero. The default value in PHP is 1, so the garbage collector is called with a probability of 1/100 at each PHP script call.

On debian systems this setting is disabled because of the fact that the default path for session storage is not writable for the web server process (and it shouldn't be either). Deleting of outdates session files is done by a system cron job here.

Rounding numbers to special values in PHP - e. g. "nice prices"

Rounding numbers to special values in PHP - e. g. "nice prices"

Sometimes you need to round numbers to special values. Maybe you have a shop and want to calculate your selling prices automatically, but you don't like prices like 12.52 USD.

Here's a small PHP function that can be used in many different ways to solve this problem.

How To Find Outdated Wordpress Versions On Your Server To Reduce The Risk Of Being Hacked

How To Find Outdated Wordpress Versions On Your Server To Reduce The Risk Of Being Hacked

Today we want to tell you how to find outdated Wordpress installations on your server. This can be of high risk, especially for shared hosting servers. Being attacked on massively used open source software like Wordpress is only a matter of time, once security exploits get published.

Displaying Upload Progress With nginx On Debian Wheezy

Displaying Upload Progress With nginx On Debian Wheezy

This tutorial shows how to use the nginx upload progress module to upload one or multiple files and display an upload progress bar for the user. This is useful, for example, if users upload large files, so that they know that something is going on in the background.

How To Build PHP 5.5 (PHP-FPM & FastCGI) With ionCube Loader, Zend OPcache And APCu For ISPConfig 3 (Debian Wheezy)

How To Build PHP 5.5 (PHP-FPM & FastCGI) With ionCube Loader, Zend OPcache And APCu For ISPConfig 3 (Debian Wheezy)

Since ISPConfig 3.0.5, it is possible to use multiple PHP versions on one server and select the optimal PHP version for a website. This feature works with PHP-FPM (starting with PHP 5.3) and FastCGI (all PHP 5.x versions). This tutorial shows how to build PHP 5.5 as a PHP-FPM and a FastCGI version on a Debian Wheezy server. These PHP 5.5 builds include the ionCube Loader, Zend OPcache, and APCu.

first page
previous page
3
...
next page
last page