[PHP-WIN] Re: [PHP] system() call in PHP5 on win2003

2007-07-10 Thread Tijnema
On 7/10/07, Xiaogang <[EMAIL PROTECTED]> wrote: We used to use php 4 on our web server on win2000, and use the system() to call some DOS programs. That how we call it: $cmd = "c:\\Inetpub\\wwwroot\\test.exe"; $last_line = system($cmd, $retval); print ("\nretval =\"". $retval.

RE: [PHP-WIN] Windows 2k3 sp2 and mssql error

2007-07-10 Thread Zleviticus
Ok Let me detail the setup more. A. windows 2k3 server sp2 with php 5.1 Contains the script running via IIS 6 B. windows 2k3 server sp2 with mssql 2000 sp4? C. My windows xp machine When I run the script from server A using any username and password including sa account from A it fails. If I

Re: [PHP-WIN] Windows 2k3 sp2 and mssql error

2007-07-10 Thread Niel Archer
Hi I know very little about IIS, but I do know that "it fails" doesn't tell us much of anything. We need details. What are the actual errors reported. Have you tried running it from A without using IIS under the same conditions as "another script that connects up to B using the same settings, no

[PHP-WIN] Version php for windows compiled with --enable-memory-limit

2007-07-10 Thread carlos Alberto RR
hello Everybody, I need download one version of php5 for windows compiled the option with --enable-memory-limit, somebody knows where I can dowload it. I hope you can help me. thanks for you help. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/uns

Re: [PHP-WIN] Version php for windows compiled with --enable-memory-limit

2007-07-10 Thread Niel Archer
Hi According to the documentation for PHP 5.2.1 (http://uk.php.net/ini.core) you no longer need to have this enabled at compile time to use the memory_limit directive -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] Windows 2k3 sp2 and mssql error

2007-07-10 Thread Zleviticus
As stated in a previous post: It fails with : i am using a php script via a web page to access data on the server and display it. when i run the page i get the standard: Warning: mssql_connect() [ function.mssql-connect]: Unable to connect to server:

RE: [PHP-WIN] Windows 2k3 sp2 and mssql error

2007-07-10 Thread Zleviticus
To add a php script will run from the IIS machine via command prompt. Both the command prompt one and the IIS one use the mssql connect function. As stated in a previous post: It fails with : i am using a php script via a web page to access data on the server and display it. when i run the p

RE: [PHP-WIN] Windows 2k3 sp2 and mssql error

2007-07-10 Thread Zleviticus
Iswsue resolved. The issue was related to a security update to ISS. It stopped allowing a local anonymous account from accessing the mssql server. I created a new user account on the Domain, gave it little permissions in the domain (same as atypical user) and then it worked. I would not recommend