On 14 October 2010 19:26,  <howard.holco...@l-3com.com> wrote:
> Richard
>
> As requested
> X:\work\hholcomb\PHP\extract_5.3.3_VC6> dir 
> "X:\work\hholcomb\PHP\test\phpinfo.php"
>  Volume in drive X has no label.
>  Volume Serial Number is 5457-BB00
>
>  Directory of X:\work\hholcomb\PHP\test
>
> 10/11/2010  02:20 PM                23 phpinfo.php
>               1 File(s)             23 bytes
>               0 Dir(s)  122,355,773,440 bytes free
>
> X:\work\hholcomb\PHP\extract_5.3.3_VC6> cacls 
> "X:\work\hholcomb\PHP\test\phpinfo.php"
> X:\work\hholcomb\PHP\test\phpinfo.php COMMSYS\Domain Admins:F
>                                      Everyone:C
>                                      NT AUTHORITY\SYSTEM:F
>
>
> X:\work\hholcomb\PHP\extract_5.3.3_VC6> type 
> "X:\work\hholcomb\PHP\test\phpinfo.php"
> <?php
> phpinfo();
> ?>
>
> X:\work\hholcomb\PHP\extract_5.3.3_VC6>
>
> -----Original Message-----
> From: Richard Quadling [mailto:rquadl...@gmail.com]
> Sent: Thursday, October 14, 2010 1:24 PM
> To: Holcombe, Howard @ CSG - CSE; php-windows
> Subject: Re: [PHP-WIN] error of "Could not open input file" from PHP CLI
>
> On 14 October 2010 16:03,  <howard.holco...@l-3com.com> wrote:
>> Richard
>>
>> I downloaded the executable but could not run it as I don't have admin privs 
>> on the system.
>>
>> You ask
>>        What happens when PHP goes looking for the phpinfo.php script?
>> Answer
>> The only output in the cmd window is the msg
>>        Could not open input file: phpinfo.php
>> And there does not appear to be any error log entries generated.
>>
>> Any other things I can attempt?
>>
>> Howard Holcombe
>>
>> -----Original Message-----
>> From: Richard Quadling [mailto:rquadl...@gmail.com]
>> Sent: Thursday, October 14, 2010 8:16 AM
>> To: nevvermind
>> Cc: Holcombe, Howard @ CSG - CSE; php-windows@lists.php.net
>> Subject: Re: [PHP-WIN] error of "Could not open input file" from PHP CLI
>>
>> On 14 October 2010 12:50, nevvermind <giadii...@gmail.com> wrote:
>>> That link was broken. Use this instead:
>>> http://live.sysinternals.com/Procmon.exe
>>>
>>
>> Oh yeah. FileMon and RegMon are now integrated into ProcMon.
>>
>> I still use them separately.
>>
>> So, sorry about the duff link. Didn't realise that FM and RM were dead.
>>
>
> In the same command copy the following 3 lines ...
>
> dir "X:\work\hholcomb\PHP\test\phpinfo.php"
> cacls "X:\work\hholcomb\PHP\test\phpinfo.php"
> type "X:\work\hholcomb\PHP\test\phpinfo.php"
>

Howard.

2 things.

1 - Please use reply to all as I'm NOT the only person on the list.
2 - Please bottom post as it makes it easier for readers to read the
message in order.

As your previous response
Can you now type the following commands ...

FOR %P IN (php.exe) do %~dpnx$PATH:P -v
.\php.exe -v
..\php.exe -v

I'm wondering if you have 2+ versions of PHP installed.

If the above does output multiple versions, try these lines ...

FOR %P IN (php.exe) do %~dpnx$PATH:P -n -f
"X:\work\hholcomb\PHP\test\phpinfo.php"
.\php.exe -n -f "X:\work\hholcomb\PHP\test\phpinfo.php"
..\php.exe -f "X:\work\hholcomb\PHP\test\phpinfo.php"

Regards,

Richard.

P.S. Put your response beneath this line.


-- 
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to