Author |
|
mrushton
Joined: 01 Oct 2009 Posts: 3 Location: Northeastern PA USA
|
Posted: Fri 02 Oct '09 0:44 Post subject: Apache / PHP not working under Win XP |
|
|
I got Apache 2.0.54 and php 5.0.44
I have it set up on a Win XP Home machine - what I do is have a php program where I fill in a form and it builds a php web page for me.
Got a new machine - XP P SP3, IE 8. I can not get it to work as before.
I would go to an html form, enter the data and hit the submit button and a php program I wrote would build the page and then take me back to the html form and I can continue to enter data.
IE asks me if I want to download a file and never builds the file. I tried it with mozilla and it did not work either.
I fooled around with my php ini and browser settings and nothing.
(I am the only one that uses this program on my local machine) |
|
Back to top |
|
mrushton
Joined: 01 Oct 2009 Posts: 3 Location: Northeastern PA USA
|
Posted: Fri 02 Oct '09 2:44 Post subject: |
|
|
I am thinking about installing the most current versions of Apache and PHP.
It is like the php programs are not executing. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Fri 02 Oct '09 10:00 Post subject: |
|
|
Hi,
why do you such old software? As there is Apache 2.2.14 and PHP 5.3?
But back to your problem:
in httpd.conf you need to add this lines.
Code: |
# For PHP 5 do something like this:
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php
# configure the path to php.ini
PHPIniDir "C:/php"
|
|
|
Back to top |
|
mrushton
Joined: 01 Oct 2009 Posts: 3 Location: Northeastern PA USA
|
Posted: Tue 06 Oct '09 3:27 Post subject: Thanks |
|
|
Thank you for your help - that worked.
I must not have had got the correct config files transfered between the two machines.
What woud be the best way to perform an upgrade on Apache and PHP ? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
|
Back to top |
|