Softaculous


Topic : Ampps Admin and Home Page 500 Error


2

Posted By: webnuage on November 12, 2013, 8:17 am | Post: 15
No, in neither php folders ...

Posted By: tidus on November 12, 2013, 8:18 am | Post: 16
Hi,

Restore Default Configuration from AMPPS Application -> PHP Tab Please.

Please open a ticket. If you are still facing issues.


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

Posted By: webnuage on November 12, 2013, 8:20 am | Post: 17
OK. Thank You !

Posted By: ylluminate on March 31, 2014, 1:57 pm | Post: 18
Upon attempting:
`/Applications/AMPPS/php/bin/php -c /Applications/AMPPS/php/etc/php.ini /Applications/AMPPS/ampps/softaculous/enduser/install.php`
I received:
Quote
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.


I then used the PHP -> Restore Default Configuration function since `/Applications/AMPPS/php/etc/php.ini` was missing.

After that was restored, I attempted this again:
`/Applications/AMPPS/php/bin/php -c /Applications/AMPPS/php/etc/php.ini /Applications/AMPPS/ampps/softaculous/enduser/install.php`

And received the following output:
Quote
PHP Warning:  filemtime(): stat failed for /Applications/AMPPS/ampps/data/vichitra in /Applications/AMPPS/ampps/softaculous/enduser/softpanel.php on line 203

Warning: filemtime(): stat failed for /Applications/AMPPS/ampps/data/vichitra in /Applications/AMPPS/ampps/softaculous/enduser/softpanel.php on line 203


I then attempted to run it again for kicks and received the following output:
Quote
/Applications/AMPPS/php/bin/php -c /Applications/AMPPS/php/etc/php.ini /Applications/AMPPS/ampps/softaculous/enduser/install.php


Same with `cron.php`.

It appears that something is b0rked with the php libs.

The php bin is showing: PHP 5.3.28 (cli) (built: Jan 29 2014 13:54:00)

Posted By: tidus on March 31, 2014, 2:09 pm | Post: 19
Quote

PHP Warning:  filemtime(): stat failed for
/Applications/AMPPS/ampps/data/vichitra in
/Applications/AMPPS/ampps/softaculous/enduser/softpanel.php on line 203



Warning: filemtime(): stat failed for
/Applications/AMPPS/ampps/data/vichitra in
/Applications/AMPPS/ampps/softaculous/enduser/softpanel.php on line 203


They are warning, and can be ignored. This shouldn't effect anything.

Quote

I then attempted to run it again for kicks and received the following output:
Quote
/Applications/AMPPS/php/bin/php -c /Applications/AMPPS/php/etc/php.ini /Applications/AMPPS/ampps/softaculous/enduser/install.php


Same with `cron.php`.

What output ? I cannot the see the output.

Wait for few minutes to complete. Your Enduser and Admin Panel both should work.



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

Posted By: ylluminate on March 31, 2014, 2:24 pm | Post: 20
Well, it does seem things started to operate again after manually killing the http daemon and mysql, and so forth, but `phpmyadmin` is still having some issues as well.  When I visit localhost/phpmyadmin I get:

Quote
Fatal error: Call to undefined function mb_detect_encoding() in /Applications/AMPPS/phpMyAdmin/libraries/php-gettext/gettext.inc on line 177

Posted By: tidus on March 31, 2014, 2:27 pm | Post: 21
Hi,

Enable php_mbstring from AMPPS Application -> PHP TAb -> PHP Extension

It should be enabled by default by the way. But just confirm and enable it if it is not already enabled. Restarting Apache is required.


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

Posted By: ylluminate on March 31, 2014, 2:31 pm | Post: 22
So `mbstring.so` was already enabled, BUT `gettext.so` was NOT.  I enabled that and it seems to work now.  This was indeed default configuration since I used the `Restore Default Configuration` function since it was not properly installed in the beginning.

You may also want to stick a link to localhost/phpmyadmin inside of the MySQL section of the control panel for convenience sake and reminder for users.

Posted By: tidus on April 1, 2014, 6:57 am | Post: 23
Hi,

It is present in "Database Tools" section.


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

Posted By: tomdringer on April 29, 2016, 5:57 am | Post: 24
Sorry to resurrect an old thread.

I'm on El Capitan and get the 500 error for the admin page.

Looking in the logs i have

[Fri Apr 29 06:51:50.167673 2016] [core:notice] [pid 499] AH00094: Command line: '/Applications/AMPPS/apache/bin/httpd'
[Fri Apr 29 06:52:25.147463 2016] [cgi:error] [pid 688] [client 127.0.0.1:49522] AH01215: (8)Exec format error: exec of '/Applications/AMPPS/ampps/softaculous/enduser/index.php' failed: /Applications/AMPPS/ampps/softaculous/enduser/index.php
[Fri Apr 29 06:52:25.147609 2016] [cgi:error] [pid 688] [client 127.0.0.1:49522] End of script output before headers: index.php

I've tried the steps above via the terminal, but i'm making no progress.

Any direction is appreciated.

Thanks!

Posted By: kisvukk70 on April 14, 2017, 5:24 pm | Post: 25
Hi,

If you got 50x error on ampps admin sites right after you changed php version
maybe you don't need to do php version downgrade and another config resets.
My problem came out when i deleted the old php verisons folders. And this is the problem because softaculous hardcoded php-5.3 in a php file.

Problem solved in this way:
I use linux mint, path and command maybe different on other os but the todo is probably same

open usr\local\ampps\ampps\softaculous\enduser\index.php
and modify the first line
from
#!/usr/local/ampps/php-5.3/bin/php-cgi

to
#!/usr/local/ampps/php-x.x/bin/php-cgi

where x.x is your current/desired php version

If you stucked in php version change, there is more three step:

1) delete php.lnk from ampps folder
2) run this in terminal to make a new lnk:
ln -s /usr/local/ampps/php-x.x /usr/local/ampps/php
3) open usr/local/ampps/ampps/data/apps
and change php-x.x version number

where x.x is your current/desired php version

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.