Page 1 of 1

PHP 5 IIS WIN2k problem

Posted: Fri Jul 11, 2003 9:23 am
by wolvie
Hello,
I was running PHP 4.3.3RC1 and it was running ok. So I got PHP 5 now (All right, all right, I know it is Beta, but someone has to test it), and tryed to install on my server in place of the old one. That when my problemas started. I have deleted the old dll from my system32 directory and installed the new ones from the 5.0.0 package. Then I put php4ts.dll on the same directory that php4isapi, and tryed to startup evertything again, but he keeps telling me that could not load php4isapi, so I tried to use the cgi module and it did not work either. He saids that could not find the server, but accesing non-php pages returns ok. I read that there are some guys with the same problem but could not resolve it either. In Bug Forum of PHP.NET they told is a configuration problem, but I could not figure out what is the problem....anyone could give me some light?

Wolvie

Posted: Fri Jul 11, 2003 9:30 am
by jason
Yeah, use Linux. Hehe. Someone had to say it. Seriously though, I believe I read the problem will be fixed in the next beta version. It had something to do with the naming issues. Though, whether I am remembering correctly is a different story.

Posted: Fri Jul 11, 2003 9:36 am
by wolvie
Eheh. Use Linux is not always an option we got :-) I was thinking that was doing something wrong, could find much topics about it.
Thank you for the information.

Problems with IIS solved

Posted: Fri Jul 11, 2003 10:05 am
by edo
HI guys

I have a year using asp with no problems at all using IIS undex winxp

Recently I decided to move to php with some of the sites I work with.
Php is pretty useful and making the translation from asp to php is easy. The fisrt time I tried to cofigure php with IIS5. I haven't a too much problems configuring it. I had to set register globals with on. Everything worked fine. I Worked all the time from XP with no problem.
Days ago I had to reinstall my system. I've downloaded a newer version of php (not 5) and everything seemed to work ok. But something really weird happened:

I have some pages which pass variables using " form Get method" or query strings on URL like this: "http:something.com/thing.php?vari=2"
and from inside the page something like
if (isset($vari)){}.

My big surprise was that it returned an error message(undefined variable name). Everything was working fine before I reinstalled my system. It took me two days of boring and despairing tests to find that the problem was with dll's.
I had a copy of old dll's. I took them again into windows/system.
and everything worked fine again.

Anyway, Before I solved the problem I used $PHP_GET_VARS["vari"]
and it worked. But I had a lot of pages with the easier method, so I decided to fix the php system instead of recoding all pages(that´s a lot of work, ever since it worked fine before).
After that, I am afraid to install a newer version of php.

I hope this tale helps any windows (dawned) user.
It would be great that linux ruled everything, but in the meantime (in the
real world) windows has the last word.

Posted: Fri Jul 11, 2003 1:04 pm
by qartis
Usually PHP will only tell you variables aren't registered if you've got error_reporting set too low (I think E_NOTICE is the threshold)