Page MenuHomePhabricator

Turn on PHP on stat servers
Closed, ResolvedPublic

Description

Talked to Toby about this recently...

Since we have far more PHP developers than Python developers, we could distribute more analytics work simply by making PHP available on the stat servers. This would also open up a bigger pool of code reviewers for analytics code.


Version: unspecified
Severity: normal
Whiteboard: u=Developers c=General/Unknown p=0 s=2014-07-24

Details

Reference
bz68937

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:41 AM
bzimport set Reference to bz68937.
bzimport added a subscriber: Unknown Object (MLST).

Otto -- how difficult to do is this? If it's straightforward, we should probably just do it as it seems like it would make it easier for folks to use the data.

thanks,

-Toby

Is this just getting php packages installed, or is this about running a php webserver? If the former, it's trivial, but the latter is harder and will also need more careful review / work for security issues.

I think doing the former is completely ok, since we run python only to generate things that are served as static files, while the latter is a bit messy.

Also, php sucks :P

Just the packages. We want to make it easy for Kaldari to access the dbs to generate files for Limn.

I have made this point about php myself. Numerous times.

Change 150985 had a related patch set uploaded by Yuvipanda:
stats: Install php commandline packages to the crunchers

https://gerrit.wikimedia.org/r/150985

^ Patch installs the php commandline client only, along with the php5-mysql package.

(In reply to Toby Negrin from comment #1)

Otto -- how difficult to do is this? [...]

He is not CCed :-)
Not sure he received this ping.
Hence, adding him to CC.

(And also adding him as reviewer to Yuvi's patch)

Change 150985 merged by Ottomata:
stats: Install php commandline packages to the crunchers

https://gerrit.wikimedia.org/r/150985