Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a code difference between vanilla PHP and Microsoft's version?

Tags:

php

iis

I'm about to install PHP on a Windows Server 2012 with IIS 8.0. I was going to download from windows.php.net as I've done before. However, I noticed MS has their site up at http://php.iis.net/

Are these two sites offering the same thing, or has MS modified the code in their PHP offering? I'd like to stay with pure PHP if they're offering a different build.

Anyone have any experience with the MS offering?

like image 636
Jonathan M Avatar asked Jan 14 '15 21:01

Jonathan M


People also ask

Is .NET same as PHP?

PHP (Hypertext Preprocessor) is a general-purpose and open-source scripting language used for developing dynamic and interactive web applications. . NET (Dot NET) is a software development framework used for developing and running applications from the web, mobile and windows-based applications.

What does vanilla PHP mean?

Vanilla PHP just means plan original PHP without any framework. axiac : As a general rule, the expression "vanilla " means that "" without any addition or customization.

What is the difference between PHP and PHP framework?

Core PHP has a rich set of functionalities available so that the developer does not have to embed the same code again and again. When it comes to PHP framework, they usually have a fixed set of rules and hence the code can be passed from one developer to another without any hassles.


1 Answers

I believe it is the same PHP. You can see the official php.net documentation on IIS installs here:

http://php.net/manual/en/install.windows.iis7.php

You can even build or install the PHP you want and connect it to IIS manually (so it would be the same PHP you get anywhere else). Using the MS installer, could they have tampered with PHP? Yes. Did they? I seriously doubt it.

One major difference is the extensions available on IIS. Like how they offer Windows Cache instead of APC. I believe pretty much all pecl extensions work however.

http://php.net/manual/en/book.wincache.php

So you may find a quite different ecosystem of extensions but the core language looks to be exactly the same.

like image 78
Daniel Williams Avatar answered Oct 12 '22 02:10

Daniel Williams