Re: How to run a batch file using PHP? [message #179341 is a reply to message #179338] |
Mon, 08 October 2012 13:16 |
Erwin Moller
Messages: 228 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 10/8/2012 12:19 PM, Fastian wrote:
<snip>
>
> A strange finding:
> Today I found someone with a similar issue on the following link:
> http://board.phpbuilder.com/showthread.php?10366149-RESOLVED-Executing-an-a pplication-from-PHP
>
> It suggested to use EasyPhp. I tried with it and everything started working as desired. Thanks to Allah(subhanahu watala).
>
> It is working whether you specify the absolute path or relative path. so doesn't seems to be a 'path' related issue.
>
> After reading the thread mentioned above if some one can identify the real issue then it will be really worthy.
>
In my opinion this nicely demonstrates (again) why everybody should
install PHP by hand instead of using an "easy" prepackaged
all-in-one-plus-more solution, unless you fully understand it.
It actually costs time in the long run to use "easy" solutions.
Installing PHP by hand isn't that hard, and you learn a lot about the
set-up.
What did you learn now?
Old setup isn't "working", new one with EasyPHP is.
So what? What does that mean?
Why did the old setup not interpret/find your path the way you intended?
I dislike such "solutions" (but I am glad for you it works now).
You should wonder: What you will do when another piece of code doesn't
work as intended?
Will you switch to yet another "easy php install"?
Regards,
Erwin Moller
PS: I have no experience with EasyPHP at all, so maybe it is great.
--
"That which can be asserted without evidence, can be dismissed without
evidence."
-- Christopher Hitchens
|
|
|