Skip to:
Content
Pages
Categories
Search
Top
Bottom

PHP 5 and “500 Internal Server Error”

  • Hi! I have problems with bbpress and PHP 5.

    On my hosting PHP 4 is “by default”. I am using .htaccess with

    AddType application/x-httpd-php5 .php

    in my top directory.

    With this .htaccess file bbpress does not working at all – I can’t install it and can’t use it after install.

    Installation process is “windows like” – I

    1 delete .htaccess

    2 create manually bb-config.php

    3 open the start page blog.example.com

    4 click “Next” and fill just minimum set of fields. I don’t integrate bbpress with my blog

    5 Everything is fine.

    Without my .htaccess file bbpres works after install. After upload .htaccess – don’t. I cant open anything, can’t login and don’t have any access. The error message is the same “500 Internal Server Error”.

    I don’t use permalinks or any plugins. Just default state …

    I reported this here: http://trac.bbpress.org/ticket/1001

Viewing 12 replies - 1 through 12 (of 12 total)

  • _ck_
    Participant

    @_ck_

    Is your host dreamhost?

    No.


    _ck_
    Participant

    @_ck_

    Do you know how to make a phpinfo file?

    Make one in the same directory as bbPress and access it so we can see if there are errors or what the native settings are.


    _ck_
    Participant

    @_ck_

    Try replacing that line in your .htaccess file with this

    AddHandler application/x-httpd-php5 .php
    AddType application/x-httpd-php5 .php
    AddHandler application/x-httpd-php .php4
    AddType application/x-httpd-php .php4

    Which settings do you need?

    No change – error 500

    Rev. 1828 seems working …


    chrishajer
    Participant

    @chrishajer

    Can you look at any logs to see why the 500 error is occuring? Sounds like the web server does not allow the directives you’re trying to use in .htaccess.

    BTW, I use AddType application/x-httpd-php5 .php on almost every install without a problem. Maybe the server just doesn’t support it. Does your host have instructions for enabling PHP5 for your webspace?

    @chrishajer – I am using PHP 5 with

    AddType application/x-httpd-php5 .php

    for every other web software witout problems.

    I’m working for this company. Our support guys say it’s depends of files permissions – they must be not more 755.


    chrishajer
    Participant

    @chrishajer

    PHP scripts don’t even need to be that high, 0644 works fine too. Directories need to be 0755. Did you fix the problem by doing something? I noticed this topic is marked as [Resolved].

    Were some files supplied with the wrong permissions from bbPress?

    I mark it as resolved :)

    > Rev. 1828 seems working …

    > Our support guys say it’s depends of files permissions – they must be not more 755.

    After

    chmod -R 755 bbpress

    it’s working too …

    And I don’t use dreamhost :))

    Thanks all :)


    chrishajer
    Participant

    @chrishajer

    I’m curious though if the files in the initial version you installed had the wrong permissions.

    Thanks

Viewing 12 replies - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.
Skip to toolbar