Fixing PHP import errors see BT#6719