How can I set a development environment for PHP on my Ubuntu (latest version) Virtual Machine? I’m going to install XAMPP (MySQL, PHP, Apache) and use that as a starting point.
My intention is to eventually use a PHP framework like Kohana once I finish learning the basics.
Can these XAMPP and Kohana be installed side by side? I’m used to installing XAMPP on Windows by clicking next next next; what is the best way to install and set up the dev environment on Linux?
What software can I use to program in PHP/Html/CSS on Linux? I’m coming from a Visual Studio background so intellisense would be VERY welcome.
On Linux, it’s LAMP (Linux, Apache, MySQL and PHP).
Doesn’t make any sense. XAMPP (or LAMP) is server software and is used to process web frameworks like Kohana. So Kohana can’t run without XAMPP.
Easiest way? From a terminal:
That will automatically install Apache (dependency of php5), MySQL and PHP.
As for IDEs, a lot of people stand by Netbeans for good reason. It has xdebug and phpunit integration plus a slew of other cool stuff. Check out the Netbeans PHP Blog to see what you can do.