answersLogoWhite

0

PHP with Linux is completely different, since everything is free (Linux, Apache, Mysql, FileZila, PHP, etc.). Linux is also way more stable for production use, since it's regularly updated (at least once a months, for certain distribution). Remember, the internet runs on Linux, mostly CentOS and RedHat.However, windows is way more compatible with everyday applications. The best would be to have a development computer running Linux (buy an old, use computer, install Linux on it), and have an everyday Windows computer.

User Avatar

Wiki User

13y ago

What else can I help you with?

Continue Learning about Basic Math

Why is PHP better than JSP?

in the past ive found jsp to be much slower than PHP (correct me if im wrong) PHP is a solid stable web language and much faster in my opinion :D


Where do you get php cli?

If the operating system is linux open a terminal or ssh to the server and type: (as root) which php-cli or which php5-cli if nothing is ouputted it can't find it, then check if you've got it installed. Debian based distro's: apt-get install php5-cli hope this helps.


How do you compile php code?

To compile PHP code, you do not use a traditional compiler like you would with languages such as C++ or Java. PHP is an interpreted language, meaning the code is executed directly by the PHP interpreter. To run PHP code, you need a web server with PHP installed, such as Apache or Nginx. The PHP interpreter reads the code, processes it, and generates the output dynamically.


What are the limitations of PHP?

Everything has limitations or disadvantages and PHP is no exception. The following are the limitations of PHP (so be WARNED !!) # PHP is NOT 100 % pure Object Oriented scripting language. But in near future PHP may support 100% object oriented scripting (PHP may imitate most of the syntax of Java language). PHP already imitates some features of Java language. (In future PHP language will imitate most features of Java language and Java programmers will love PHP. And PHP will have java keywords like class, extends, interface, implements, public, protected, private etc..). # PHP will NOT give the performance of "C" or "C++" language. Because it is scripting language and is interpreted it will be a bit slower than the optimized "C++" programs. For top performance, you should use "C++" and fast-CGI with database/webserver connection pooling and use C++ compiler optimizer "-O3" options. Zend optimizer in PHP 4 will speed up the performance of PHP and bring it very close to optimized "C" code . # But note a point that PHP was designed for very Rapid Web-Application Development tool. If it takes about 3 months to code a web application in C++, then using PHP you can develop the same web application in just 4 days!! And with zend optimizer, the speed of execution of PHP will be very close to that of equivalent C++ program!! Hence, there is really no advantage in using C/C++ for web development. PHP itself is written in 100% "C" language. On the other hand, PHP has lot of advantages and it's advantages outweigh it's limitations - # You can very rapidly develop web applications in PHP as compile and link is eliminated in PHP scripting language. # PHP applications are very stable and do not depend on the browser technologies unlike Javascript applications which depend on browsers. PHP will give you the freedom to select any server platform. The browser does not know that the HTML page is generated by PHP !! # PHP has excellent database conectivity to all SQL database servers. # PHP has partial support for Object oriented features # PHP has C++, Perl, Javascript like syntax features and has programs like 'ptags/ctags' to navigate the source code # PHP has Zend optimizer which speeds up the performance # PHP runs on all unixes, linux, Windows 95/NT/2000 and is more powerful than ASP, JSP and others. # PHP has a very large user base and developer base.Ref:http://www.linuxdocs.org/HOWTOs/PHP-HOWTO-14.html


What is new in PHP?

PHP is a recursive acronym for "PHP: Hypertext Preprocessor" created by The PHP Group. PHP is a widely used server-side scripting language and the general purpose of PHP is to create dynamic Web Pages. For more information, visit the PHP website.

Related Questions

Will PHP code developed on Windows work on an Apache server on Linux?

Generally speaking, yes. There are certain extensions to PHP one could install on Windows that would provide functions that aren't present on Linux.


Which better between windows and Linux?

Windows is better for desktop computers. Linux is better for servers.


You have Linux server with PHP MySQL running on it can you shift entire setup on Windows since there are speed related issue on Linux server?

yes you can if you have the same php and mysql version on the windows machine just take a copy of the files and do a mysql db backup and move it. but if your haveing speed issues with Linux youll get worse on windows. yes you can if you have the same php and mysql version on the windows machine just take a copy of the files and do a mysql db backup and move it. but if your haveing speed issues with Linux youll get worse on windows.


How i can begin php in Linux?

PHP on windows runs using the WAMP Server while on Linux it runs using the LAMP Server. Try getting a LAMP Server from a search engine


Is ASP.NET or PHP better for building WEB 2.0 applications?

PHP is more universal since it can run on Windows, Linux, Unix, etc. ASP.net must run on a Windows web server (specifically IIS). You can use Mono on Linux and other platforms to develop and run .NET applications, but PHP is still more universal. You also have better chances of finding open source extensions and code for specific purposes for PHP. With ASP.net you will probably need to pay for some commercial components.


Which server application is better Linux or Windows 2008?

Linux


Active Server Pages is supported by which operating system?

Active Server Page, or ASP, is a Microsoft language. So, the most common answer is Windows. Linux will support some versions of the ASP language, but there are better alternatives for Linux, such as PHP.


Can you run PHP on Linux?

Yes. Many popular websites run PHP on Linux.


What is lamp in php?

LAMP stands for Linux-Apache-MySQL-PHP. In simpler terms it contains everything to build a php application on a linux platform.


How do you run php?

Easiest way would be to download a full package preferably xampp, wamp for windows, lampp or lamp for linux and mamp for macintosh. Then run php through localhost


What is a good server for PHP language?

The best server yet for php serving is Apache, as PHP and Apache work closely together. The MySQL community database is a good server for PHP applications, this is why we talk about w/xamp servers, Windows/Linux Apache MySQL PHP servers.


Why is Linux better than Windows for servers?

Linux is better than Windows for servers because it is more stable and more secure which are two important reasons why it is better for your server and why you can trust it more.