Installing PHP on Debian without Apache
If you need to install PHP without apache on a Debian machine, do not try the short way You need to install dependencies of php5 first and then install php5, like below
If you need to install PHP without apache on a Debian machine, do not try the short way You need to install dependencies of php5 first and then install php5, like below
For Debian Modify /etc/network/interfaces # /etc/network/interfaces — configuration file for ifup(8), ifdown(8) # The loopback interface auto lo iface lo inet loopback # The first network card – this entry was created during the Debian installation # (network, broadcast and gateway are optional) auto eth0 iface eth0 inet static address 192.168.1.10 netmask 255.255.255.0 network 192.168.1.0 [...]
Assuming that apache is installed! Install packages apt-get install subversion libapache2-svn libapache-mod-dav Enable SSL a2enmod Add “Listen 443″ into httpd.conf if needed. Install SSL apt-get install ssl-cert mkdir /etc/apache2/ssl /usr/sbin/make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/apache2/ssl/site-name.crt Adding Basic Authentication: htpasswd2 -c -m /home/path-to/svn/project/.htpasswd username Configure site cp /etc/apache2/sites-available/default /etc/apache2/sites-available/site-name nano /etc/apache2/sites-available/site-name <VirtualHost IP_ADDRESS:443> ServerName hostname DocumentRoot /home/path-to/svn SSLEngine on [...]
If you are behind a firewall which forbids you to use some useful ports, and if you can create an SSH outside, to the “internet cloud”, here is your solution.