LAMP
How to install XAMPP
XAMPP is a full-featured AMPP (Apache MySQL, PHP, Perl) package that is one of the few non-commercial AMPP middleware stacks available on Linux. With its tight integration, XAMPP makes it possible to run anything from a personal home page to a full-featured production site (though only for development purposes; XAMPP is not meant to be [...]
How To Install PHP
Generally, the installation process of Apache with PHP is very similar to the process of installing Apache without PHP, as described in the previous article. The only difference is the use of two additional modules: mod_php and mod_security. As in the previous article, we will start by creating an account and group called “apache”. Then [...]
How to Defend against CSS and SQL Injection attacks
The last step of securing the server is implementing the logging of the GET and POST payloads, and implementing protection against Cross-Site-Scripting and SQL Injection attacks. In order to perform that, we will use the mod_security module, which we enable by adding the following line into httpd.conf: AddModule mod_security.c To enable logging of the GET [...]
How To Install Apache 2.0/PHP 4.3 and MySQL 5.0 on Redhat
• Uninstall previous versions of apache and mysql • rpm -e httpd mysql • Download and install RPM packages of MySQL’s server, client and dynamic shared libraries from mysql.com. do not opt to change the password on MySQL database unless you know what you’re doing (I don’t). If requested at first installation attempt, download the [...]
Apache 2 and PHP Installation
I first used httpd-2.0.43 and php-4.3.0 with RedHat 7.3. I am now using httpd-2.2.3 and php-5.2.0 with SUSE 10.1. Note: If you have problems with PHP and think it’s a recent bug, you may want to consider using the latest http://snaps.php.net/ snapshot. Beware that snapshots frequently have regression and are not for production use. Usually [...]
