<?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>PHP Community</title><link>http://forums.iis.net/1102.aspx</link><description>A forum for the PHP community running on IIS</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Error: Exec returns null with home directory on network share</title><link>http://forums.iis.net/thread/1919991.aspx</link><pubDate>Thu, 08 Oct 2009 15:07:44 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1919991</guid><dc:creator>melban</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1919991.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1102&amp;PostID=1919991</wfw:commentRss><description>Where you ever able to find a solution.  We are running php command and exec functions from an apache installation on a shared drive.  When we run the system or exec function it won&amp;#39;t run if the server isn&amp;#39;t using a local drive.</description></item><item><title>Error: Exec returns null with home directory on network share</title><link>http://forums.iis.net/thread/1910014.aspx</link><pubDate>Sat, 11 Jul 2009 22:16:24 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1910014</guid><dc:creator>vinoveritas78</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1910014.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1102&amp;PostID=1910014</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hello -&lt;/p&gt;&lt;p&gt;&amp;nbsp;I&amp;#39;m running Windows 2K3 Enterprise with PHP 5.2.10 running FastCGI. I have my content served from a network share.&lt;/p&gt;&lt;p&gt;The problem that I&amp;#39;m seeing is that when I run exec(&amp;#39;whoami&amp;#39;) or any command for that matter it returns blank.&lt;/p&gt;&lt;p&gt;I can run the same file from a local folder the the exec(&amp;#39;whoami&amp;#39;) function works.&lt;/p&gt;&lt;p&gt;I&amp;#39;ve set the network share user/password up on the local security directory, changed the anonymous user account for that site to that, run cacls on the cmd.exe, enabled impersonate in the php.ini.&lt;/p&gt;&lt;p&gt;I know I&amp;#39;m missing something. If anyone has any info on this kind of setup, that would be great!&lt;/p&gt;&lt;p&gt;TIA! &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>