Create php files equivalent to the tcl ones that existed. Hasn't been
tested yet.