• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 189
  • Last Modified:

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
0
anshuma
Asked:
anshuma
  • 4
  • 3
1 Solution
 
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
 
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
Marcus BointonCommented:
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
 
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

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now