PHP 5 IIS WIN2k problem

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
wolvie
Forum Newbie
Posts: 4
Joined: Fri Jul 11, 2003 9:23 am
Contact:

PHP 5 IIS WIN2k problem

Post 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
jason
Site Admin
Posts: 1767
Joined: Thu Apr 18, 2002 3:14 pm
Location: Montreal, CA
Contact:

Post 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.
wolvie
Forum Newbie
Posts: 4
Joined: Fri Jul 11, 2003 9:23 am
Contact:

Post 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.
edo
Forum Newbie
Posts: 1
Joined: Fri Jul 11, 2003 10:05 am

Problems with IIS solved

Post 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.
qartis
Forum Contributor
Posts: 271
Joined: Sat Dec 14, 2002 4:43 pm
Location: BC, Canada
Contact:

Post 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)
Post Reply