updated php and rc files