Page 1 of 1

Dumb Newbie needs help

Posted: Sat Aug 30, 2003 8:01 am
by Hoppy
Hello PHP devotees,

I am not a clever puter person like you guys.

Today I installed PHP4.3.3 using the windows installer. Platform Windows 98 with PWS

Tried to follow instructions placing php.ini in Windows directory and changing cgi.force_redirect=1 to =0 as ordered to.

Then I did the usual "Hello World" Tutorial - Only got blank page

then tried this and only got "This is driving me nuts"

<html>
<body>

<?php

phpinfo();

?>
This is driving me nuts!!!!
</body>

</html>

php is obviously not working on my puter........HELP!

thanks
sorry I am so dumb :oops:

Posted: Sat Aug 30, 2003 8:12 am
by Drachlen
If I am not mistaken, you would also need a webserver with php enabled on it, apache being one i know of.. I'm not sure how much stuff you installed, but if it isn't a lot, I would just remove all of it, and install Phptriad. Phptriad comes with older versions of everything (unless they updated since I installed it), and sets everything up for you once you install it.
Once it's installed, you should probably reboot your computer, and then go into C:/apache/ and run apache.exe, you can close it right after, it will be running in your background. Once that's running, try going to http://127.0.0.1/ If it doesn't load, something isn't working properly.. All the files you want to view have to be in C:/apache/htdocs/ Reply if you need more help!

Posted: Sat Aug 30, 2003 8:51 am
by volka
did you restart the PWS after installing php?
you might take a look into the registry to check wether there is an entry in HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/W3Svc/Parameters/ScriptMap for .php. It should point to your php.exe

Posted: Sat Aug 30, 2003 2:34 pm
by McGruff
I would feel happier using a local apache server. There are several installation kits which will install php/mysql/apache painlessly (I use EasyPHP).

http://www.hotscripts.com/PHP/Software_ ... tion_Kits/

Thanks Moving to Apache

Posted: Sat Aug 30, 2003 9:04 pm
by Hoppy
Thanks guys for your replies.

I am downloading Apache now and I will see how I go with that.

Best Regards
Hoppy