logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache / PHP not working under Win XP
Author
mrushton



Joined: 01 Oct 2009
Posts: 3
Location: Northeastern PA USA

PostPosted: Fri 02 Oct '09 0:44    Post subject: Apache / PHP not working under Win XP Reply with quote

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

PostPosted: Fri 02 Oct '09 2:44    Post subject: Reply with quote

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

PostPosted: Fri 02 Oct '09 10:00    Post subject: Reply with quote

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

PostPosted: Tue 06 Oct '09 3:27    Post subject: Thanks Reply with quote

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

PostPosted: Wed 07 Oct '09 12:36    Post subject: Reply with quote

There is an artical about that http://archives.justmyspace.org/?article=A000001

If that path are the same maybe you can also add the config folder to that script.
Back to top


Reply to topic   Topic: Apache / PHP not working under Win XP View previous topic :: View next topic
Post new topic   Forum Index -> Apache