Compile apache with suphp on Ubuntu

One day my client asked me to setup a webserver on a control panel less Ubuntu server. He needs as php as suphp. Following are the steps which I followed during the web server setup.

One day my client asked me to setup a webserver on a control panel less Ubuntu server. He needs as php as suphp.

Following are the steps which I followed during the web server setup.

Downloaded all neccessary sources:

1. First compile apache from the source with following configure options
Continue reading “Compile apache with suphp on Ubuntu”

Compile apache with suPHP module [cPanel]

suPHP is a tool for executing PHP scripts with the permissions of their owners. It consists of an Apache module (mod_suphp) and a setuid root binary (suphp) that is called by the Apache module to change the uid of the process executing the PHP interpreter.

suPHP is a tool for executing PHP scripts with the permissions of their owners. It consists of an Apache module (mod_suphp) and a setuid root binary (suphp) that is called by the Apache module to change the uid of the process executing the PHP interpreter.

Continue reading “Compile apache with suPHP module [cPanel]”

Compile apache Webserver with php and install phpMyAdmin and make it available through webbrowser

The following given are the steps I followed to compile apache with php to setup phpMyAdmin in my local system.

Platform and Versions I used to compile:

OS: Centos 5.4

Apache: 2.2.14

PHP: 5.2.12
Continue reading “Compile apache Webserver with php and install phpMyAdmin and make it available through webbrowser”