Using suPHP on my web server to run Joomla - Page 2 Packages to install
Last Updated on Tuesday, 09 March 2010 15:55 Written by Joe Aldeguer Friday, 30 January 2009 22:09
| Article Index |
|---|
| Using suPHP on my web server to run Joomla |
| Page 2 Packages to install |
| Page 3 Compiling suPHP |
| Page 4 Enabling mod_suphp.so |
| Page 5 Restart apache2 |
| All Pages |
Packages to install:
run apt-get update
apt-get install binutils cpp fetchmail flex gcc libarchive-zip-perl libc6-dev libcompress-zlib-perl libdb4.3-dev libpcre3 libpopt-dev linux-kernel-headers lynx m4 make ncftp nmap openssl perl perl-modules unzip zip zlib1g-dev autoconf automake1.9 libtool bison autotools-dev g++Some of the above packages may have already been installed by Virtualmin's install script. It doesn't hurt to just run it again. APT will know what has or has not been installed and will act accordingly.
Disable the Apache php5 module.
a2dismod php5
/etc/init.d/apache2 restart
First method:
Install apache2-prefork-dev needed by suPHP. Other required packages will be installed as well.
apt-get install apache2-prefork-dev
I'll check to see if I now have apxs2 installed which is required when compiling suPHP. I am installing suPHP as a DSO.
whereis apxs2
will return /usr/bin/apxs2 (This is where Debian puts apxs2 after installing apache2-prefork-dev.)
Get the latest version of suPHP.
Into /usr/local/src.
cd /usr/local/src
wget http://www.suphp.org/download/suphp-0.7.0.tar.gz
tar -xzvf suphp-current-version
cd suphp-current-version




