Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Php with apachie install problems

Options
  • 24-08-2006 1:52am
    #1
    Closed Accounts Posts: 884 ✭✭✭


    LoadModule php5_module "c:/Apache/php/php5Apache2.dll"
    

    When i add the following line to my httpd.conf file the service refuses to start with no entry in the log file.

    Any help would be appreciated.


Comments

  • Closed Accounts Posts: 7,145 ✭✭✭DonkeyStyle \o/


    I was tormeted with this aswell before, but for the life of me I can't remember how I fixed it... I think it could have been something I forgot to set in the php.ini
    Whatever it was, all I can remember is kicking myself.
    I'd say have a closer look at the php documentation... see if anything jumps out.
    FYI, that line you're using in httpd.conf is the same as the one I'm using in my working install of php5 & apache2... so as long as the path is 100%, I'd give that part the green light.


  • Registered Users Posts: 677 ✭✭✭Champ


    This is deja vu for me. Not sure if your using the exact same setup, but its a PHP 5 bug with the Apache 2.2x series (not sure if the 2.0x series is affected).

    What you need to do is grab the latest stable 5.2x dev package from PHP and use its updated Apache module.
    http://snaps.php.net/
    That will get PHP working with Apache, though you might err.. run into the relative path problem which i posted about earlier this week:D.
    One way to get around that is to opt for the cgi functionality instead of the Apache dll module, as there seems to be a bug with the get current working directory function in the module.

    Have fun, though after countless hours spent trying to fix my setup before discovering its a bug with the PHP code -i might consider going back to an Apache 2.0x / 1.x release with PHP 4;)


  • Registered Users Posts: 68,317 ✭✭✭✭seamus


    Which version of Apache? If you're using the latest 2.2 try downgrading to 2.0x.


  • Closed Accounts Posts: 884 ✭✭✭NutJob


    Thanks will downgrade and try again.
    Wont be till after dinner tonight.


    Will let ye know how it goes.


  • Closed Accounts Posts: 884 ✭✭✭NutJob


    Found a lazy way out for a dev box

    http://www.wampserver.com/

    My kinda solution a soluton for the lazy:)


  • Advertisement
Advertisement