logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache 2.0 PHP 5.4.2 Win2k SP1 will not parse copied files
Author
kjsphoto



Joined: 05 Oct 2007
Posts: 1

PostPosted: Fri 05 Oct '07 6:54    Post subject: Apache 2.0 PHP 5.4.2 Win2k SP1 will not parse copied files Reply with quote

Ok,

I went ahead and installed a Win 2000 Server with SP 1 on a new machine.

I then went ahead and did a fresh install of PHP, mySQL and Apache.

After I installed everything I created a file called test.php and put this in it;

<? echo phpinfo();?>

I placed this file in c:\apache\apache2\httpdocs fold and in the URL I typed in http://localhost/test.php and it returned all the information about PHP. I know that it works.

Next I grab a file located on another Win2K server and past a file called BBL.php into the same location as the test.php file.

I type in my browser; http://localhost/BBL.php

And it return th eactual source code. So I then edit the file and jsut place <? echo phpinfo();?> into the file adn save it. I run the file again and it returens;

<? echo phpinfo();?> <--- This literally! It will not prase any file I copy form another mahcine.

Any file I create on this new machine it works file and php file I copy over form another machine it will not parse! It just returns the actual source code.

What am I missing?

Everything on my Apache 1.x with PHP 4.x works fine. Now that I am upgrading everything is falling apart.

Does anyone here have nay idea of what is going on> I have been at this for now going on 24 hours with no answer anywhere on the net. I beg anyone here that can help me as I am about to rip my hair out ( what is left of it )
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7306
Location: Germany, Next to Hamburg

PostPosted: Tue 13 Nov '07 18:34    Post subject: Reply with quote

How did you setup PHP in the httpd.conf of the new Apache?
Back to top


Reply to topic   Topic: Apache 2.0 PHP 5.4.2 Win2k SP1 will not parse copied files View previous topic :: View next topic
Post new topic   Forum Index -> Apache