Forums

WP 1.5, PHP5, Apache 2, install crashes (7 posts)

  1. jrbarkhu
    Member
    Posted 7 years ago #

    After step one of the installation, when I enter "Weblog Title" and "Your Email" and click "Continue to Second Step", Apache crashes. Also, after clicking "Continue to Second Step", any other WP page I try to access also crashes Apache (including "install.php").

    If I drop the WP Database and create it again, it allows me to get to step one of the install process, but then the error happens all over again.

    Here is my system configuration:
    WP 1.5
    PHP 5.0.3
    MySQL 4.0.22
    Apache 2.0.53

    NOTE: I was successful installing WP on this same system running PHP 4.3.10.

    I don't get any error messages printed out to the page.

  2. jrbarkhu
    Member
    Posted 7 years ago #

    AND I'm running Win XP Pro

  3. TechGnome
    Moderator
    Posted 7 years ago #

    I had problems with a similar set up... things didn't crash, they simply didn't work....

    But here's what does: http://tamba2.org.uk/wordpress/xampp/
    Get XAMPP, and follow the directions at that link. The only change I had to make once I got XAMPP installed that wasn't in the directions was to run the batch to switch from PHP5 to PHP4, but that's because I'm still runnign a WP1.2 on my test machine.... WP1.5 is supposed to be PHP5 friendly though.

    Give that a try and see how it goes.

    Tg

  4. vkaryl
    Member
    Posted 7 years ago #

    I can verify that the xampp distro with 5.0* php works just fine with WP1.5....

  5. jrbarkhu
    Member
    Posted 7 years ago #

    Thanks for the help.

    I got it working, but the bug still remains.

    The key was switching PHP 5.0.3 to run as a CGI Binary instead of a Module for Apache 2.0.53.

    In Apache's httpd.conf file, I changed this:

    # PHP 5 Module
    LoadModule php5_module "c:/php/php5apache2.dll"
    AddType application/x-httpd-php .php
    PHPIniDir "C:/WINDOWS"

    to this:

    # PHP 5 CGI Binary
    ScriptAlias /php/ "c:/php/"
    AddType application/x-httpd-php .php
    Action application/x-httpd-php "/php/php-cgi.exe"

    I'm not terribly happy about running PHP as a CGI Binary, so if any one else figures out the Module problem please let me know.

    Cheers,
    Justin

  6. vkaryl
    Member
    Posted 7 years ago #

    Can't help you with that one.... didn't have to do any monkeying around with the xampp distro.

  7. jrbarkhu
    Member
    Posted 7 years ago #

    With the xampp distro, do you know if Apache runs PHP as a Module or as a CGI Binary?

    On a related note, I've experienced similar performance problems (Apache crashes) with any web application that uses PHP classes and objects running on a Windows server running PHP 4.* as a Module on Apache 2.*.

    Running PHP as a CGI Binary seems to fix those problems.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.