kuyaz,
I do not know very much about php, but the way some of it is tied into SME, some of the changes have to be made in the templates.
It would be a helpful if you would explain what you need to modify, or what error messages or logfile messages you are receiving if you are trying to run a php file
Bob