Error 500 on index.php

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


Joined: 08 Jul 2011
Posts: 2

PostPosted: Fri Jul 08, 2011 8:16 pm    Post subject: Error 500 on index.php Reply with quote

http://174.52.244.90/index.html works but http://174.52.244.90/index.php does not work I get a Error 500. I read and followed the guide and downloaded the reconfigured php installer located at http://www.aprelium.com/abyssws/php.html with no luck. My system is running windows server 2003. Thanks in advance for the help.
Back to top View user's profile Send private message
aprelium-support
-


Joined: 20 Feb 2009
Posts: 356

PostPosted: Mon Jul 11, 2011 11:06 am    Post subject: Re: Error 500 on index.php Reply with quote

jobot wrote:
http://174.52.244.90/index.html works but http://174.52.244.90/index.php does not work I get a Error 500. I read and followed the guide and downloaded the reconfigured php installer located at http://www.aprelium.com/abyssws/php.html with no luck. My system is running windows server 2003. Thanks in advance for the help.


Dear jobot,

Could you please send us your abyss.conf file and the URL which gives sometimes error 500 to the technical support team ?

http://www.aprelium.com/support/standard/

We'll be waiting for your reply.

Best regards
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Visit poster's website
jobot
-


Joined: 08 Jul 2011
Posts: 2

PostPosted: Tue Jul 12, 2011 5:54 pm    Post subject: Reply with quote

Well somehow it just started working; Maybe I had to reboot a few more times.
Back to top View user's profile Send private message
pudnik
-


Joined: 27 Aug 2011
Posts: 5

PostPosted: Sat Aug 27, 2011 12:06 pm    Post subject: PHP won't work on Fedora 15 Reply with quote

I can't get PHP started either. I'm trying to get it going on Fedora 15. Here is my abyss.conf:

