Info
- 13 posts
- 3 voices
- Started 3 years ago by wiseacre
- Latest reply from chrishajer
- This topic is resolved
PHP 5 and "500 Internal Server Error"
-
- Posted 3 years ago #
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
-
- Posted 3 years ago #
Is your host dreamhost?
-
- Posted 3 years ago #
No.
-
- Posted 3 years ago #
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. -
- Posted 3 years ago #
Try replacing that line in your
.htaccessfile with thisAddHandler application/x-httpd-php5 .php AddType application/x-httpd-php5 .php AddHandler application/x-httpd-php .php4 AddType application/x-httpd-php .php4 -
- Posted 3 years ago #
Which settings do you need?
-
- Posted 3 years ago #
No change - error 500
-
- Posted 3 years ago #
Rev. 1828 seems working ...
-
- Posted 3 years ago #
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 .phpon 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? -
- Posted 3 years ago #
@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.
-
- Posted 3 years ago #
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?
-
- Posted 3 years ago #
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 :)
-
- Posted 3 years ago #
I'm curious though if the files in the initial version you installed had the wrong permissions.
Thanks
-
You must log in to post.