Click to See Complete Forum and Search --> : I know it's lame, but hey I'm new...


mabans
05-10-2001, 07:52 PM
at all this. I love the possiblities with PHP and I want to be able to take full advantage of what it has to offer.

So i being somewhat computer literate went all out and for my future skate magazine plan to use PHP because of it's time saving use, in the long run. I also took the time to Make a Webserver for my Site using the following software.

OS: Windows 2000 Pro
Webserver: Apache (of course)

Problem is I can't get the Latest PHP to actually work on Apache. I read the installation and it seemed simple enough but I still couldn't get it. I didn't know where to the PUt the additions in the Conf file and in windows.

This concerns me because I soon plan to build a nother webserver using Wonderful Linux as the Webserver and DSL connection router. (This one is a guina pig for my testing but I'm giving this POS to my sis when I get the new one.)

My worry is if I can't do it in windows where it's more fimilar to me than my Mac or Linux how can I expect to set it up in Linux when it really does matter.

So to my question: does anyone know how to explain this PHP setup to me, for dummies, or know of a website where they do explain it in lamins terms? I would really LOVE any and all info on this. I don't want to take up forum space discussing this topic that I'm sure everyone who is more savvy than I has realized it's simplicity. So if you can or wish to you can contact me Via personal email not a problem. Thanks for everyone's future help with this seemingly difficult problem for me.

-MABans

mattlemon
05-11-2001, 03:59 AM
It is a little tricky to get PHP to run on WINNT.

In the Httpd.conf under Winnt, there's one difference: you don't need mod_php4.c onwindows. Locate php4apache.dll in the distribution you have downloaded, copy it to $(SERVERROOT)/modules, add LoadModule php4_module modules/php4apache.dll to the list in httpd.con, the AddType directive, and you're set.


Good luck,

Matt Lemon
www.midland-network.com

mabans
05-11-2001, 06:58 AM
But where exactly do you put it in the Http.conf. Is there a Special line or do I just plop it in there?

mattlemon
05-11-2001, 07:30 AM
You'll see a load of lines that read like #LoadModule info_module modules/ApacheModuleInfo.dll. Add this line to it and leave out the #
LoadModule php4_module modules/php4apache.dll

You also need to make sure that you uncomment the line about 3/4 of the way down that reads AddType application/x-httpd-php .php.

If you have trouble with this then e-mail me at webmaster@irishlife.ie and I'll send you a copy of my .conf file for you to look at.

Regards,

Matt

Anon
05-11-2001, 06:45 PM
I'm also a newbie at PHP. I found a site through the dev forum at The Exchange Project. The site is http://fox-hunt.net. Download Fox-Serv-v.1, which will install PHP4, MySql and Apache on Win 98, 2000 in about 5 minutes. Hope this helps.