refactored configure line for php