Error message

  • Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in book_prev() (line 775 of /home/mindpiss/
  • Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /home/mindpiss/

My first unmanaged Virtual Server - IV. PHP5

/# apt-get install libapache2-mod-php5

Lets create a php info file to call to see if it works:

/# pico /var/www/index.php

Enter these lines:

<?php phpinfo(); ?>

Use Control + o to save and Control + x to exit. Now reboot apache with:

# /etc/init.d/apache2 restart

Go to your severs IP and add
This should call your php info file giving you the installation settings. It worked! (hopefully!)

Now maybe install any extra packages you require. Search for them using

# apt-cache search php5

and install all you need:

apt-get install php5-geoip php5-imagick php5-memcache php-pear php5-tidy  php5-mysql

Reboot again..

# /etc/init.d/apache2 restart

- http server (apache, Lighttpd or nginx)
- mysql
- php
- phpmyadmin
- mailserver
- webmail
- maybe ftp/sftp server
- maybe my own nameserver (or maybe continue to use the hosts or registrars?)
- possibly tomcat / jre
- security!! (unmanaged means I have to make sure my VPS stays hack-free)