Hello, my name is Tomas and you have to be gentle to me, since this is my first post on this forum.
Anyway, to the point. This is what I am using:
Apache 1.3.24
PHP 4.2.1 Binary
MySQL 4.0.1 Alpha
Windows XP (Not sure if this will make a difference)
So, I follow EVERY step in the Installation files. Both for PHP and Apache.
Everything is working. I launch an Apache "Service". No problems at all. Infact, I am getting nervous from the lack of problems.
Now, I read an online tutorial about how to install php4 and apache. Those steps are pretty much exactly the same as in the install.txt files. And then there's a section where it tells me that: "Now, it's time to check and see if you have done it right"
Sort of anyways.
It tells me to write this:
<? phpinfo() ?>
in notepad, and save it as phpinfo.php
All said and done, and I have the file sitting in my apache/htdocs folder.
Still no problems to be seen.
Then, apparently, I have to open up my web-browser and type in:
http://localhost/phpinfo.php
in the address field.
I'm thinking "Ok, this sounds about right."
I do so, and expect wonderful things to happen.
BUT!!!! PROBLEM!!!!
When I press "Enter" IE wants to download the file phpinfo.php.
Not what I was hoping for, since the tutorial said that phpinfo would put out a lot of info in my browser.
Can you please tell me what I am doing wrong?
Is the author of the tutorial correct? Or did he miss something in his tutorial, as in maybe I should have written something else than <? phpinfo() ?>
Here's a link to the tutorial, so you can check it out:
http://hotwired.lycos.com/webmonkey/00/ ... rogramming
Regards - Tomas


.


