Re: Linux distributions and tools for Linux/Apache/PHP/MySQL dev

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Feb 25, 2006 at 01:41:06PM -0900, Chris Lott wrote:
> I'm making the switch from Windows to Linux for mydesktop and
> development environment and would greatly appreciate suggestions for
> development tools on this platform. Ubuntu seems to be getting all the
> press, but suggestions about Linux distributions are welcome as well!

Before I get into what distib to use there are a few things i'd
like to point out:

  1) Avoid using the packaging system the OS provides for the
     developement server.  If you do, you will be under the control
     of the OS for your choice of versions of webserver, db server,
     php, or any dependency that is needed for those.

  2) Avoid using your desktop OS as your developement server.  With
     most distribs it is probably best you use the packaging system
     to manage upgrades and be on the latest package system avaiaible.


By following rule 1, it is rather easy to set up a system that can
handle multiple versions of any combination of your main tools
required for development.  For example, I have my development
machine able to test and run php apps with php 3.x, 4.x, 5.0.x and
5.1.x.. and soon perhaps php 6.x.  I can also control easily wich
version of apache I want to use, 1.x, 2.0.x  or 2.2.x. Of course db
mysql 4.1 or 5.0 and the latest pgsql.

For rule 2, what you work with vs what you are developing things
for on your devel server should be isolated. If you find out there
is a security update for Firefox and so you go and update your
system and silently it updated some libraries that were required by
one of your development apps, your development app will be upgraded
without you even knowing.

If you can't do rule 1 or 2 cause well you dont have the money for
two different machines, or you dont have the time to install
manually the developement apps needed, try to use a distrib for
the machine you plan on eventually publishing your code on.

I've never used Ubuntu, but another distrib i usually recommend is
Gentoo.  The learning curve for gentoo is probably a little high
but the package system is very flexible, and besides it is based on
the BSD port system :)


HTH,

Curt.
-- 
cat .signature: No such file or directory

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux