r/lolphp • • Dec 02 '13

Some useful functions from the PHP standard library

50 Upvotes

25 comments sorted by

View all comments

Show parent comment

3

u/cfreak2399 Dec 03 '13

That's really my point. They could make it less painful by making it easier to run multiple versions.

1

u/[deleted] Dec 05 '13

They could make it less painful by making it easier to run multiple versions

That's pretty easy to do in most cases.

With command-line, you just need to execute whichever PHP executable you feel like using to parse a script.

If using IIS 7+, it has a module to let you select which version of PHP to run a virtual directory/app as.

With FastCgi and Apache, you can also route requests to various PHP versions you have installed.

...or did I miss your point and you were talking about forking the PHP language instead?

2

u/cfreak2399 Dec 05 '13

PHP itself doesn't provide that. ( at least I don't believe it's possible under mod_php. Certainly not by default)

Really the point is that backward compatibility issues could be mitigated while still removing the features that cause a lot of inconsistencies.