Comments on: Per-site PHP configuration with PHP 5.3 and IIS https://ruslany.net/2009/07/per-site-php-configuration-with-php-5-3-and-iis/ Azure App Service Features and Best Practices Fri, 31 May 2019 19:34:42 +0000 hourly 1 https://wordpress.org/?v=6.2.16 By: Mikhail https://ruslany.net/2009/07/per-site-php-configuration-with-php-5-3-and-iis/#comment-549 Mon, 12 Sep 2011 12:47:35 +0000 http://ruslany.net/?p=428#comment-549 ruslany Hello! I wanted to clarify.
In file .user.ini directive with Changeable is “PHP_INI_SYSTEM” will not work?
I need to change the value for a single site “mbstring.func_overload = 0” and for other “mbstring.func_overload = 2”.
Please tell me how this can be done.

]]>
By: Arno https://ruslany.net/2009/07/per-site-php-configuration-with-php-5-3-and-iis/#comment-548 Sat, 20 Feb 2010 20:00:44 +0000 http://ruslany.net/?p=428#comment-548 .user.ini-files are not of much use when you use virtual directories or IIS applications outside the DOCUMENT_ROOT: in that case the settings are only valid for the directory, where the .user.ini file resides, but not for subdirectories, as PHP checks the path against DOCUMENT_ROOT and fails.

For IIS it would be much better to check against APPL_PHYSICAL_PATH: that would make .user.ini files and PHP applications really portable, regardless whether they reside under DOCUMENT_ROOT or not.

On a side note: why did the PHP team decide not to include subfolders for the [PATH=] directive? Who wants to set settings just for a single folder but not for subdirectories?

cheerio :: Arno

]]>
By: Ruslan https://ruslany.net/2009/07/per-site-php-configuration-with-php-5-3-and-iis/#comment-547 Wed, 26 Aug 2009 02:21:06 +0000 http://ruslany.net/?p=428#comment-547 Philipp, I do not have any experience with using Plesk, so I do not know if this will affect Plestk anyhow.

]]>
By: Philipp Mueller https://ruslany.net/2009/07/per-site-php-configuration-with-php-5-3-and-iis/#comment-546 Tue, 25 Aug 2009 11:39:00 +0000 http://ruslany.net/?p=428#comment-546 Hi,

nice article, i ran into this looking for a solution after one of our customers requested some changes to php.ini in a php5 site. Currently we’re using Plesk 8.6 for the site administration. I was wondering do you know of any problems that might occur if we where to implement this or would Plesk be unaffected by this?

Kind regards,
Philipp

]]>
By: Ruslan https://ruslany.net/2009/07/per-site-php-configuration-with-php-5-3-and-iis/#comment-545 Mon, 20 Jul 2009 20:52:18 +0000 http://ruslany.net/?p=428#comment-545 Marcelo, the php.ini directives are categorized into several buckets based on their changeability. It is not possible to redefine that. You can find the complete list of php.ini directives and their changeability in the List of php.ini directives.

]]>
By: Marcelo Petersen https://ruslany.net/2009/07/per-site-php-configuration-with-php-5-3-and-iis/#comment-544 Fri, 17 Jul 2009 16:49:08 +0000 http://ruslany.net/?p=428#comment-544 Hello,

first, great article !!!

For a hosting enviroment, is excellent that each web site have your own php.ini. Is there any way to define what directives may be defined by user?

]]>
By: Ruslan https://ruslany.net/2009/07/per-site-php-configuration-with-php-5-3-and-iis/#comment-543 Tue, 14 Jul 2009 21:56:10 +0000 http://ruslany.net/?p=428#comment-543 Jim,

First of all you will need to update you php.ini file to explicitly set the date.timezone setting. Otherwise PHP will return a warning, which will result 500 error message.

Also, as far as I know the PHP installer does not support side by side installation of PHP. However, IIS and FastCGI fully support side by side installations of PHP, but you will need to setup PHP manually. You can refer to PHP Versioning for more details how to setup several PHP versions on the same server.

]]>
By: Jim Cooper https://ruslany.net/2009/07/per-site-php-configuration-with-php-5-3-and-iis/#comment-542 Tue, 14 Jul 2009 21:15:01 +0000 http://ruslany.net/?p=428#comment-542 I used the PHP 5.3 installer to install on a Vista development machine that already had PHP 5.2 running under IIS7 with FastCGI. Unfortunately, any sites I create to test the 5.3 keep returning a 500 error message. I set up the sites to just use the 5.3 handler however this doesn’t seem to help. Is there some other configuration I need to do to run 5.3 along with 5.2?

]]>
By: NewsPeeps https://ruslany.net/2009/07/per-site-php-configuration-with-php-5-3-and-iis/#comment-541 Sat, 11 Jul 2009 12:49:08 +0000 http://ruslany.net/?p=428#comment-541 Per-site PHP configuration with PHP 5.3 and IIS | RuslanY Blog…

Thank you for submitting this cool story – Trackback from NewsPeeps…

]]>