Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Windows 2008 Web edition server setup with IIS7.5 and PHP 5.4.6 FastCGI installed. I would like to make use of the user INI files as described here:

http://php.net/manual/en/configuration.file.per-user.php

I have PHP installed at C:\PHP and the main ini file is at C:\PHP\php.ini. The websites are in C:\HostingSpaces\WebsiteName\wwwroot, where I create the .user.ini file in the wwwroot directory.

The user file is never loaded, what could the problem be? user_ini.filename is set correctly to .user.ini as phpinfo shows.

share|improve this question

Updating PHP from 5.4.6 to 5.4.8 has fixed the issue, the .user.ini files are now picked up.

share|improve this answer

Create .user.ini in C:\HostingSpaces\WebsiteName\ directory not in wwwroot directory

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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