I normally like to apply some application-specific PHP.INI settings in the root of each project, but in Zend Server the following methods do NOT appear to work...

  • Using .htaccess with php_flag and php_value (Normally works with mod_php)
  • .user.ini (Normally works with FCGI)

Can it be done without editing the server-wide PHP.INI?

1 Answer 1


From what I've uncovered on the Windows version of Zend Server, the .user.ini file must be in the actual folder of the executing script – being in the document root is not adequate. It's unfortunate and often inconvenient, but I haven't found another solution thus far.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.