CyberTek - the future at the present!
Google

Archive for the 'Apache' Category

Enable PCNTL form in php

Posted by: admin (Tue 14)

To enable support PCNTL in php5 (tested on Ubuntu 10.10) in the first instance it is necessary to install php5-cli and php5-dev, of course you must meet all the required dependencies from the system:

# Sudo apt-get install php5-dev php5-cli

After we have to put in the path where you can find the source of the form that we want to fill in:

# Cd / etc/php5/cli/php5-5.3.3/ext/pcntl

The path may be different, depending on the distro and version of php (/ etc/php5/cli/php5-xxxxx/ext/pcntl). But after we pass the final steps:

# Phpsize

#. / Configure

# Make

# Make install

Alternatively you can also make install to copy by hand the module you just compiled:

# Cp modules / pcntl.so / usr/lib/php5/shared_location_modules

Finally add the. Ini to load the php our form:

# Echo "extension = pcntl.so"> / etc/php5/conf.d/pcntl.ini

Do not forget to restart apache then to apply our changes:

# / Etc/init.d/apache2 restart

Published in: apache , development , php , tips , ubuntu

Protect your Apache web sites

Posted by: admin (Apr 20)

ModSecurity ModSecurity is an Apache module that allows your truly effective ways to increase the defense from malicious attackers.

This true firewall is recoverable for apache:

http://www.modsecurity.org/download/index.html

The module is very rich and willing to be honest alquantocomplicato to implement, but for this to lift a massive barrier against the aggressors of our websites, please refer to the documentation for the proper setting.

Updated filters can be found at: http://downloads.prometheus-group.com/delayed/rules/

Published in: apache , linux , tech
Powered by CyberTek - Remote Assistance