installation problems under Win2000

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
permutations
Forum Commoner
Posts: 52
Joined: Sat Dec 07, 2002 11:45 am

installation problems under Win2000

Post by permutations »

I'm trying to install PHP on a Windows 2000 system. I've tried everything I can think of, but when I try to load a php script, it's not interpreted. With just <?php phpinfo(); ?>, I get a blank screen. I've tried using the installer, checking everything manually, moving the php directory to the same drive as the server, and I can't think of anything else to try. I'm running PWS 5. Can anyone help me?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

just download the zip-package from http://www.php.net and follow install.txt by the letter ;)
permutations
Forum Commoner
Posts: 52
Joined: Sat Dec 07, 2002 11:45 am

I figured it out...

Post by permutations »

There was not enough information in that package for me--too many major gaps--but through trial and error I figured it out. I started to compose a note with the missing information for others like me, but I'd already lost so much time trying to get it going that I couldn't bear to spend another hour documenting my pain.

PHP is installed now and working, but the error levels are set wrong and I get constant parsing errors on scripts that work fine on my ISP's server. It complains that I don't define variables before using them. Other stuff. Any idea what that's about? I didn't change any error level defaults.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

It complains that I don't define variables before using them
right, but those are only notices. The script will continue.
They are e.g. useful to find typos in var.names....

check the values of error_reporting and display_errors in your php.ini.
take a look at http://www.php.net/manual/en/function.e ... orting.php and http://www.php.net/manual/en/ref.errorf ... lay-errors
Post Reply