GetDotted Domains

Viewing Thread:
"PHP Newbie Help"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Wed 26/12/01 at 21:35
Regular
Posts: 787
I got a "beginning PHP4" book for christmas and today, I set about installing PHP4. So, I downloaded the appropriate software and it was all going fine. I installed PHP4 and PWS. It told me what to change in the php.ini file and where to add all the .dll files to, all of which I had done.

Next, I installed PWS and did exactly what my book said to do. It then said it was all fine and it should all be installed. So it then told me how to test if the installation had worked, by making a "phptest.php" file. I copied what it told me to do exactly and saved it in the appropriate place (C:/Inetpub/wwwroot).

It then said to open the web browser and see what happens if I type "http://localhost/" which I did and I got the screen that the book said I should get. I then tried "http://localhost/phpinfo.php" and it asked me if I wanted to download the php file. This is not right because it had a picture in the book of what I should of got.

I just don't know what is wrong so any suggestions would be more than welcome.

Thanks is advance.
Thu 27/12/01 at 16:33
Posts: 0
Turbonutter wrote:
> You don't need to download PHP, it comes with OmniHTTPd.


Could that be why it worked first time??? Damn, shame on MS for not supporting that pesky PHP thing.
Thu 27/12/01 at 16:31
Posts: 0
Turbonutter wrote:
> FG, yes, Omni does support ASP, as does Apache -
> oficially the world's best server.

Apache supports ASP from a basic installation. WOW! This is the first I have heard of this. You mean you don't need to install any other server plug-ins?

Also, define "best" - I have no problem telling people that the Internet (not just the WWW) was built on the backbone of Unix and Apache. That is fact. Where I work, we use some beatiful Sun servers running flavours of unix & Apache, they are workhorses. But to be honest, I don't have the time or the memory to get to know how to work them properly - I know the basics of Unix server admin, that is it. Luckily, all I do is develop, server stuff is left to the pros.

But ... Give me Win2000 Advanced server and I'll quickly have a web site up and running. I admit, it will not be as stable, it's a ball acher that one. But it is so fast to learn and use. Once Unix becomes as user-friendly as Windows, then we shall see MS quaking...
Thu 27/12/01 at 15:59
Regular
"Eff, you see, kay?"
Posts: 14,156
FG, yes, Omni does support ASP, as does Apache - oficially the world's best server.
Thu 27/12/01 at 15:58
Regular
"Eff, you see, kay?"
Posts: 14,156
You don't need to download PHP, it comes with OmniHTTPd. If you want to use it with any other server though get the auto-installer. Compiling it under Windows is, well, impossible.

As for MySQL, just get it from MySQL.org. I can't remember which one, there should be something like a MySQL binary. Anyway, you just have to run it and you can reach it via http://localhost/. It'll automatically know the port.
Thu 27/12/01 at 15:57
Posts: 0
At this point, I feel I must stand up for PWS.

It is invaluable as an ASP testing platform. When I first got into writing ASP I didn't have WinNT Server, but I did have Win98 and with it PWS. My first "Hello World" ASP file worked fine.

It may be different for PHP, but obviously it does work because the PHP book this guy is reading told him to install PHP on a PWS server! I have installed Perl on PWS succesfully before, so these types of things do work. Does the OmniHTTPd server interpret ASP pages? I doubt it.

However, yes, it is a security risk, which is why I make a point of stopping the PWS service when I log on to the Internet from home. PWS is not an industrial strength server, what do you expect for free?

I'm not saying PWS is the best, what I am saying is that it's horses for course mate. Simple as that.
Thu 27/12/01 at 15:14
Regular
"It goes so quickly"
Posts: 4,083
The Installer???
The Zip Package??
or Both??
Thu 27/12/01 at 15:13
Regular
"It goes so quickly"
Posts: 4,083
And which PHP do I download from the Site???
Thu 27/12/01 at 15:12
Regular
"It goes so quickly"
Posts: 4,083
I'm gonna do all that stuff you mention down there, but would MySQL work as well if I installed it Rob?
Thu 27/12/01 at 13:19
Regular
"Eff, you see, kay?"
Posts: 14,156
No probs. Microsoft have always generallly been poor at anything to do with the Internet.
Thu 27/12/01 at 12:56
Regular
"No Surprises Please"
Posts: 2,192
Ok, so I removed PWS and downloaded that program. Installed it and you never guess what? It worked :D:D

Cheers Turbonutter!

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

LOVE it....
You have made it so easy to build & host a website!!!
Gemma
My website looks tremendous!
Fantastic site, easy to follow, simple guides... impressed with whole package. My website looks tremendous. You don't need to be a rocket scientist to set this up, Freeola helps you step-by-step.
Susan

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.