Forum Moderators: phranque

Message Too Old, No Replies

Can PHP 4 really be configured with Apache on Windows XP?

         

sidyadav

9:21 pm on Nov 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm new to this Apache thing on Windows, so I downloaded:
PHP 4 (newest version of it)
Apache 2 (newest version)
MYSQL 4 (Newest version)

Now I spent hours trying to configure PHP (4) with Apache (2) by just reading the manuals given with both programs.

But it didn't work :(

So I searched on the net for it, and everywhere I see this:
"If you're trying to configure PHP with Apache 2, you're own your own there"
and everywhere the manual is written specially for the old Apache 1.3 (I think)

So does anyone have PHP 4 already configured with Apache 2 on a Windows XP?

Sid

jatar_k

9:43 pm on Nov 14, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



any particular reason you want apache 2?

Take a look through these
[php.net...]

and specifically this
[php.net...]

Warning

Do not use Apache 2.0 and PHP in a production environment neither on Unix nor on Windows.

bcolflesh

9:49 pm on Nov 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Warning
Do not use Apache 2.0 and PHP in a production environment neither on Unix nor on Windows.

Using them in a production server environment is not a good choice, but they play fine for me to dev on Win98 through XP.

If manual setup is new to you, you may want to try one of the all-in-one WAMP installers - check G.

closed

5:29 am on Nov 16, 2003 (gmt 0)

10+ Year Member



I did the exact same thing around two months ago that you're trying to do right now, sidyadav. And yes, I was installing on a Win XP box.

Everything went okay, except for the fact that whenever the instructions refer to php4apache.dll, you should actually use php4apache2.dll because you're using Apache 2.

sidyadav

6:37 am on Nov 16, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'll go with a WAMP installer and Apache 1.3 thanks! Don't want all the hassle setting it up manually.

Thanks for the link, bcolfish!

Sid