Originally Posted by Hans
An ISPConfig version 2 server makes use of two different Apache servers.
Apache 1.3.x for ISPConfig, which servers on port 81 and Apache2.x which servers on port 80 and 443.
Your websites are served by Apache2, so you can enable php5mod for Apache2 with the command: a2enmod php5
To force that the change will take affect reload Apache2 afterwards with the command: /etc/init.d/apache2 force-reload
If i'm not mistaken these commands work also on Centos/Fedora/Suse. (I use Debian).
Hi, I followed the instructions for CentOS 5.2, and Apache2 never got installed as far as I can tell. There is no /etc/init.d/apache2 (but there is /etc/init.d/httpd). Also, I don't recall ever seeing a part of that manual that installs apache2.
Here is the line given in page 6
of the manual
yum install php php-devel php-gd php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel
So of course when I try to do that command you gave, I get the error
-bash: a2enmod: command not found
So as you can see, I am totally confused why you guys are referring to apache2, when there is no such thing installed when following the perfect installation manuals...
If apache2 needs to be installed, what is the best way to do so? And should you also update the manual to reflect this?