fixed PHP build
fixed for debian too