Hello everyone,
Just finished what seems to be a working installation of ISPCP on Ubuntu 8.04 LTS. Didn't have the time to test a real website on it but here are the things you need to know to have a basic installation "fully" working :
1) Get a nightly build as the RC7 doesn't have all the file right for a successfull installation.
2) Make sure you execute all the command with "sudo" in front even if you are logged as root (with su) otherwise rights will be wrong when you will issue "cp" commands.
3) When you compile (5. in the doc
http://www.isp-control.net/ispcp/browser...tu/INSTALL ), you need to issue the following command instead of the one in the documentation :
Code:
# sudo make -f Makefile.ubuntu install
otherwise ISPCP will compile as if you were on a Debian system and there will be a bunch of wrong paths which will make some services not work (proftpd for example don't get the right config file if you don't compile like that).
4) Even if it's suppose to be corrected in the nightly build you might need to edit the 00_master.conf file located at /etc/apache2/sites-available and at /etc/ispcp/apache
In that file, where you see :
Code:
<IfModule mod_fcgid.c>
<Directory /var/www/ispcp/gui>
FCGIWrapper /var/www/fcgi/master/php5-fcgi-starter .php
the next line MUST be :
otherwise you will get a 403 page everywhere.
5) When you get there, everything seems to work but the filemanager won't. It's because it's missing the php mcrypt module. The documentation talk about that but the instructions to fix it are wrong. Here is what you need to do :
In /etc/php5/conf.d you need to create a file mcrypt.ini with the following line :
Code:
extension=mcrypt.so
Make sure that the file has chmod 644 (otherwise the file will not be read by Apache)
Make sure that the file is also in /etc/php5/cgi/conf.d
Then restart Apache by issuing :
Code:
/etc/init.d/apache2 restart
Now the filemanager should work.
If you do that you should get a working installation. As I said on top, I didn't had the time to test a real website yet but I will do in a few hours.