Issues with back ticks operator

Hi,

I am running a small application using php using the backtick operator (``). when I run the application outside PHP it runs fine and dumps the output in an output file in 1 minute

However when I run it from PHP, It keeps going forever. Also it does create the output files but does not write to it.

I went to process explorer and saw that the application executable is being run as a process under svchost.

It looks like windows or PHP is locking it.

Can anyone help ? Thanks a ton in advance
anshumaEngineeringAsked:
Who is Participating?
 
Marcus BointonConnect With a Mentor Commented:
I would have thought that any security violations would be logged somewhere, but I don't know exactly where. I'm not really the one to ask about Windows sysadmin...
0
 
Marcus BointonCommented:
This is probably a permissions problem. In each case it's running as a different user, so check that the PHP user has sufficient privileges for where it's writing to.
0
 
anshumaEngineeringAuthor Commented:
Hi Squinky,

The folder its writing to has the following permissions

everyone - full control

regards
-anshu
0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

 
anshumaEngineeringAuthor Commented:
Hi Squinky,

Is there some kind of log that I can see. Which will tell me what could be the issues

thanks
-anshu
0
 
anshumaEngineeringAuthor Commented:
Thanks Squinky. it was the Application pool permissions in IIS.

you rock. thanks a ton
0
 
anshumaEngineeringAuthor Commented:
Thanks a ton
0
 
Marcus BointonCommented:
Thanks - that was my 1,000th question answered too!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.