Mobile app version of vmapp.org
Login or Join
Shelley277

: How do you apply per-directory PHP.INI settings with Zend Server? I normally like to apply some application-specific PHP.INI settings in the root of each project, but in Zend Server the following

@Shelley277

Posted in: #Configuration #Php

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?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Shelley277

1 Comments

Sorted by latest first Latest Oldest Best

 

@Sarah324

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme