In my recent study to help me study PHP5, I’m looking forward for “easy php installer” that can help me to code in PHP4 (production) and then easily change to PHP5 (learning OOP).
I used to use Appserv in my laptop or office PC but now it can’t help me any longer with PHP5 and PHP4 since I have to choose between appserv for PHP5 OR PHP4 .
Searching with uncle google help me find two solutions for my need :
1. XAMPP ( http://www.apachefriends.org/en/xampp.html)
2. WAMP (http://www.wampserver.com/en/)
XAMPP has two version :
Full and lite version
Full version has following feature :
- PHP + PEAR
- XAMPP Control Panel
- Mercury Mail Transport System
- FileZilla FTP Server
- Zend Optimizer
- XAMPP Security
Plus other “important feature” for installation
- Method A: Installation with the Installer
- Method B: “Installation” without the Installer
Full version is my choice since it come with PHP4 and PHP5
Lite version come with PHP5 and no PHP4
WAMP is great too , almost same as XAMPP BUT I have to install it to my computer
Since I must doing presentation to friends, my boss etc . I choose to use XAMPP because it’s portable , can reside in my Flash disk .
Draw back of these installer for me is MYSQL version .
I’m a fan of MYSQL 4.0x since my hosting company still use it in production .
But later I’ll switch to MYSQL4.1 or MYSQL 5 which is recomended by MYSQL AB company .
I’ll explore interesting facility in XAMPP like Mercury Mail Transport System for mail(), how to use it in local environtment etc.
PHP 5 is getting mature , last version according to php.net is 5.1.6 but still many people (specially me) tend not to use in production scale . Why ?
1. As newbie , I’m afraid of OOP
PHP 5 support “real OOP” , person who has background with C++ or Java or Delphi has no problem with OOP . I’m not – not an easy task to switch from procedural to OOP style
2. Web hosting in general still use PHP4
Cpanel or other script for hosting management still using “stable” version which is PHP4
There’s no reason why “reinvent the wheel” to support minority customer who like to use PHP5 than average customer that like to see their hard work which is working flawlessly in PHP4
3. Is my application still work if I’m migrate to PHP5 ?
It’s my personal question to myself and fortunately I’m to lazy to find it out
4. I’m a lamer
I like to see other people code and study how it work , and when I see sample code that use PHP5 . Whoa … OOP in action , help…help . No “hello world” tutorial in PHP5 ? Wake me up please 🙂
Finally, Now I’m to lazy but wait, I’ll change to look after You all guys .
I’ll learn and we’ll see then