PHP is easier to learn, there is a lot of community based help, scripts, like phpBB (In my opinion, the best one), are more common, so it is likely that if you encounter a problem, someone else will have already have encountered it (and hopefully) been able to fix it. It is possible to install on windows (for development only, you would have to be mad to host live websites on Microsoft), on servers like IIS 5.1 (The one that comes with XP Professional), and on XAMPP. PHP supports MySQL by default, I have got MySQL working through ASP with some research though. Overall, PHP is certainly the best choice, though if you have the option, choose both.
PHP is much more common than ASP, although ASP is the runner-up.
considering the fact that PHP is open source and does not depend on a licensed operating system like ASP (windows), i'd say PHP is better suited if you want to learn it. although (of course) ASP has its up- and downsides, as PHP has.
PHP code runs faster than ASP. ASP is built on COM based architecture, which is an overhead for the server whereas PHP code runs in its own memory space.
No
If you're referring to Answers.com, it's built using PHP as a backend.
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.
PHP Perl ASP
1. Cost No windows license required - run it on your Linux server. Technically you don't have to buy an IDE to code ASP, however most people do. PHP editors ideally are just a text editor with syntax highlighting, however with eclipse you can still have a free, fully featured IDE for PHP. 2. Resources Apache/PHP uses dramatically less resources than IIS/ASP - so you could get away with cheaper /older hardware. Works great with Linux. 3. Robustness/Reliability Generally speaking Apache/PHP is significantly more stable than IIS/ASP, so you will have generally better uptime. 4. Documentation/Standards Not sure how ASP is, however PHP.net has great documentation for hard-core developers, all the way down to the I just started today developers.
There are lots of benefits of using PHP over ASP Hosting is cheap and as I can think off 1. Because of free OS available that is Linux 2. Web server is free 3. Database is free (MySQL) and gels with it very well 4. As OS is Linux you don't pay any anti virus cost 5. Language is easy to learn and lots of resources available
ASP pages are a Microsoft technology. To convert them to run under Unix you could install a package in Apache that understands ASP, or you could rewrite it so that it uses something more generic, such as Perl, PHP, or Python.
bash/sh: chmod -rw test.file php: fopen('test.file', 'r') - return false (and E_WARNING)
Nearly all websites have some sort of PHP backend, although a large number use other scripts as well -- Perl, Python, ASP, CGI.