<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>Search results matching tag 'php.ini'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=php.ini&amp;orTags=0</link><description>Search results matching tag 'php.ini'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>hllo</title><link>http://forums.iis.net/p/1161666/1920317.aspx#1920317</link><pubDate>Sun, 11 Oct 2009 16:54:30 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1920317</guid><dc:creator>zhanxiaobing</dc:creator><cs:applicationKey>web_platform_installer-52</cs:applicationKey><description>&lt;p&gt;china&lt;/p&gt;</description></item><item><title>PHP doesn't include stock extensions; can't enable them when added</title><link>http://forums.iis.net/p/1159241/1910274.aspx#1910274</link><pubDate>Tue, 14 Jul 2009 17:28:23 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1910274</guid><dc:creator>beanluc</dc:creator><cs:applicationKey>web_platform_installer-52</cs:applicationKey><description>&lt;p&gt;Hello, I used the Acquia Drupal MSWI.&lt;/p&gt;
&lt;p&gt;The PHP which came with the MSWI leaves many extensions out, and I can&amp;#39;t enable this extension in the normal way.&lt;/p&gt;
&lt;p&gt;If I were using a stock PHP-for-Windows install, it would include Tidy. All I would have to do to enable it would be to un-comment the line in php.ini for that extension.&lt;/p&gt;
&lt;p&gt;So: I copied php_tidy.dll from a stock PHP-for-Windows site, put it into the ext directory for my MSWI-installed PHP site, and added to php.ini the extension line for Tidy, and re-started IIS.&lt;/p&gt;
&lt;p&gt;The extension is not getting enabled. &lt;/p&gt;
&lt;p&gt;Why is the MSWI&amp;#39;s PHP so different from a stock one? php.ini is wildly different from php.net&amp;#39;s php.ini file. Many stock extensions are missing. The extensions don&amp;#39;t seem to work the same way.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Would someone help me get the Tidy extension enabled on my Acquia Drupal site which was installed with the MSWI? Also, can anyone describe to me what I should know about PHP as installed by a MSWI (a mystery to me), contrasted with PHP as installed manually by myself (well familiar to me)?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you&lt;br /&gt;BL&lt;/p&gt;</description></item><item><title>Re: Separate PHP.ini for each website?</title><link>http://forums.iis.net/p/1157048/1906660.aspx#1906660</link><pubDate>Thu, 11 Jun 2009 18:53:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1906660</guid><dc:creator>v-edsojo</dc:creator><cs:applicationKey>fastcgi_module-41</cs:applicationKey><description>&lt;p&gt;Hi, here is an article that explains how to work with differents php.ini in IIS7:&lt;br /&gt;&lt;a href="http://eng.eduardosojo.com/differents-phpini-config-file-for-each-websit"&gt;http://eng.eduardosojo.com/differents-phpini-config-file-for-each-websit&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;</description></item><item><title>Re: PHP 5.2.9 Install issue on XP Pro IIS 5.1 - phpinfo( ) results incorrect</title><link>http://forums.iis.net/p/1157626/1904099.aspx#1904099</link><pubDate>Mon, 18 May 2009 17:45:22 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1904099</guid><dc:creator>fromtheranks</dc:creator><cs:applicationKey>php_community-49</cs:applicationKey><description>&lt;p&gt;Thanks for all of your replies.&amp;nbsp; I appreciate it.&amp;nbsp; I&amp;#39;ve come to the same conclusion, that &amp;quot;Loaded Configuration File&amp;quot; is reporting correctly but &amp;quot;Configuration File (php.ini) Path&amp;quot; is not.&amp;nbsp; I posted my findings on PHP.com under Windows Install:&amp;nbsp; http://us3.php.net/manual/en/install.windows.php.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: php 23bit on 64bit OS mail()</title><link>http://forums.iis.net/p/1157604/1904043.aspx#1904043</link><pubDate>Mon, 18 May 2009 08:40:31 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1904043</guid><dc:creator>Sean Tornado</dc:creator><cs:applicationKey>php_community-49</cs:applicationKey><description>&lt;p&gt;[mail function]&lt;br /&gt;
; For Win32 only.&lt;br /&gt;
SMTP = localhost&lt;br /&gt;
smtp_port = 25&lt;/p&gt;

&lt;p&gt;; For Win32 only.&lt;br /&gt;
sendmail_from = me@mydomain.prg&lt;/p&gt;

&lt;p&gt;; For Unix only.  You may supply arguments as well (default: &amp;quot;sendmail -t -i&amp;quot;).&lt;br /&gt;
;sendmail_path =&lt;/p&gt;

&lt;p&gt;; Force the addition of the specified parameters to be passed as extra parameters&lt;br /&gt;
; to the sendmail binary. These parameters will always replace the value of&lt;br /&gt;
; the 5th parameter to mail(), even in safe mode.&lt;br /&gt;
;mail.force_extra_parameters =&lt;/p&gt;

