Page 1 of 1

PHP3 - Netscape Enterprise Server and Windows 2000

Posted: Mon Jul 14, 2003 6:48 pm
by bjk206
I'm migrating a php application, developed in PHP 3.05, that used to run under Win NT, but for some reasons we were asked to do such migration.
So we did, exactly the same instalation, than the one we had on NT (now under Win 2000) and when we request some PHP file, appears a 404 Error Code. We have preconfigured everything we could also, we had the same configuration than the older one, but nothing, so, somebody could tell us if there's something that we can do about it. :? , or a kind of patch for those OS?

we'll appreciate any suggestion about it.

Posted: Mon Jul 14, 2003 11:19 pm
by Slippy
My guess is that you are installing PHP with IIS 5 ?

It sounds like your web server is not set up properly to parse .php3 files.

:idea: What I would recommend that you do is get the Apache Web Server binaries for windows and install that with PHP 4.x; Configure apache to parse .php .php3 and .html and whatever else you need.

Of course this would all be a lot more stable under Linux -- but I understand that for some people that is not an option.

I have sucessfully installed postnuke w/ apache/mysql/php4 under windows 2000 professional a long time ago; so I know it's possible... it's just not as easy as your usual 4 head install under windows (bang your forehead on the enter key and the app installs)

Posted: Tue Jul 15, 2003 8:48 am
by bjk206
Sure, but unfortunately we just can“t , because we want to run this application under NES 3.6 =(, that's the requirement.

By the other hand, we installed that application under Apache and PHP 4.7 but unfortunately the track_vars option doesn't work properly, and finally we decided to mix PHP 3.05 with apache and we had the same result (that 404 error).

Posted: Tue Jul 15, 2003 9:50 am
by twigletmac
Not the answer you're looking for but the best for the long term - upgrade the code to work with PHP 4.3, PHP 3 is pretty ancient.

Mac

Posted: Tue Jul 15, 2003 10:55 am
by bjk206
Right, now i've updated to Apache and PHP 4.7 but i don't know how to avoid this kind of errors:

Warning: odbc_fetch_array(): 27 is not a valid ODBC result resource in d:\ibm http server\htdocs\set\set206\includes\anexos\anx_mensual_n.inc on line 86


This mistakes, didn't appear in my older PHP, somebody could give me a clue or something, also with the odbc_prepare statements shows some warnings like this one.

(thanks)

Posted: Wed Jul 16, 2003 3:37 am
by twigletmac
There's something wrong with the connection to the database server, database or the query being passed to it and the function is failing. Have you added error handling to your code to check on these?

Mac

Posted: Wed Jul 16, 2003 8:36 am
by m3rajk
why does it HAVE to work with netscape 3.6?

netscape 3.6 doesn't support iframes and has other issues

if they don't want ie and want the look and feel of netscape 1x/2x/3x/4 instead of the bastardized 6x/7x that's after aol's screwing with it, then use [url=Hhttp://www.mozilla.org]Mozilla[/url]