Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP migration from Windows IIS 5 to Linux Apache 1.3

Status
Not open for further replies.

edushkushot

Programmer
Jan 11, 2004
15
US
Hi all,

I've read that PHP is supposed to work relatively the same on both *nix based systems as well as windows. I have both an IIS server and Apache server. The pages I produce that are on Windows are showing up blank on my Apache server. I know PHP works on the Apache server because the output of the phpinfo() command was successful. I can even make new pages. Is there any reason why a php file would just show up blank when being served by apache.

Thanks in advance.

G :)
 
are you using the same browser?
AWhat ports do each of the webservers listen on? if both are port 80 you can get a conflict that will mess up your pages.

Are you using any windows specific function calls that IIS can handle natively which apache might not or might not be configged for? Like COM?

Bastien

Cat, the other other white meat
 
Well, the machines are on two separate domains and separate networks. They both do run their webservers on Port 80. There is a VirtualHost setup on the Apache server.

I am not using any native Windows things like COM. The first section of code is

<? session_start();
include('includes/db.php');
?>

When I comment out those two lines, the page comes up fine.

G :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top