PHP5 install in Windows Vista | | | re: PHP5 install in Windows Vista
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 am absolutely not an expert on Vista architecture, but know that it's
unlikely that the old instructions I have for XP Pro will carry directly
across.
Cold somebody spell out for me what needs to be done, or point me
towards an article which might walk me though the process?
Many thanks. | | |
*** Alan M Dunsmuir escribió/wrote (Sun, 11 May 2008 10:34:15 +0100): Quote:
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
--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://bits.demogracia.com
-- Mi web de humor en cubitos: http://www.demogracia.com
-- | | | | re: PHP5 install in Windows Vista
Alan M Dunsmuir wrote: Quote:
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 am absolutely not an expert on Vista architecture, but know that it's
unlikely that the old instructions I have for XP Pro will carry directly
across.
>
Cold somebody spell out for me what needs to be done, or point me
towards an article which might walk me though the process?
>
Many thanks.
Try to install everything from scratch, making sure you've got
administrator rights before you install. That should be the only hurdle
you need to jump. Other than that the XP installation process should
apply also to Vista.
Bye! | | | | re: PHP5 install in Windows Vista
Álvaro G. Vicario wrote: Quote:
*** Alan M Dunsmuir escribió/wrote (Sun, 11 May 2008 10:34:15 +0100): Quote:
>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.)
Anybody out there with a Vista PHP5 installation running properly,
prepared to tell me what they did? | | | | re: PHP5 install in Windows Vista
Alan M Dunsmuir escribió: Quote: Quote:
># 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.)
In what sense did it not work? Do you get an error message in Apache logs?
--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://bits.demogracia.com
-- Mi web de humor al baño María: http://www.demogracia.com
-- | | | | re: PHP5 install in Windows Vista
On May 12, 7:52 pm, Alan M Dunsmuir <a...@moonrake.demon.co.ukwrote: Quote:
Álvaro G. Vicario wrote: Quote:
*** Alan M Dunsmuir escribió/wrote (Sun, 11 May 2008 10:34:15 +0100): Quote:
After having worked withApache/MySQL/PHPfor a year or so under Linux I
need, purely for convenience, to set up a parallel platform under Windows.
> Quote: Quote:
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.
> Quote: Quote:
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.
> Quote:
I suppose you're using a recent installer (older ones were broken in Vista
and would not install anything, not evenPHP). Editing yourApache's
httpd.conf file (with an elevated text editor) and appending these lines
should be enough:
> Quote:
#PHP5
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.)
>
Anybody out there with a Vista PHP5 installation running properly,
prepared to tell me what they did?
I use this to setup the WAMP on the my boxes: http://www.witsuite.com/support/know...-installation/.
Have tried Vista/IIS7/FastCGI/PHP, Apache/CGI/PHP, etc.
Regards,
Alex | | | | re: PHP5 install in Windows Vista
Greetings, Alan M Dunsmuir.
In reply to Your message dated Monday, May 12, 2008, 20:52:54, Quote: Quote: Quote:
>>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
Quote:
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. Quote:
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@freemail.ru> | | | | re: PHP5 install in Windows Vista
AnrDaemon wrote: Quote:
Greetings, Alan M Dunsmuir.
In reply to Your message dated Monday, May 12, 2008, 20:52:54,
> Quote: Quote:
>>>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
> Quote:
>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.
>
Wrong again. Neither of these are supplied with Apache. Both come with
PHP. One is for Apache 2.0-2.1, the other for Apache 2.2. Quote: Quote:
>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.
>
And wrong again. PHP and Apache do not work on Vista. Look back
through here to see all of the problems people have had with it. Quote:
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)
>
>
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. jstucklex@attglobal.net
================== | | | | re: PHP5 install in Windows Vista
On Jun 8, 10:18 pm, Jerry Stuckle <jstuck...@attglobal.netwrote: Quote:
AnrDaemon wrote: Quote:
Greetings, Alan M Dunsmuir.
In reply to Your message dated Monday, May 12, 2008, 20:52:54,
> Quote: Quote:
>>After having worked withApache/MySQL/PHPfor a year or so under Linux I
>>need, purely for convenience, to set up a parallel platform under Windows.
> Quote: Quote:
>>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.
> Quote: Quote:
>>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 evenPHP). Editing yourApache's
>httpd.conf file (with an elevated text editor) and appending these lines
>should be enough:
> Quote: Quote:
>#PHP5
>LoadModule php5_module "C:\Program Files\PHP\php5apache2_2.dll"
>AddType application/x-httpd-php.php
> Quote: Quote:
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.)
> Quote:
You must use proper DLL fromPHPinstallation, not fromApache.
That probably was the case of failure.
>
Wrong again. Neither of these are supplied withApache. Both come withPHP. One is forApache2.0-2.1, the other forApache2.2.
> Quote: Quote:
Anybody out there with a Vista PHP5 installation running properly,
prepared to tell me what they did?
> Quote:
It should work without problem. I just not know anyone who are usingPHP
installer to installPHPintoApache. It is faster and easier to do it by
hands.
>
And wrong again. PHPandApachedo not work on Vista. Look back
through here to see all of the problems people have had with it.
BTW, you can use IIS FastCGI and PHP on Vista, as described here: http://www.witsuite.com/support/know...nstall-php.php
Regards,
Alex | | | | re: PHP5 install in Windows Vista
alex.w474 wrote: Quote:
On Jun 8, 10:18 pm, Jerry Stuckle <jstuck...@attglobal.netwrote: Quote:
>AnrDaemon wrote: Quote:
>>Greetings, Alan M Dunsmuir.
>>In reply to Your message dated Monday, May 12, 2008, 20:52:54,
>>>>>After having worked withApache/MySQL/PHPfor 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 evenPHP). Editing yourApache's
>>>>httpd.conf file (with an elevated text editor) and appending these lines
>>>>should be enough:
>>>>#PHP5
>>>>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 fromPHPinstallation, not fromApache.
>>That probably was the case of failure.
>Wrong again. Neither of these are supplied withApache. Both come withPHP. One is forApache2.0-2.1, the other forApache2.2.
>> Quote:
>>>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 usingPHP
>>installer to installPHPintoApache. It is faster and easier to do it by
>>hands.
>And wrong again. PHPandApachedo not work on Vista. Look back
>through here to see all of the problems people have had with it.
>
BTW, you can use IIS FastCGI and PHP on Vista, as described here: http://www.witsuite.com/support/know...nstall-php.php
>
Regards,
Alex
>
It's a great idea, Alex. But there have been a lot of people with problems.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. jstucklex@attglobal.net
================== | | | | re: PHP5 install in Windows Vista
alex.w474 wrote: Quote:
On Jun 8, 10:18 pm, Jerry Stuckle <jstuck...@attglobal.netwrote: Quote:
>AnrDaemon wrote: Quote:
>>Greetings, Alan M Dunsmuir.
>>In reply to Your message dated Monday, May 12, 2008, 20:52:54,
>>>>>After having worked withApache/MySQL/PHPfor 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 evenPHP). Editing yourApache's
>>>>httpd.conf file (with an elevated text editor) and appending these lines
>>>>should be enough:
>>>>#PHP5
>>>>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 fromPHPinstallation, not fromApache.
>>That probably was the case of failure.
>Wrong again. Neither of these are supplied withApache. Both come withPHP. One is forApache2.0-2.1, the other forApache2.2.
>> Quote:
>>>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 usingPHP
>>installer to installPHPintoApache. It is faster and easier to do it by
>>hands.
>And wrong again. PHPandApachedo not work on Vista. Look back
>through here to see all of the problems people have had with it.
>
BTW, you can use IIS FastCGI and PHP on Vista, as described here: http://www.witsuite.com/support/know...nstall-php.php
>
Regards,
Alex
>
And BTW - I was referring to Apache and PHP - Apache is much superior to
IIS in many ways.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. jstucklex@attglobal.net
================== | | | | re: PHP5 install in Windows Vista
On Jun 12, 10:45 pm, Jerry Stuckle <jstuck...@attglobal.netwrote: Quote:
alex.w474 wrote: Quote:
On Jun 8, 10:18 pm, Jerry Stuckle <jstuck...@attglobal.netwrote: Quote:
AnrDaemon wrote:
>Greetings, Alan M Dunsmuir.
>In reply to Your message dated Monday, May 12, 2008, 20:52:54,
>>>>After having worked withApache/MySQL/PHPfor 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 evenPHP). Editing yourApache's
>>>httpd.conf file (with an elevated text editor) and appending these lines
>>>should be enough:
>>>#PHP5
>>>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 fromPHPinstallation, not fromApache.
>That probably was the case of failure.
Wrong again. Neither of these are supplied withApache. Both come withPHP. One is forApache2.0-2.1, the other forApache2.2.
> Quote: Quote:
>>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 usingPHP
>installer to installPHPintoApache. It is faster and easier to do it by
>hands.
And wrong again. PHPandApachedo not work on Vista. Look back
through here to see all of the problems people have had with it.
> > >
And BTW - I was referring to Apache and PHP - Apache is much superior to
IIS in many ways.
:-) It's a matter of compromise - non-working apache with PHP on vista
or non-superior, with problems, but working IIS with PHP. | | | | re: PHP5 install in Windows Vista
alex.w474 wrote: Quote:
On Jun 12, 10:45 pm, Jerry Stuckle <jstuck...@attglobal.netwrote: Quote:
>alex.w474 wrote: Quote:
>>On Jun 8, 10:18 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
>>>AnrDaemon wrote:
>>>>Greetings, Alan M Dunsmuir.
>>>>In reply to Your message dated Monday, May 12, 2008, 20:52:54,
>>>>>>>After having worked withApache/MySQL/PHPfor 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 evenPHP). Editing yourApache's
>>>>>>httpd.conf file (with an elevated text editor) and appending these lines
>>>>>>should be enough:
>>>>>>#PHP5
>>>>>>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 fromPHPinstallation, not fromApache.
>>>>That probably was the case of failure.
>>>Wrong again. Neither of these are supplied withApache. Both come withPHP. One is forApache2.0-2.1, the other forApache2.2.
>>>>>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 usingPHP
>>>>installer to installPHPintoApache. It is faster and easier to do it by
>>>>hands.
>>>And wrong again. PHPandApachedo not work on Vista. Look back
>>>through here to see all of the problems people have had with it.
>>BTW, you can use IIS FastCGI and PHP on Vista, as described here:
>> http://www.witsuite.com/support/know...nstallation/in...
>>Regards,
>>Alex
>And BTW - I was referring to Apache and PHP - Apache is much superior to
>IIS in many ways.
>
:-) It's a matter of compromise - non-working apache with PHP on vista
or non-superior, with problems, but working IIS with PHP.
>
No compromise necessary. Don't use Vista.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. jstucklex@attglobal.net
================== |  | | | | /bytes/about
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 226,449 network members.
|