php and python settings