First of all we will explain the terms used. DSO – Dynamic Shared Object MPM – Multi-Processing Modules The idea is to run on the same apache both mod_php (DSO) with suphp. First, mod_php is very fast but sux at security chapter. In this case (example) Apache with MPM Prefork have two virtual hosts, each [...]
Perhaps you have wondered how to set per virtual host settings when using mod_php (DSO) to apache. The suPHP is simple for each user or virtual host can have his own php.ini . In the example below you can see how to configure a virtual host with PHP custom settings. We use Suhosin to enhance [...]
You may have noticed that attempting to run yum install mod_security For CentOS will not work a fresh install you will get this error No package mod_security available This is because there is no mod_security repository in CentOS, How to add the mod_security repository: CentOS Repository Setup In order to run mod_security, you will need [...]
In this tutorial we will integrate APC (Alternative PHP Cache) into PHP5 on a Fedora 13 system (with Apache2). Step 1 To check PHP5, we create the file info.php in our document root /var/www/html: pico /var/www/html/info.php After this we call that file in a browser: http://192.168.10.10/info.php We have PHP 5.3.2 installed without APC installed. Step [...]



Recent Comments