-1

I was running a "happy" installation of Apache (2.2.11) and PHP (some other version) with no problems on my development machine.

Then, one day, I felt like upgrading to 5.2.11 (PHP) and this broke my install. Now, Apache fails to run, and the Windows "More info" button shows that the erring module is "php4ts" or something similar.

It displays the standard Windows error message:

Apache HTTP Server has encountered a problem and needs to close ...

and in the "More information" section, it says:

Error Signature -- szAppName : httpd.exe szAppVer: 2.2.11.0 szModName : php5ts.dll szModVer 5.2.11.11 offset: 000f331b.

Apart from the stuff required to use PHP, httpd.conf doesn't have anything notable. On commenting the PHP part out, Apache runs, but without PHP (as expected).

5
  • @Eight : I could deduce as much
    – aviraldg
    Commented Oct 24, 2009 at 7:49
  • Let's see if it's not something wrong with the last few lines of the httpd.conf then.
    – random
    Commented Oct 24, 2009 at 8:06
  • 1
    "or something similar"? How about some details here? How are we supposed to help you if you don't even bother to show us the exact error you get?
    – innaM
    Commented Oct 24, 2009 at 8:22
  • @Manni,Eight : It displays the standard windows error message saying "Apache HTTP Server has encountered a problem and needs to close ..." and in the "more information" section, it says : "Error Signature -- szAppName : httpd.exe szAppVer: 2.2.11.0 szModName : php5ts.dll szModVer 5.2.11.11 offset: 000f331b". Also, there isn't too much notable stuff in the httpd.conf file, apart from the stuff required to use php. On commenting that out, Apache runs, but w/o PHP (as expected).
    – aviraldg
    Commented Oct 24, 2009 at 9:23
  • Then show us the part that you're commenting out in the httpd.conf file.
    – random
    Commented Oct 24, 2009 at 9:38

3 Answers 3

1

If you're not very experienced with Apache, PHP, and MySQL, I would highly recommend that you look at XAMPP. It's a pre-packaged, all-in-one, LAMP server for Linux and Windows. It's super easy to setup and if you need to ugprade, if you install the full version, it includes scripts that automatically upgrade the whole package.

2
  • 1
    If it's running on Windows, it's not a LAMP, it's a WAMP! ;-)
    – Snark
    Commented Oct 24, 2009 at 7:19
  • There's also MAMP of OS X
    – Tom
    Commented Oct 24, 2009 at 10:37
1

Why do you have php4ts ? This should be php5ts. It's quite possible that you have a mixture of versions, which is the source of your problem.

Rather than upgrading I would start from scratch: Uninstall all affected software, delete all its directories, then install the vanilla products and see if they run as-is, with no additional modules or anything extra.

Then, once everything works in a standard configuration, I would start building towards my final configuration, but doing one small change at a time.

0

Although it doesn't really answer your question (fix an existing Apache), I'll give an answer like Chris' but instead of XAMPP, I'd propose WampServer.

From their presentation:

WampServer is a Windows web development environment. It allows you to create web applications with Apache, PHP and the MySQL database. It also comes with PHPMyAdmin to easily manage your databases.

WampServer installs automatically (installer), and its usage is very intuitive. You will be able to tune your server without even touching the setting files.

WampServer is the only packaged solution that will allow you to reproduce your production server. Once WampServer is installed, you have the possibility to add as many Apache, MySQL and PHP releases as you want.

WampServer also has a trayicon to manage your server and its settings.

alt text

You can install several versions of Apache, MySql and PHP and quickly select which one you want to run, or switch easily to another one.

1
  • While I appreciate the given link, I'd prefer a fix to my current setup
    – aviraldg
    Commented Oct 24, 2009 at 7:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .