Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Ampps Admin and Home Page 500 Error

1


Threaded Mode | Print  

 Ampps Admin and Home Page 500 Error (25 Replies, Read 192504 times)
schoujar
Group: Member
Post Group: Newbie
Posts: 18
Status:
Hi guys,

This was working before the 2.1 update but now my ampps page and ampps-admin pages just return a 500 error.

"Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, ****@gmail.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log."

Any ideas?
IP: --   

Ampps Admin and Home Page 500 Error
ketan
Group: Member
Post Group: Working Member
Posts: 241
Status:
Hi,

Which OS you are using?

-----------------------
Follow AMPPS on,
Twitter
Facebook
Google+
IP: --   

Ampps Admin and Home Page 500 Error
schoujar
Group: Member
Post Group: Newbie
Posts: 18
Status:
Hi Ketan,

I'm using OS X Mavericks.
IP: --   

Ampps Admin and Home Page 500 Error
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Quote
Hi guys,



This was working before the 2.1 update but now my ampps page and ampps-admin pages just return a 500 error.



"Internal Server Error



The server encountered an internal error or misconfiguration and was unable to complete your request.



Please contact the server administrator, ****@gmail.com and inform
them of the time the error occurred, and anything you might have done
that may have caused the error.



More information about this error may be available in the server error log."



Any ideas?
       


Hi,

Do the following steps:
1. Stop Apache.
2. Open AMPPS Gui -> PHP Tab -> Restore Default Config
3. Run the following commands in Terminal:
Code
/Applications/AMPPS/php/bin/php -c /Applications/AMPPS/php/etc/php.ini /Applications/AMPPS/ampps/softaculous/enduser/install.php

(Skip the warnings and if the error says install.php does not exist)

Code
/Applications/AMPPS/php/bin/php -c /Applications/AMPPS/php/etc/php.ini /Applications/AMPPS/ampps/softaculous/cron.php

(Skip the warnings and this might take a little more time to execute)
4. Start Apache.


-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

Ampps Admin and Home Page 500 Error
schoujar
Group: Member
Post Group: Newbie
Posts: 18
Status:
Hi,

still getting the same 500 error.
Looked through the Apache log files, here's what it dumps:

"[Thu Nov 07 10:11:04 2013] [error] [client ::1] <b>Security Alert!</b> The PHP CGI cannot be accessed directly.
[Thu Nov 07 10:11:04 2013] [error] [client ::1]
[Thu Nov 07 10:11:04 2013] [error] [client ::1] <p>This PHP CGI binary was compiled with force-cgi-redirect enabled.  This
[Thu Nov 07 10:11:04 2013] [error] [client ::1] means that a page will only be served up if the REDIRECT_STATUS CGI variable is
[Thu Nov 07 10:11:04 2013] [error] [client ::1] set, e.g. via an Apache Action directive.</p>
[Thu Nov 07 10:11:04 2013] [error] [client ::1] <p>For more information as to <i>why</i> this behaviour exists, see the <a href="http://php.net/security.cgi-bin">manual page for CGI security</a>.</p>
[Thu Nov 07 10:11:04 2013] [error] [client ::1] <p>For more information about changing this behaviour or re-enabling this webserver,
[Thu Nov 07 10:11:04 2013] [error] [client ::1] consult the installation file that came with this distribution, or visit
[Thu Nov 07 10:11:04 2013] [error] [client ::1] <a href="http://php.net/install.windows">the manual page</a>.</p>
[Thu Nov 07 10:11:04 2013] [error] [client ::1] Premature end of script headers: index.php"
IP: --   

Ampps Admin and Home Page 500 Error
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

What is the output of the following command in the terminal ?

Code
/Applications/AMPPS/php/bin/php -n -v



-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

Ampps Admin and Home Page 500 Error
schoujar
Group: Member
Post Group: Newbie
Posts: 18
Status:
PHP 5.4.20 (cli) (built: Sep 23 2013 19:01:38)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
IP: --   

Ampps Admin and Home Page 500 Error
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

Close Apache, MySQL and switch to PHP version 5.3. Then repeat the steps above.


-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

Ampps Admin and Home Page 500 Error
schoujar
Group: Member
Post Group: Newbie
Posts: 18
Status:
Small problem, I need 5.4.
Can I change it back to 5.4 afterwards?
IP: --   

Ampps Admin and Home Page 500 Error
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Yes.

-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

Ampps Admin and Home Page 500 Error
schoujar
Group: Member
Post Group: Newbie
Posts: 18
Status:
Thanks so much for your help, working fine now! :)
IP: --   

