Can I please have php5 added to the…

Can I please have php5 added to the wporg-svn role? php5-cli is currently installed, but I’d like Apache to be able to serve PHP files (initial use case: to shuttle information in and out of the sqlite DB, for ajax requests, WP.org usage, etc.).

#php, #request

The SVN server appears to run PHP 5.4…

The SVN server appears to run PHP 5.4 now. For most repositories (notably core), we strongly benefit from pre-commit syntax checking to be PHP 5.2.

I think we need to install PHP 5.2 (old, I know) on this server. Then, a pre-commit hook can use php52 -l as needed.

There are a select few files (in our unit tests) that use 5.3 syntax, but I can patch around that in core’s pre-commit hook.

There are other options for verifying that files can be parsed (like a continuous integration procedure), but nothing beats an immediate commit rejection.

#php, #svn