Re: PHP5 install in Windows Vista
- From: AnrDaemon <anrdaemon@xxxxxxxxxxx>
- Date: Sun, 8 Jun 2008 22:51:49 +0400
Greetings, Alan M Dunsmuir.
In reply to Your message dated Monday, May 12, 2008, 20:52:54,
After having worked with Apache/MySQL/PHP for a year or so under Linux I
need, purely for convenience, to set up a parallel platform under Windows.
Unfortunately, since I last did this (using Windows XP Pro) I've moved
on to Windows Vista (Home Premium). MySQL and Apache2 have both
installed satisfactorily, but I'm having problems with PHP5.
I downloaded the PHP5 Windows installer (the .msi file) for 32-bit
Windows, which is supposed to automate the configuration process, but it
reported failure to link to Apache2, and said I would have to perform a
manual configure.
I suppose you're using a recent installer (older ones were broken in Vista
and would not install anything, not even PHP). Editing your Apache's
httpd.conf file (with an elevated text editor) and appending these lines
should be enough:
# PHP 5
LoadModule php5_module "C:\Program Files\PHP\php5apache2_2.dll"
AddType application/x-httpd-php .php
I'm afraid that didn't work. (But I was using php5apache2.dll which was
in my Apache2 installation, rather than php5apache2_2.dll, which wasn't.)
You must use proper DLL from PHP installation, not from Apache.
That probably was the case of failure.
Anybody out there with a Vista PHP5 installation running properly,
prepared to tell me what they did?
It should work without problem. I just not know anyone who are using PHP
installer to install PHP into Apache. It is faster and easier to do it by
hands.
What version of Apache server you are using by the way?
And what the error message sounds for exact? (it should be in Apache
error.log)
--
Sincerely Yours, AnrDaemon <anrdaemon@xxxxxxxxxxx>
.
- Follow-Ups:
- Re: PHP5 install in Windows Vista
- From: Jerry Stuckle
- Re: PHP5 install in Windows Vista
- Prev by Date: Re: PostgreSQL drivers not working?
- Next by Date: Re: fread and UTF-16 encodings
- Previous by thread: Just be a part of the big game and become our partner.It is easy and free.If you have a web site you just need to put our banner and wait your money.Just go to : http://adultfriendfinder.com/go/g823382-brk
- Next by thread: Re: PHP5 install in Windows Vista
- Index(es):
Relevant Pages
|
|