Ampps Admin and Home Page 500 Error
webnuage
Group: Member
Post Group: Newbie
Posts: 4
Status:
Hi !

don't work for me  :squi:

error logs:

[Tue Nov 12 16:26:49 2013] [warn] mod_wsgi: Compiled for Python/2.7.5.
[Tue Nov 12 16:26:49 2013] [warn] mod_wsgi: Runtime using Python/2.7.2.
[Tue Nov 12 16:26:54 2013] [notice] Apache/2.2.25 (Unix) mod_wsgi/3.4 Python/2.7.2 mod_ssl/2.2.25 OpenSSL/1.0.0d PHP/5.3.27 configured -- resuming normal operations
[Tue Nov 12 16:27:15 2013] [notice] SIGHUP received.  Attempting to restart
[Tue Nov 12 16:27:15 2013] [warn] NameVirtualHost 127.0.0.1:443 has no VirtualHosts
[Tue Nov 12 16:27:15 2013] [warn] mod_wsgi: Compiled for Python/2.7.5.
[Tue Nov 12 16:27:15 2013] [warn] mod_wsgi: Runtime using Python/2.7.2.
[Tue Nov 12 16:27:20 2013] [notice] Apache/2.2.25 (Unix) mod_wsgi/3.4 Python/2.7.2 mod_ssl/2.2.25 OpenSSL/1.0.0d PHP/5.3.27 configured -- resuming normal operations
[Tue Nov 12 16:27:31 2013] [error] [client ::1] <b>Security Alert!</b> The PHP CGI cannot be accessed directly., referer: http://localhost/
[Tue Nov 12 16:27:31 2013] [error] [client ::1] , referer: http://localhost/
[Tue Nov 12 16:27:31 2013] [error] [client ::1] <p>This PHP CGI binary was compiled with force-cgi-redirect enabled.  This, referer: http://localhost/
[Tue Nov 12 16:27:31 2013] [error] [client ::1] means that a page will only be served up if the REDIRECT_STATUS CGI variable is, referer: http://localhost/
[Tue Nov 12 16:27:31 2013] [error] [client ::1] set, e.g. via an Apache Action directive.</p>, referer: http://localhost/
[Tue Nov 12 16:27:31 2013] [error] [client ::1] <p>For more information as to <i>why</i> this behaviour exists, see the <a href="http://php.net/security.cgi-bin">manual page for CGI security</a>.</p>, referer: http://localhost/
[Tue Nov 12 16:27:31 2013] [error] [client ::1] <p>For more information about changing this behaviour or re-enabling this webserver,, referer: http://localhost/
[Tue Nov 12 16:27:31 2013] [error] [client ::1] consult the installation file that came with this distribution, or visit , referer: http://localhost/
[Tue Nov 12 16:27:31 2013] [error] [client ::1] <a href="http://php.net/install.windows">the manual page</a>.</p>, referer: http://localhost/
[Tue Nov 12 16:27:31 2013] [error] [client ::1] Premature end of script headers: index.php, referer: http://localhost/
[Tue Nov 12 16:30:41 2013] [notice] caught SIGTERM, shutting down

Can you help me ?
Thank You !

P/
IP: --   

Ampps Admin and Home Page 500 Error
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

Close Ampps Application. And start it again. Try the same steps again.


-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

Ampps Admin and Home Page 500 Error
webnuage
Group: Member
Post Group: Newbie
Posts: 4
Status:
Terminal says:

Site error: the file <b>/Applications/AMPPS/ampps/softaculous/enduser/install.php</b> requires the ionCube PHP Loader ioncube_loader_dar_5.3.so to be installed by the website operator. If you are the website operator please use the <a href="http://www.ioncube.com/lw/">ionCube Loader Wizard</a> to assist with installation.

??
IP: --   

Ampps Admin and Home Page 500 Error
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Quote From : webnuage November 12, 2013, 8:09 am
Terminal says:

Site error: the file <b>/Applications/AMPPS/ampps/softaculous/enduser/install.php</b> requires the ionCube PHP Loader ioncube_loader_dar_5.3.so to be installed by the website operator. If you are the website operator please use the <a href="http://www.ioncube.com/lw/">ionCube Loader Wizard</a> to assist with installation.

??


is this file present /Applications/AMPPS/php/etc/php.ini ?


-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

« Previous    Next »

Threaded Mode | Print  

1


Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 18, 2024, 4:05 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.094