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

Apache/PHP Error

Options
  • 05-02-2007 3:14am
    #1
    Registered Users Posts: 1,987 ✭✭✭


    I get this error after i installed apache and php, apache works fine and i cant figure out what im doing wrog with php, when i go to http://localhost/ i get this:

    apacheoo6.th.jpg


Comments

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


    Make sure you've setup your httpd.conf properly for PHP.

    Probably missing sommifk like AddType application/x-httpd-php .php (and/or a few other lines, it's all in the install readme).


  • Registered Users Posts: 1,987 ✭✭✭Ziycon


    This is what i have, i already followed the install file! Aint working!
    <Directory "C:/php/">
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
    </Directory>
    
    ScriptAlias /php/ "c:/php/"
    AddType application/x-httpd-php .php
    Action application/x-httpd-php "/php/php-cgi.exe"
    


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


    <<shrug>> Beyond checking your paths, you could abort the CGI method and try installing it as an Apache module instead, might work out better if you're hitting a brick wall.
    That's the way I ended up doing it anyway.

    Did you configure php.ini?


  • Registered Users Posts: 2,472 ✭✭✭Sposs


    Try re-installing it using WAMP http://www.wampserver.com/en/ much easier.


  • Registered Users Posts: 1,987 ✭✭✭Ziycon


    Sposs wrote:
    Try re-installing it using WAMP http://www.wampserver.com/en/ much easier.

    I hate using that, i've always used the seperate installs, just for some reason this time in getting this, i've installed everything successfully hundreds of times, im really stumped!


  • Advertisement
Advertisement