For Programmers: Free Programming Magazines  


Home > Archive > PHP on Windows > June 2007 > Can't execute external program -> error "Access is denied"









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Can't execute external program -> error "Access is denied"
Davide Molteni

2007-06-19, 7:02 pm

Hi,

I've a Windows 2003 server, running apache 2.2 with PHP 4.4.4 and I want
to run an external program or script with exec(), passthru(),
shell_exec() or system() but I always receive "Access is denied".
If I try with "notepad.exe" it works!
This program or script works if I run it from the Windows Command line.

Any idea?

Thanks a lot for your help.

Regards

Dave
Aderpotardder

2007-06-22, 4:08 pm

Jennifer Aniston , Premium Clip!

http://www.YourTubeAmp.com/WindowsM...i?movie=1673286
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com