PHP3 - Netscape Enterprise Server and Windows 2000

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
bjk206
Forum Newbie
Posts: 3
Joined: Mon Jul 14, 2003 6:48 pm
Contact:

PHP3 - Netscape Enterprise Server and Windows 2000

Post 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.
User avatar
Slippy
Forum Contributor
Posts: 113
Joined: Sat Jul 12, 2003 11:31 pm
Location: Vancouver eh!

Post 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)
bjk206
Forum Newbie
Posts: 3
Joined: Mon Jul 14, 2003 6:48 pm
Contact:

Post 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).
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post 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
bjk206
Forum Newbie
Posts: 3
Joined: Mon Jul 14, 2003 6:48 pm
Contact:

Post 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)
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post 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
m3rajk
DevNet Resident
Posts: 1191
Joined: Mon Jun 02, 2003 3:37 pm

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