error 500 running abyss, but apache's fine...?!

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
strinxx
-


Joined: 27 Feb 2006
Posts: 20

PostPosted: Mon Feb 27, 2006 8:21 pm    Post subject: error 500 running abyss, but apache's fine...?! Reply with quote

Hi everybody!
I know, there are lots of topics regarding error 500, I spent a few days already, crawling this forum... but I seem to be the only one with this thing:
I perfectly set up the php settings within Abyss - several times, tried out whatever might have helped (but didn't...).

My setup is a Debian-system (Kanotix), installed everything as far as I was able to (this is brandnew stuff here, but I really like it!)... Abyss is running fine, except the php-script. error 500, "broken pipe"

I tried Xampp with php-support, everything is ok. PHP no problem.
(my w2k-server works perfectly with Abyss and this webfilbrowser script, by the way)

I would sooo love to stay with Abyss, such a great piece of software!
Any ideas?
(php-5.1.1 installed)

Thank you so much in advance for your help!
Mike
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Tue Feb 28, 2006 2:20 am    Post subject: Reply with quote

Do you mind telling us what script is giving you this broken pipe?
Back to top View user's profile Send private message Visit poster's website
strinxx
-


Joined: 27 Feb 2006
Posts: 20

PostPosted: Tue Feb 28, 2006 9:40 am    Post subject: Reply with quote

Thank you for this fast reply!
The php-script is called "wegbfilebrowser", by webfilebrowser.org.
I downloaded it from sourceforge.

Mike
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue Feb 28, 2006 11:24 am    Post subject: Re: error 500 running abyss, but apache's fine...?! Reply with quote

strinxx,

Your problem seems to be related to your PHP interpreter declaration and not to the script itself (which works fine on any PHP enabled web server including Abyss Web Server). How have you declared PHP support in Abyss Web Server? What is the executable you are using as your PHP interpreter?

Can you create a simple phpinfo.php file which contains:

Code:
<?php
phpinfo();
?>


and put it in your Abyss Web Server's htdocs/ directory. Next browse http://127.0.0.1/phpinfo.php .

Do you get error 500 too?
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
strinxx
-


Joined: 27 Feb 2006
Posts: 20

PostPosted: Tue Feb 28, 2006 1:28 pm    Post subject: Reply with quote

well...,

if I browse http://127.0.0.1/phpinfo.php, than it says "can't connect to server..",
if I get to http://127.0.0.1:8000/phpinfo.php I get "error 500".

I declared the interpreter as follows:
/opt/lampp/bin/php-5.1.1
script paths /*.php

If I typ in a shell "/opt/lampp/bin/php-5.1.1 /home/.../htdocs//index.php
it seems to work fine, script is running, no problems shown...

Does this help?
Back to top View user's profile Send private message
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1295

PostPosted: Tue Feb 28, 2006 2:11 pm    Post subject: Reply with quote

strinxx,

We thought you were using the Windows version.

Can you please clear the executable (x) bit of your scripts by executing the command in htdocs/:

Code:
chmod -x *.php


Do you still have error 500?
_________________
Follow @abyssws on Twitter
Subscribe to our newsletter
_________________
Forum Administrator
Aprelium - https://aprelium.com
Back to top View user's profile Send private message
strinxx
-


Joined: 27 Feb 2006
Posts: 20

PostPosted: Tue Feb 28, 2006 2:17 pm    Post subject: Reply with quote

Yes, unfortunately!
Same matter!
Back to top View user's profile Send private message
strinxx
-


Joined: 27 Feb 2006
Posts: 20

PostPosted: Tue Feb 28, 2006 8:00 pm    Post subject: Reply with quote

Hey Guys!

After fooling around for several hours, I just set the interprete-type to "standard"
...and it worked! Any ideas what that's supposed to mean?
Thanxx anyway!
Mike
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Wed Mar 01, 2006 5:01 pm    Post subject: Reply with quote

strinxx,

Glad to know that the problem is solved now.

When PHP was first developed, it was using a wrong method to communicate with web servers. This method was not conforming to the CGI standard.
Because it became so popular, people were used to this problem and new versions of PHP were still by default configured to follow this wrong method (although the odd behavior was fixed).
That's why we have added "PHP Style" in the Interpreter Type. It's simply to tell Abyss Web Server to communicate with PHP using this "wrong" method.
But some versions are built and configured to use the standard method (and are fully conforming to CGI). That's the case of your PHP. In such a case, setting the Interpreter Type to Standard is required.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group