-----------------------------
To enable the function of php
step 1
login via shell with root access
step 2
run the scripts of easyapache. which is located at
/scripts/easyapache
step 3
then type "not xm"
step 4
seclect "default" profile
and select "custom build"
step 5
proceed without building previous error
step 6
then move on scree by using "TAB" and "ENTER" button
and choose the service or function which you want to enable.
step 6
press the "build profile"
By Gaurav SharmaThanks!