&lt;p&gt;And I tried making a email script and then tried a simple email script:&lt;br /&gt;
mail(&amp;#39;me@mydomain&amp;#39;, &amp;#39;The Subject&amp;#39;, &amp;#39;The Message&amp;#39;);&lt;/p&gt;

&lt;p&gt;Its giving me the following server error:&lt;br /&gt;
500 - Internal server error.&lt;/p&gt;

&lt;p&gt;If i try:&lt;br /&gt;
@mail(&amp;#39;me@mydomain&amp;#39;, &amp;#39;The Subject&amp;#39;, &amp;#39;The Message&amp;#39;);&lt;/p&gt;

&lt;p&gt;The correct page is displayed but the email is still not being sent.&lt;/p&gt;</description></item><item><title>PHP 5.2.9 Install issue on XP Pro IIS 5.1 - phpinfo( ) results incorrect</title><link>http://forums.iis.net/p/1157626/1903650.aspx#1903650</link><pubDate>Wed, 13 May 2009 20:27:14 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1903650</guid><dc:creator>fromtheranks</dc:creator><cs:applicationKey>php_community-49</cs:applicationKey><description>&lt;p&gt;
 
  Normal
  0
  
  
  
  
  false
  false
  false
  
  EN-US
  X-NONE
  X-NONE
  
   
   
   
   
   
   
   
   
   
   
   
  
  MicrosoftInternetExplorer4
  
   
   
   
   
   
   
   
   
   
   
   
  

 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
 




 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:&amp;quot;Table Normal&amp;quot;;
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-priority:99;
	mso-style-qformat:yes;
	mso-style-parent:&amp;quot;&amp;quot;;
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:&amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;
	mso-fareast-theme-font:minor-fareast;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;
	mso-bidi-theme-font:minor-bidi;}

I&amp;#39;ve been in IT for years but I’m a newbie at setting up a blog site. &amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Background:&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Right now I’m in the middle of manually installing PHP 5.2.9 (rather than using the .MSI) on XP Pro SP3 using IIS 5.1.&amp;nbsp; I’ve verified IIS 5.1 and MMC 3.0 and already installed MySQL 5.1, and FileZilla.&amp;nbsp; I&amp;#39;m using ISAPI instead of CGI, by the way. &amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;This is a dev machine, the final web site will get pushed to a host but I want to do the development/learning locally.&amp;nbsp; The reason I’m sticking with IIS is that my host does not support Apache, so WAMP / Xampp is out.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Issue:&lt;br /&gt;&amp;nbsp;&lt;br /&gt;No matter what I do I can&amp;#39;t get phpinfo() to properly report the location of the “Configuration File Path”.&amp;nbsp; It seems &amp;quot;glued to&amp;quot; C:\WINDOWS.&amp;nbsp; I’ve researched this until my fingers are nubs (starting with but not limited to the PHP site) but I’m not coming up with anything that works.&amp;nbsp; Here’s what I’ve done:&lt;br /&gt;&amp;nbsp;&lt;br /&gt;I&amp;#39;ve:&lt;br /&gt;1. Included PHP in the Windows PATH (before MySQL’s) as &amp;quot;;E\PHP;&amp;quot;&lt;br /&gt;2. Added the PHPRC system variable pointing to my install location as &amp;quot;E:\PHP&amp;quot;&lt;br /&gt;3. Modified PHP.INI&amp;#39;s extension_dir to point to &amp;quot;e:\php\ext&amp;quot;&lt;br /&gt;4. Modified the Registry to include:&amp;nbsp; HKEY_LOCAL_MACHINE\SOFTWARE\PHP&amp;nbsp; IniFilePath E:\PHP&lt;br /&gt;5.&amp;nbsp; Though it may not be relevant, I&amp;#39;ve set up the ISAPI module in IIS Properties for all &amp;quot;Web Sites&amp;quot; as follows:&lt;br /&gt;5a.&amp;nbsp; Added to the ISAPI Filters list:&amp;nbsp; PHP pointing at e:\php\php5isapi.dll&lt;br /&gt;5b.&amp;nbsp; Set the Home Directory:&amp;nbsp; Execute for Scripts Only &lt;br /&gt;5c.&amp;nbsp; Mapped the .php extension, having it point at the same location as above and setting verbs to:&amp;nbsp; GET,POST,HEAD&lt;br /&gt;6.&amp;nbsp; Set the Documents, adding “index.php” and moving it to the top of the list&lt;br /&gt;7.&amp;nbsp; I then stopped and restarted IIS using net stop and net start&amp;nbsp; (and completely rebooted my workstation too)&lt;br /&gt;&amp;nbsp;&lt;br /&gt;No matter how many times I&amp;#39;ve checked my entries, when I run phpinfo( ) -- as test.php -- the &amp;quot;Loaded Configuration File&amp;quot; data is correct (E:\PHP\php.ini), but the &amp;quot;Configuration File Path for php.ini is not; it still points to &amp;quot;C:\WINDOWS&amp;quot;.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;I&amp;#39;m not sure how serious this is, yet.&amp;nbsp; The simple tests I&amp;#39;ve run so far seem to work okay but I&amp;#39;m concerned that having the Configuration File Path wrong, will &amp;quot;get me&amp;quot; sooner or later -- and I&amp;#39;ve learned over the years not to drive passed issues that aren&amp;#39;t solved or resolved.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Any help would be appreciated.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Thanks in advance.&lt;/p&gt;</description></item><item><title>What action is required after enabling PHP extensions in php.ini ?</title><link>http://forums.iis.net/p/1157552/1903395.aspx#1903395</link><pubDate>Tue, 12 May 2009 02:55:09 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1903395</guid><dc:creator>SDelroen</dc:creator><cs:applicationKey>php_community-49</cs:applicationKey><description>&lt;p&gt;Hi everyone,&lt;/p&gt;
&lt;p&gt;I am running PHP 5.2.5 with IIS6 on a Windows 2003 Server.&lt;/p&gt;
&lt;p&gt;For a project I&amp;#39;m working on I&amp;#39;ve had to activate a few extensions in the php.ini (uncomment the &amp;#39;extension=php_xxx.dll&amp;#39; under the &amp;quot;Dynamic Extensions&amp;quot; section).&lt;/p&gt;
&lt;p&gt;I can see that the modifications are applied when I run php in the console (ie. I can use the functions of these extensions), but when I try to use them in a php generated webpage, I get a fatal error &amp;quot;Class xxx not found&amp;quot; or &amp;quot;Call to undefined function xxx&amp;quot;.&lt;/p&gt;
&lt;p&gt;What action is required to apply these modifications to IIS ?&lt;/p&gt;
&lt;p&gt;Would a simple &amp;#39;&lt;strong&gt;iisreset /restart&lt;/strong&gt;&amp;#39; be sufficient ?&lt;/p&gt;
&lt;p&gt;Thanks for your reply !&lt;/p&gt;</description></item><item><title>PHP.INI not picked up by IIS</title><link>http://forums.iis.net/p/1149788/1871356.aspx#1871356</link><pubDate>Tue, 10 Jun 2008 08:33:48 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1871356</guid><dc:creator>mameha1977</dc:creator><cs:applicationKey>php_community-49</cs:applicationKey><description>&lt;p&gt;I have spent all day reading and trying to get my win2003/IIS6 to pick up changes in my php.ini file.&lt;br /&gt;&lt;br /&gt;PHP works fine, but it wont recongize changes to php.ini.&lt;br /&gt;&lt;br /&gt;Things I have tried:&lt;br /&gt;- refresh application pool&lt;br /&gt;- restart IIS (about 50 times)&lt;br /&gt;- add PHPRC environmental variable and restart win2003 server.&lt;br /&gt;- add C:\PHP to Path env.variable and restart server.&lt;br /&gt;- copy php.ini to C:\WINNT, restart IIS, delete it again etc.&lt;br /&gt;&lt;br /&gt;Strange things in phpinfo():&lt;br /&gt;&lt;br /&gt;Build Date&amp;nbsp; May 2 2008 18:01:20 &lt;br /&gt;---- THIS IS WRONG, I INSTALLED IT TODAY JUNE 10&lt;br /&gt;&lt;br /&gt;Configure Command&amp;nbsp; cscript /nologo configure.js &amp;quot;--enable-snapshot-build&amp;quot; &amp;quot;--with-gd=shared&amp;quot; &amp;quot;--with-extra-includes=C:\Program Files (x86)\Microsoft SDK\Include;C:\PROGRA~2\MICROS~2\VC98\ATL\INCLUDE;C:\PROGRA~2\MICROS~2\VC98\INCLUDE;C:\PROGRA~2\MICROS~2\VC98\MFC\INCLUDE&amp;quot; &amp;quot;--with-extra-libs=C:\Program Files (x86)\Microsoft SDK\Lib;C:\PROGRA~2\MICROS~2\VC98\LIB;C:\PROGRA~2\MICROS~2\VC98\MFC\LIB&amp;quot;&amp;nbsp; &lt;br /&gt;--- THIS LOOKS STRANGE.&amp;nbsp; I WANT OPENSSL HERE LIKE IN MY PHP.INI&lt;br /&gt;&lt;br /&gt;Server API&amp;nbsp; ISAPI&amp;nbsp; &lt;br /&gt;Virtual Directory Support&amp;nbsp; enabled&amp;nbsp; &lt;br /&gt;Configuration File (php.ini) Path&amp;nbsp; C:\WINNT&amp;nbsp; &lt;br /&gt;Loaded Configuration File&amp;nbsp; C:\PHP\php.ini&amp;nbsp; &lt;br /&gt;--- C:\WINNT IS SUSPECT, THERE IS NO PHP.INI IN THERE.&lt;br /&gt;&lt;br /&gt;PHPRC&amp;nbsp; C:\PHP&amp;nbsp; &lt;br /&gt;--- SHOWS THAT PHPRC ENV.VAR WAS SETUP OK.&lt;br /&gt;&lt;br /&gt;Please please please help me...!&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>