PDA

View Full Version : PHP on Linux


pamount
2004-06-09, 06:33 AM CDT
Hello

I read somewhere that even though it's possbile to develop in PHP on Windows it is somehow better to develop in PHP on Linux (something about more advanced features or whatever). Is this true?

In web development I've studied ColdFusion, ASP, Javascript as well as HTML/XHTML. I'd like to cover PHP when I can.

Thanks
pamount

ewdi
2004-06-09, 06:53 AM CDT
development does not matter in which environment, what you need to think about is running them on which platform.

Ug
2004-06-09, 01:05 PM CDT
But - it would be more stable on Linux. What with Linux being a bettter server platform, and all.

pamount
2004-06-09, 01:31 PM CDT
Hello

Does that mean I should test any PHP web pages on a Linux hard drive if I'm to deploy to a Linux server?

Are there more Linux servers with PHP sites than Windows Servers?

Thanks

pamount

Jman
2004-06-09, 08:02 PM CDT
I couldn't find the specific numbers for different OSes, but PHP is definately popular (http://www.php.net/usage.php). Given that PHP is the most popular Apache module (http://www.securityspace.com/s_survey/data/man.200405/apachemods.html) and Apache is most often run on Unix like systems, PHP on Linux is popular.

I wish I had some stats to back me up.

savudin
2004-06-09, 08:16 PM CDT
Originally posted by pamount
Hello

Does that mean I should test any PHP web pages on a Linux hard drive if I'm to deploy to a Linux server?

Are there more Linux servers with PHP sites than Windows Servers?

Thanks

pamount

You can test it wherever you want if you have a server with support of php. Generally php is made to be executed on linux/unix platforms, and is not supported on windows platforms by default, however there are some programs that "simulate" a php server. If you are plannig just write and execute your php scripts just for your personal learning or pleasure you could do it and under windows, but if you are planing to have a hosting server with php support you have no choice than linux, because of stability and performance.