If you use eAccelerator and have updated your php5 version  you need to recompile the plugin.

First step is to go in to the source listing of your eAccelerator and follow the instructions:

In my case the source is located in /usr/src/.

cd /usr/src/eaccelerator/
make clean
phpize
make
make install

Don’t forget to restart your apache:

/etc/init.d/apache2 restart

How to put in it in the first place? See article Install and Integrate eAccelerator into PHP5 on Debian Squeeze

The Apache Software Foundation officially released the Apache 2.4 today as the first major update to this leading open-source web-server in more than a half-decade. Apache 2.4 is slated to deliver superior performance to its 2.2 predecessor and better compete with the growingly-popular NGINX web-server.

Besides much faster performance, among the many enhancements to the Apache 2.4 HTTP Server is better a-synchronous support in its core, run-time loadable MPMs, reduced memory usage compared to Apache 2.2.x, several new modules, enhancements to existing modules, and much more.

Apache HTTP Server 2.4 provides a number of improvements and enhancements over the 2.2 version.
List here:   http://httpd.apache.org/docs/2.4/new_features_2_4.html

You can download Apache HTTP Server 2.4.1 from:  http://httpd.apache.org/download.cgi

Apache 2.4 comes with new modules like:

mod_proxy_fcgi
mod_proxy_scgi
mod_proxy_express
mod_remoteip
mod_heartmonitor, mod_lbmethod_heartbeat
mod_proxy_html
mod_sed
mod_auth_form
mod_session
mod_allowmethods
mod_lua
mod_log_debug
mod_buffer
mod_data
mod_ratelimit
mod_request
mod_reflector
mod_slotmem_shm
mod_xml2enc

More info here: http://www.apache.org/dist/httpd/Announcement2.4.html

If you run an Apache2  server then you have no doubt seen the following error messages a thousand times in your error.log file:

File does not exist: /var/www/robots.txt

File does not exist: /var/www/favicon.ico

As you know by now  not having a favicon.ico file  web browsers will requesting  it each time. But you can tell Apache2  not to log the event as a mistake message.

You will still see the request in the access.log, but at least you will have a cleaner error.log file.

Solution:

Continue Reading…

What is Suhosin?

Suhosin is an advanced protection  for PHP5 installations. It was designed to protect servers and users from known and unknown flaws in PHP applications and the PHP core. Suhosin comes in independent parts, that can be used separately or in combination.

Suhosin is a great and simple way of increasing your security protection without having a immense impact on overall performance.

In this tutorial I will cover the installation and configuration of Suhosin on Debian Squeeze. I will also assume that you already have apache2 and php2 setup using this tutorial:How to install apache2, mysql5 and php5 on debian squeeze

1. Install Suhosin on Debian Squeeze:

Installation of suhosin on Debian Squeeze is simple.

apt-get update && apt-get install php5-suhosin

2. Configuring Suhosin:

The configuration file on Debian Squeeze is located in /etc/php5/conf.d/suhosin.ini.

Continue Reading…

Page Speed ​​is an open source project started by Google to help developers optimize their web pages by applying best practices in web performance.
Page Speed ​​began as an extension of the open source browser, and is now deployed in third party products as Webpagetest.org, Show Slow and Google Webmaster Tools.

How it works :

The Page Speed extensions run performance tests on the basis of a set of best practices known to reduce page load time.
mod_pagespeed, the Apache module, automatically optimizes the resources in a web page.

Installation:

First you need to download the module from here:  mod-pagespeed download

Then run the following commands to install it:

dpkg -i mod-pagespeed-*.deb
apt-get -f install

After you installed the plugin you must restart the apache2 server.

/etc/init.d/apache2 restart

Configure mod_pagespeed for using  on VirtualHosts:

Continue Reading…

Page 3 of 9123456789