« Previous Next »

Thread: Error: Exec returns null with home directory on network share

Last post 10-08-2009 11:07 AM by melban. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 07-11-2009, 6:16 PM

    Error: Exec returns null with home directory on network share

     Hello -

     I'm running Windows 2K3 Enterprise with PHP 5.2.10 running FastCGI. I have my content served from a network share.

    The problem that I'm seeing is that when I run exec('whoami') or any command for that matter it returns blank.

    I can run the same file from a local folder the the exec('whoami') function works.

    I'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.

    I know I'm missing something. If anyone has any info on this kind of setup, that would be great!

    TIA!

  • 10-08-2009, 11:07 AM In reply to

    • melban
    • Not Ranked
    • Joined on 03-23-2006, 2:28 PM
    • Indianapolis, IN
    • Posts 1

    Re: Error: Exec returns null with home directory on network share

    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't run if the server isn't using a local drive.
Page 1 of 1 (2 items)