Maybe a bit far fetched, but does the user that Apache is running as have
the same PATH variables set as your own user?

Could it be the web process can't access a .dll or something?


Thanks,
Nathan.
http://www.kennedytechnology.com

Telerobotics project:
http://control.kennedytechnology.com



-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Jochen Daum
Sent: Tuesday, 8 September 2009 12:57 p.m.
To: PHPUG
Subject: [phpug] Help with exec() on Win2003 Server/ Apache2


Hi all,

I'm stuck with running exec() on a win2003 server with Apache2
installed. The command runs Irfanview to do an image conversion and
exec() returns 1. However nothing happens. Pasting it into a command
line box works fine. I can't find any errors in the Event Log, nor
php.log. I've also tried the live.sysinternals.com procmon.exe
program, but there seems to be nothing happening in regards to exec().
Have also checked that exec() is not a disabled function.

Any idea where to dig next?

Kind Regards,

Jochen Daum

Chief Automation Officer
Automatem Ltd

Phone: 09 630 3425
Mobile: 021 567 853
Email: [email protected]
Skype: jochendaum
Website: www.automatem.co.nz
http://twitter.com/automatem
http://www.xing.com/go/invite/3425509.181107


 

__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4404 (20090907) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 
 

__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4404 (20090907) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 


--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to