<?xml version="1.0" encoding="UTF-8"?>
<root>
<server>
<parameters>
<root>
/home/pudnik/bin/abyssForLinux/
</root>
<timeout>
30
</timeout>
<maxconn>
20
</maxconn>
<keepalive>
10
</keepalive>
<opsys>
<pidfile>
log/abyssws.pid
</pidfile>
<sysuser>
pudnik
</sysuser>
</opsys>
</parameters>
<host>
<names/>
<path>
htdocs/
</path>
<running>
yes
</running>
<id>
1
</id>
<scripting>
<enabled>
yes
</enabled>
<cgi>
<timeout>
30
</timeout>
<useregistry>
no
</useregistry>
<useshebang>
yes
</useshebang>
<errorfile>
log/cgi.log
</errorfile>
</cgi>
<isapi>
<ext>
dll
</ext>
<errorfile>
log/isapi.log
</errorfile>
<debuglevel>
0
</debuglevel>
</isapi>
<fastcgi>
<errorfile>
log/fastcgi.log
</errorfile>
<timeout>
240
</timeout>
<debuglevel>
1
</debuglevel>
</fastcgi>
<interpreters>
<interpreter>
<ext>
php
</ext>
<interface>
2
</interface>
<file>
/usr/bin/php
</file>
<checkexists>
yes
</checkexists>
<type>
1
</type>
<updatepaths>
yes
</updatepaths>
</interpreter>
</interpreters>
<environment>
<var>
<name>
REDIRECT_STATUS
</name>
<value>
200
</value>
</var>
</environment>
</scripting>
<ssi>
<extensions>
<ext>
shtml
</ext>
<ext>
shtm
</ext>
<ext>
stm
</ext>
</extensions>
<enabled>
yes
</enabled>
<errormessage/>
<timeformat/>
<abbreviatesize>
yes
</abbreviatesize>
<execcmd>
no
</execcmd>
</ssi>
<log>
<file>
log/access.log
</file>
<extendedformat>
yes
</extendedformat>
<denied/>
</log>
<indexes>
<index>
index.html
</index>
<index>
index.htm
</index>
</indexes>
<antileech>
<paths/>
<redirect/>
<strict>
no
</strict>
<allowed/>
</antileech>
<bindip>
*
</bindip>
<dirlist>
<type>
1
</type>
<scope>
<order>
ad
</order>
<allow>
<path>
/
</path>
</allow>
</scope>
<hidden>
<file>
.*
</file>
</hidden>
</dirlist>
<port>
26354
</port>
<compress>
<level>
6
</level>
<scope>
<allow>
<path>
/
</path>
</allow>
<order>
ad
</order>
</scope>
<mimes>
<allow>
<mime>
text/*
</mime>
</allow>
</mimes>
</compress>
<ciphers>
ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP
</ciphers>
</host>
<throttle>
<maxspeed/>
<maxspeedperip/>
</throttle>
<antihack>
<enabled>
no
</enabled>
<threshold>
20
</threshold>
<monitorperiod>
20
</monitorperiod>
<banperiod>
60
</banperiod>
<logfile/>
<denied>
<ip>
127.0.0.1
</ip>
</denied>
</antihack>
<mimes>
<mime>
<type>
application/mac-binhex40
</type>
<ext>
hqx
</ext>
</mime>
<mime>
<type>
application/msword
</type>
<ext>
doc
</ext>
</mime>
<mime>
<type>
application/octet-stream
</type>
<ext>
bin
</ext>
<ext>
dms
</ext>
<ext>
lha
</ext>
<ext>
lzh
</ext>
<ext>
exe
</ext>
<ext>
class
</ext>
</mime>
<mime>
<type>
application/pdf
</type>
<ext>
pdf
</ext>
</mime>
<mime>
<type>
application/postscript
</type>
<ext>
ai
</ext>
<ext>
eps
</ext>
<ext>
ps
</ext>
</mime>
<mime>
<type>
application/smil
</type>
<ext>
smi
</ext>
<ext>
smil
</ext>
</mime>
<mime>
<type>
application/vnd.mif
</type>
<ext>
mif
</ext>
</mime>
<mime>
<type>
application/vnd.ms-asf
</type>
<ext>
asf
</ext>
</mime>
<mime>
<type>
application/vnd.ms-excel
</type>
<ext>
xls
</ext>
</mime>
<mime>
<type>
application/vnd.ms-powerpoint
</type>
<ext>
ppt
</ext>
</mime>
<mime>
<type>
application/x-cdlink
</type>
<ext>
vcd
</ext>
</mime>
<mime>
<type>
application/x-compress
</type>
<ext>
Z
</ext>
</mime>
<mime>
<type>
application/x-cpio
</type>
<ext>
cpio
</ext>
</mime>
<mime>
<type>
application/x-csh
</type>
<ext>
csh
</ext>
</mime>
<mime>
<type>
application/x-director
</type>
<ext>
dcr
</ext>
<ext>
dir
</ext>
<ext>
dxr
</ext>
</mime>
<mime>
<type>
application/x-dvi
</type>
<ext>
dvi
</ext>
</mime>
<mime>
<type>
application/x-gtar
</type>
<ext>
gtar
</ext>
</mime>
<mime>
<type>
application/x-gzip
</type>
<ext>
gz
</ext>
</mime>
<mime>
<type>
application/x-javascript
</type>
<ext>
js
</ext>
</mime>
<mime>
<type>
application/x-latex
</type>
<ext>
latex
</ext>
</mime>
<mime>
<type>
application/x-sh
</type>
<ext>
sh
</ext>
</mime>
<mime>
<type>
application/x-shar
</type>
<ext>
shar
</ext>
</mime>
<mime>
<type>
application/x-shockwave-flash
</type>
<ext>
swf
</ext>
</mime>
<mime>
<type>
application/x-stuffit
</type>
<ext>
sit
</ext>
</mime>
<mime>
<type>
application/x-tar
</type>
<ext>
tar
</ext>
</mime>
<mime>
<type>
application/x-tcl
</type>
<ext>
tcl
</ext>
</mime>
<mime>
<type>
application/x-tex
</type>
<ext>
tex
</ext>
</mime>
<mime>
<type>
application/x-texinfo
</type>
<ext>
texinfo
</ext>
<ext>
texi
</ext>
</mime>
<mime>
<type>
application/x-troff
</type>
<ext>
t
</ext>
<ext>
tr
</ext>
<ext>
roff
</ext>
</mime>
<mime>
<type>
application/x-troff-man
</type>
<ext>
man
</ext>
</mime>
<mime>
<type>
application/x-troff-me
</type>
<ext>
me
</ext>
</mime>
<mime>
<type>
application/x-troff-ms
</type>
<ext>
ms
</ext>
</mime>
<mime>
<type>
application/zip
</type>
<ext>
zip
</ext>
</mime>
<mime>
<type>
application/vnd.wap.wmlc
</type>
<ext>
wmlc
</ext>
</mime>
<mime>
<type>
audio/basic
</type>
<ext>
au
</ext>
<ext>
snd
</ext>
</mime>
<mime>
<type>
audio/midi
</type>
<ext>
mid
</ext>
<ext>
midi
</ext>
<ext>
kar
</ext>
</mime>
<mime>
<type>
audio/mpeg
</type>
<ext>
mpga
</ext>
<ext>
mp2
</ext>
<ext>
mp3
</ext>
</mime>
<mime>
<type>
audio/x-aiff
</type>
<ext>
aif
</ext>
<ext>
aiff
</ext>
<ext>
aifc
</ext>
</mime>
<mime>
<type>
audio/x-pn-realaudio
</type>
<ext>
ram
</ext>
<ext>
rm
</ext>
</mime>
<mime>
<type>
audio/x-realaudio
</type>
<ext>
ra
</ext>
</mime>
<mime>
<type>
audio/x-wav
</type>
<ext>
wav
</ext>
</mime>
<mime>
<type>
image/bmp
</type>
<ext>
bmp
</ext>
</mime>
<mime>
<type>
image/gif
</type>
<ext>
gif
</ext>
</mime>
<mime>
<type>
image/ief
</type>
<ext>
ief
</ext>
</mime>
<mime>
<type>
image/jpeg
</type>
<ext>
jpeg
</ext>
<ext>
jpg
</ext>
<ext>
jpe
</ext>
</mime>
<mime>
<type>
image/png
</type>
<ext>
png
</ext>
</mime>
<mime>
<type>
image/tiff
</type>
<ext>
tiff
</ext>
<ext>
tif
</ext>
</mime>
<mime>
<type>
image/vnd.wap.wbmp
</type>
<ext>
wbmp
</ext>
</mime>
<mime>
<type>
image/x-cmu-raster
</type>
<ext>
ras
</ext>
</mime>
<mime>
<type>
image/x-portable-anymap
</type>
<ext>
pnm
</ext>
</mime>
<mime>
<type>
image/x-portable-bitmap
</type>
<ext>
pbm
</ext>
</mime>
<mime>
<type>
image/x-portable-graymap
</type>
<ext>
pgm
</ext>
</mime>
<mime>
<type>
image/x-portable-pixmap
</type>
<ext>
ppm
</ext>
</mime>
<mime>
<type>
image/x-rgb
</type>
<ext>
rgb
</ext>
</mime>
<mime>
<type>
image/x-xbitmap
</type>
<ext>
xbm
</ext>
</mime>
<mime>
<type>
image/x-xpixmap
</type>
<ext>
xpm
</ext>
</mime>
<mime>
<type>
image/x-xwindowdump
</type>
<ext>
xwd
</ext>
</mime>
<mime>
<type>
image/x-icon
</type>
<ext>
ico
</ext>
</mime>
<mime>
<type>
model/iges
</type>
<ext>
igs
</ext>
<ext>
iges
</ext>
</mime>
<mime>
<type>
model/mesh
</type>
<ext>
msh
</ext>
<ext>
mesh
</ext>
<ext>
silo
</ext>
</mime>
<mime>
<type>
model/vrml
</type>
<ext>
wrl
</ext>
<ext>
vrml
</ext>
</mime>
<mime>
<type>
text/css
</type>
<ext>
css
</ext>
</mime>
<mime>
<type>
text/html
</type>
<ext>
html
</ext>
<ext>
htm
</ext>
</mime>
<mime>
<type>
text/plain
</type>
<ext>
asc
</ext>
<ext>
txt
</ext>
</mime>
<mime>
<type>
text/richtext
</type>
<ext>
rtx
</ext>
</mime>
<mime>
<type>
text/rtf
</type>
<ext>
rtf
</ext>
</mime>
<mime>
<type>
text/sgml
</type>
<ext>
sgml
</ext>
<ext>
sgm
</ext>
</mime>
<mime>
<type>
text/tab-separated-values
</type>
<ext>
tsv
</ext>
</mime>
<mime>
<type>
text/xml
</type>
<ext>
xml
</ext>
</mime>
<mime>
<type>
text/vnd.wap.wml
</type>
<ext>
wml
</ext>
</mime>
<mime>
<type>
text/vnd.wap.wmlscript
</type>
<ext>
wmls
</ext>
</mime>
<mime>
<type>
video/mpeg
</type>
<ext>
mpeg
</ext>
<ext>
mpg
</ext>
<ext>
mpe
</ext>
</mime>
<mime>
<type>
video/quicktime
</type>
<ext>
qt
</ext>
<ext>
mov
</ext>
</mime>
<mime>
<type>
video/x-msvideo
</type>
<ext>
avi
</ext>
</mime>
</mimes>
</server>
<version>
2.7.0.1
</version>
<console>
<port>
26355
</port>
<bindip>
*
</bindip>
<ipcontrol>
<order>
ad
</order>
<allow>
192.168.0.1-192.168.255.254
</allow>
<allow>
172.16.0.1-172.31.255.254
</allow>
<allow>
10.0.0.1-10.255.255.254
</allow>
</ipcontrol>
<language>
en
</language>
<login>
pudnik
</login>
<password>
19cdf807dd3c3febc64f71c9bec30ea9
</password>
<ciphers>
ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP
</ciphers>
</console>
</root>
Back to top View user's profile Send private message
admin
Site Admin


Joined: 03 Mar 2002
Posts: 772

PostPosted: Mon Aug 29, 2011 3:14 pm    Post subject: Re: PHP won't work on Fedora 15 Reply with quote

pudnik wrote:
I can't get PHP started either. I'm trying to get it going on Fedora 15. Here is my abyss.conf:


You are using /usr/bin/php but that executable is not the right version of PHP to use. You should rather use the CGI version which is usually called php-cgi or phpcgi.
_________________
Forum Administrator
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message
pudnik
-


Joined: 27 Aug 2011
Posts: 5

PostPosted: Tue Aug 30, 2011 8:21 am    Post subject: OK, I tried that... Reply with quote

OK, I changed it from php to php-cgi. Now it doesn't hang, but it doesn't interpret the PHP:

<% print "If this prints without delimiters, PHP is enabled in Abyss."; %>
Back to top View user's profile Send private message
pudnik
-


Joined: 27 Aug 2011
Posts: 5

PostPosted: Fri Sep 02, 2011 7:18 am    Post subject: Re: OK, I tried that... Reply with quote

pudnik wrote:
OK, I changed it from php to php-cgi. Now it doesn't hang, but it doesn't interpret the PHP:

<% print "If this prints without delimiters, PHP is enabled in Abyss."; %>


...never mind; this is the wrong syntax (ASP, LOL) ...the following line works:

<?php print "if this prints without delimiters, PHP is enabled in Abyss."; ?>

...Thus the above ABYSS.CONF can be used as a sample file for anybody that is
having issues getting Abyss to serve PHP pages on Fedora 15. :)

Cheers,
Pudnik
Back to top View user's profile Send private message
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