When the Popener execution program is called, the server returns the error code popen(startxxx.exe, r); the server returns the error: Warning: popen(startxxx.exe, r) [function. popen]: NoerrorinE: xxxtest. phponline4 has checked a lot of information and has not solved the problem. I look forward to the answer of Daniel. This function will return an error when I debug the program that has called popen on the development computer.
The server executes popen ('Start xxx.exe ', 'r ');
Returned error:
Warning: popen (start xxx.exe, r) [function. popen]: No error in E: \ xxx \ test. php on line 4
I checked a lot of information and did not solve the problem. I look forward to the answers from Daniel.
I can debug this function on the development computer and there is a problem deploying it on the server.
The development computer is: XP + Apache + PHP
The server is: winserver2003 + IIS + PHP
------ Solution --------------------
The default permissions of IIS are insufficient. you can change to scripts and executable files, and choose iis> Site Properties> Home Directory> execution permission.
------ Solution --------------------
Paste all the code. $ file = popen ("/bin/ls", "r ");