Tag Archives: lamp

PHP 5.2 to 5.3 gotcha

Of course everybody has been using <?php instead of <? in their PHP scripts for years now.

Well now its going to pay off because <? is FINALLY completely depreciated in PHP 5.3 ! So make sure you have replaced all your <? with <?php and all your <?= with <?php print !

ovh vps cloud vms

Just in the process of moving all my web hosting to OVH VPS cloud VMs and thought it’d be useful to document how to turn a vanilla OVH VPS into a personal multi-site webhost !

  • use OVH control panel to replace debian with centos
  • add a user
  • disable root ssh login
  • restart sshd
  • disable/uninstall unnessesary services such as smartmontools yum-updatesd
  • yum check-update
  • run system-config-security
  • yum install redhat-lsb
  • rpm install rpmforge-release
  • yum install fail2ban
  • replace sendmail with postfix (unless you like sendmail)
  • install LAMP (inc httpd,mod_ssl and PHP 5.3.3)
  • secure mysql (change root pwd and delete guest accounts & dbs)
  • chkconfig httpd and mysqld on
  • yum install perl-Crypt-SSLeay perl-Net-SSLeay
  • yum install webalizer
  • install webmin
  • secure webmin (change user & port)
  • install virtualmin
  • enable https
  • disable virtualhost mail handling (unless your not using goog apps)
  • install rrdtools
  • install webmin systemstats
  • create virtual hosts
  • scp public_html tgz and mysql sql dumps from old webhost
  • untar tgz and mysql < sql
  • change DNS ip addresses from old webhost to new webhost
  • wait 1 min !
  • check new site is running !

oracle linux 5 update 6 highlights

Oracle Linux 5 update 6 highlights (from http://oss.oracle.com/el5/docs/RELEASE-NOTES-U6-en.html)

  • Red Hat rhn-client-tools and rhnsd are replaced by Oracle up2date
  • PHP 5.1.6 and PHP 5.3.3 are included !
  • Python 2.4.3

You have a choice of kernels (3 if you are have a x86-64 processor!)

  • Red Hat compatible 2.6.18-238
  • Red Hat compatible with extra oracle bug fixes 2.6.18-238
  • Unbreakable Enterprise Kernel 2.6.31-100 (64 bit processors only)

Unbreakable enterprise kernel includes support for

  • tickless kernel
  • latencytop
  • SSD detection (solid state drive) support

drupal dependancy hell

why didnt anyone warn me about drupal dependancy hell ?

Chart Api depends on

Drupal System Charting


Views Calc

Countries Api depends on


so thats 7 drupal module dependancys ! is there an aptitude or yum like installer for drupal ?

windoz lamp webdev quick start

APACHE & MYSQL & PHP environment

Aptana launch new Eclipse IDE for PHP

Aptana Studio 1.2.1 Aptana PHP 1.0.0 is the robust, free, open source IDE for PHP featuring everything you need to get started fast and get even faster with developing, testing, tuning, and deploying your PHP apps. From pre-installed PHP servers, code assist, code templates, code generation, debugging, refactoring, database tools and more.


Read and post comments | Send to a friend