[PHP-WIN] - IIS - More info

2003-03-19 Thread Diego Fulgueira
Did you checked my last message? Was it helpful? PHP under Apache exposes diferent global variables than PHP under IIS. It will be impossible for you to correct your errors without changing your code. Run phpinfo() to see what variables are available under IIS. About session variables... I sugges

[PHP-WIN] Re: [PHP] Sessions on win32, PHP and IIS

2003-03-19 Thread Diego Fulgueira
For session variables to work: Use the $_SESSION array instead of $HTTP_SESSION_VARS. Also, check your session_path (defined in php.ini, which should be under /WINNT). session_path should point to a directory where user IUSR_MYHOST has writing permissions. There, you should see a file created for

[PHP-WIN] Unable to install PHP4.2.3 + Apache 1.3 + Win2k

2003-03-14 Thread Diego Fulgueira
Hi. I followed the instructions in the php manual to install php as CGI module under apache, under windows. I get the following message when requesting a php file: Invalid URI in request GET /mydir/myfile.php HTTP/1.1 I believe this is because Apache is not getting the protocol:host part of the r

Re: [PHP-WIN] Connections in SQL Server

2003-03-13 Thread Diego Fulgueira
I have exactly the same configuration as you do, except for the fact that I use PHP as an Apache module and not as CGI. I have no problems at all. Running PHP as an Apache module and it is more efficient than the CGI version. On the other hand, there are other several things you can try: 1. Use m

[PHP-WIN] dl() doesn't work . PHP 4.3.1 + Apache 1.3 + Win2k.

2003-03-13 Thread Diego Fulgueira
Hope to find someone to help me with this: I am trying to load a dynamic extension using the dl() function. The dll file resides in my web root directory (c:\inetpub\wwwroot). I have extension_dir = ./ in php.ini (the default). dl("_php.dll") doesn't seem to find the file when called fro