Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Can't access AMPPS Home

2


Threaded Mode | Print  

Can't access AMPPS Home
joshua
Group: Member
Post Group: Newbie
Posts: 4
Status:
Quote From : tidus May 14, 2014, 6:46 am
Hi,

Solution is to Enable PHP MySQL Extension.

Please enable by following the steps below:

1. Open AMPPS Application.
2. Click on "PHP" Tab
3. Click on "PHP Extension"
4. Enable "mysql.so".
5. Apply
6. Restart Apache.

Sorry for the inconvenience.


I tried this and its not working
IP: --   

Can't access AMPPS Home
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

Please open a ticket we will look into the issue.


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

Can't access AMPPS Home
joshua
Group: Member
Post Group: Newbie
Posts: 4
Status:
Quote From : tidus May 14, 2014, 7:39 am
Hi,

Please open a ticket we will look into the issue.


I have solve by uninstall and reinstalling
I'm just saying that the solution you provided is not working for me
IP: --   

Can't access AMPPS Home
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

Issues:
1. PHP Scripts/phpMyAdmin do not work.
2. AMPPS Home i.e http://localhost/ampps gives a blank page.

Solution and its explanation:
Note: Please switch to PHP 5.3 before making any changes.

1. MySQL Socket Path has been changed in the new version of Ampps:
Before: /Applications/AMPPS/mysql/tmp/var/mysql.sock
Now: /Applications/AMPPS/var/mysql.sock
To fix:
1. Stop MySQL. (Important)
1. Open AMPPS -> MySQL Tab -> Configuration
2. In both [mysql] and [mysqld] section, search for socket={$path}/mysql/tmp/mysql.sock and change it to socket={$path}/var/mysql.sock
3. Save the file.
4. Start MySQL Server.
5. In PHP Tab -> Configuration
6. In [MySQL] section, search for mysql.default_socket, if the value is {$path}/mysql/tmp/mysql.sock change it to {$path}/var/mysql.sock
7. Restart Apache Server.

2. PHP MySQL extension is disabled
Note: Below fix is required for all PHP versions.
To Fix,
1. Open AMPPS Application -> "PHP" Tab -> "PHP Extension"
4. Enable "mysql.so".
5. Apply
6. Restart Apache.


Please open a ticket if you are still facing any issues. We will look into it.


Edited by tidus : May 16, 2014, 7:20 am

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

Can't access AMPPS Home
marcofiset
Group: Member
Post Group: Newbie
Posts: 4
Status:
Quote From : tidus May 14, 2014, 6:46 am
Hi,

Solution is to Enable PHP MySQL Extension.

Please enable by following the steps below:

1. Open AMPPS Application.
2. Click on "PHP" Tab
3. Click on "PHP Extension"
4. Enable "mysql.so".
5. Apply
6. Restart Apache.

Sorry for the inconvenience.


As I told you in my earlier post, the MySQL Extension was already enabled in the PHP Extension configuration. However, it's still showing a blank page. I did not want to reinstall because I have manually edited a lot of settings and I don't remember every one of them.
IP: --   

Can't access AMPPS Home
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

If your current version is not PHP 5.3, please switch to PHP 5.3 and repeat the PHP Configurations steps again.


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

Can't access AMPPS Home
marcofiset
Group: Member
Post Group: Newbie
Posts: 4
Status:
Thanks, it worked! Now back to PHP 5.5 it's still working.
IP: --   

Can't access AMPPS Home
shovan
Group: Member
Post Group: Newbie
Posts: 7
Status:
Great AAMPS now opens.

I had lot of domains they exist but when I click it goes to

Index of / with the following folder
cgi-bin/   

In the manage domain section I see all the domains

PS: Weirdly all the project Favicons show :squi:
IP: --   

Can't access AMPPS Home
marcofiset
Group: Member
Post Group: Newbie
Posts: 4
Status:
I actually had to recreate my domains for them to work again.
IP: --   

Can't access AMPPS Home
dora
Group: Member
Post Group: Newbie
Posts: 8
Status:
Hi,
I encountered the same problem with blank ammps page after update. I followed the instructions in the beggining of this thread, only to realize, that all setting were already as supposed to be. I have sitched to PHP 5.3, too. Still I get blank page. What's next to do?
IP: --   

Can't access AMPPS Home
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Quote From : dora May 28, 2014, 10:15 am
Hi,
I encountered the same problem with blank ammps page after update. I followed the instructions in the beggining of this thread, only to realize, that all setting were already as supposed to be. I have sitched to PHP 5.3, too. Still I get blank page. What's next to do?


Hi,

Can you paste last few lines of Apache Logs ?


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

Can't access AMPPS Home
dora
Group: Member
Post Group: Newbie
Posts: 8
Status:
[Wed May 28 10:50:28.159670 2014] [mpm_prefork:notice] [pid 1299] AH00173: SIGHUP received.  Attempting to restart
[Wed May 28 10:50:28.628826 2014] [mpm_prefork:notice] [pid 1299] AH00163: Apache/2.4.9 (Unix) PHP/5.5.12 mod_wsgi/3.4 Python/2.7.6 OpenSSL/1.0.1g configured -- resuming normal operations
[Wed May 28 10:50:28.628865 2014] [core:notice] [pid 1299] AH00094: Command line: '/Applications/AMPPS/apache/bin/httpd'
[Wed May 28 10:51:12.024534 2014] [:error] [pid 6551] [client ::1:53163] PHP Fatal error:  Call to undefined function iconv_set_encoding() in /Applications/AMPPS/www/eleda/Eleda/libs/Nette/loader.php on line 19, referer: http://localhost/eleda/
[Wed May 28 10:51:12.032053 2014] [:error] [pid 6548] [client ::1:53165] PHP Fatal error:  Call to undefined function iconv_set_encoding() in /Applications/AMPPS/www/eleda/Eleda/libs/Nette/loader.php on line 19, referer: http://localhost/eleda/
[Wed May 28 10:51:27.455388 2014] [:error] [pid 6547] [client ::1:53166] script '/Applications/AMPPS/www/index.php' not found or unable to stat
[Wed May 28 10:51:58.280247 2014] [:error] [pid 6567] [client ::1:53167] PHP Fatal error:  Call to undefined function iconv_set_encoding() in /Applications/AMPPS/www/eleda/Eleda/libs/Nette/loader.php on line 19
[Wed May 28 10:53:38.928805 2014] [:error] [pid 6549] [client ::1:53184] PHP Fatal error:  Call to undefined function iconv_set_encoding() in /Applications/AMPPS/www/eleda/Eleda/libs/Nette/loader.php on line 19
[Wed May 28 10:53:47.490214 2014] [:error] [pid 6569] [client ::1:53185] PHP Fatal error:  Call to undefined function iconv_set_encoding() in /Applications/AMPPS/www/eleda/Eleda/libs/Nette/loader.php on line 19
[Wed May 28 10:54:15.678558 2014] [:error] [pid 6570] [client 127.0.0.1:53187] PHP Fatal error:  Call to undefined function iconv_set_encoding() in /Applications/AMPPS/www/eleda/Eleda/libs/Nette/loader.php on line 19, referer: http://eleda.local/eleda/
[Wed May 28 11:09:24.298334 2014] [mpm_prefork:notice] [pid 1299] AH00169: caught SIGTERM, shutting down
[Wed May 28 11:09:39.424633 2014] [mpm_prefork:notice] [pid 10276] AH00163: Apache/2.4.9 (Unix) PHP/5.4.28 mod_wsgi/3.4 Python/2.7.6 OpenSSL/1.0.1g configured -- resuming normal operations
[Wed May 28 11:09:39.424847 2014] [core:notice] [pid 10276] AH00094: Command line: '/Applications/AMPPS/apache/bin/httpd'
[Wed May 28 11:10:06.151300 2014] [:error] [pid 10277] [client 127.0.0.1:53255] PHP Fatal error:  Call to undefined function iconv_set_encoding() in /Applications/AMPPS/www/eleda/Eleda/libs/Nette/loader.php on line 19, referer: http://eleda.local/eleda/
[Wed May 28 11:10:06.178151 2014] [:error] [pid 10279] [client 127.0.0.1:53256] PHP Fatal error:  Call to undefined function iconv_set_encoding() in /Applications/AMPPS/www/eleda/Eleda/libs/Nette/loader.php on line 19, referer: http://eleda.local/eleda/
[Wed May 28 11:10:09.474629 2014] [:error] [pid 10279] [client 127.0.0.1:53256] PHP Fatal error:  Call to undefined function iconv_set_encoding() in /Applications/AMPPS/www/eleda/Eleda/libs/Nette/loader.php on line 19, referer: http://eleda.local/eleda/
[Wed May 28 11:10:57.824599 2014] [mpm_prefork:notice] [pid 10276] AH00169: caught SIGTERM, shutting down
[Wed May 28 11:11:06.055339 2014] [mpm_prefork:notice] [pid 10331] AH00163: Apache/2.4.9 (Unix) PHP/5.5.12 mod_wsgi/3.4 Python/2.7.6 OpenSSL/1.0.1g configured -- resuming normal operations
[Wed May 28 11:11:06.055541 2014] [core:notice] [pid 10331] AH00094: Command line: '/Applications/AMPPS/apache/bin/httpd'
[Wed May 28 11:11:31.595750 2014] [:error] [pid 10332] [client 127.0.0.1:53263] PHP Fatal error:  Call to undefined function iconv_set_encoding() in /Applications/AMPPS/www/eleda/Eleda/libs/Nette/loader.php on line 19, referer: http://eleda.local/eleda/
[Wed May 28 11:11:41.683209 2014] [:error] [pid 10333] [client 127.0.0.1:53264] PHP Fatal error:  Call to undefined function iconv_set_encoding() in /Applications/AMPPS/www/eleda/Eleda/libs/Nette/loader.php on line 19, referer: http://eleda.local/eleda/
[Wed May 28 11:12:00.966463 2014] [mpm_prefork:notice] [pid 10331] AH00169: caught SIGTERM, shutting down
[Wed May 28 11:12:05.696456 2014] [mpm_prefork:notice] [pid 10374] AH00163: Apache/2.4.9 (Unix) PHP/5.5.12 mod_wsgi/3.4 Python/2.7.6 OpenSSL/1.0.1g configured -- resuming normal operations
[Wed May 28 11:12:05.696637 2014] [core:notice] [pid 10374] AH00094: Command line: '/Applications/AMPPS/apache/bin/httpd'
[Wed May 28 11:12:55.618546 2014] [mpm_prefork:notice] [pid 10374] AH00169: caught SIGTERM, shutting down
[Wed May 28 11:13:00.863674 2014] [mpm_prefork:notice] [pid 10407] AH00163: Apache/2.4.9 (Unix) PHP/5.5.12 mod_wsgi/3.4 Python/2.7.6 OpenSSL/1.0.1g configured -- resuming normal operations
[Wed May 28 11:13:00.863862 2014] [core:notice] [pid 10407] AH00094: Command line: '/Applications/AMPPS/apache/bin/httpd'
[Wed May 28 11:14:35.384985 2014] [:error] [pid 10417] [client ::1:53295] script '/Applications/AMPPS/www/index.php' not found or unable to stat
[Wed May 28 11:35:29.838502 2014] [mpm_prefork:notice] [pid 10407] AH00169: caught SIGTERM, shutting down
[Wed May 28 11:37:47.555421 2014] [mpm_prefork:notice] [pid 10896] AH00163: Apache/2.4.9 (Unix) PHP/5.5.12 mod_wsgi/3.4 Python/2.7.6 OpenSSL/1.0.1g configured -- resuming normal operations
[Wed May 28 11:37:47.555619 2014] [core:notice] [pid 10896] AH00094: Command line: '/Applications/AMPPS/apache/bin/httpd'
[Wed May 28 11:40:00.852500 2014] [mpm_prefork:notice] [pid 10896] AH00173: SIGHUP received.  Attempting to restart
[Wed May 28 11:40:00.950798 2014] [mpm_prefork:notice] [pid 10896] AH00163: Apache/2.4.9 (Unix) PHP/5.5.12 mod_wsgi/3.4 Python/2.7.6 OpenSSL/1.0.1g configured -- resuming normal operations
[Wed May 28 11:40:00.951622 2014] [core:notice] [pid 10896] AH00094: Command line: '/Applications/AMPPS/apache/bin/httpd'
[Wed May 28 11:49:19.080296 2014] [cgi:error] [pid 10946] [client ::1:53740] script not found or unable to stat: /Applications/AMPPS/ampps/softaculous/enduser/install.php, referer: http://www.softaculous.com/board/index.php?tid=4140
[Wed May 28 11:54:03.893371 2014] [mpm_prefork:notice] [pid 10896] AH00169: caught SIGTERM, shutting down
[Wed May 28 11:55:04.631376 2014] [mpm_prefork:notice] [pid 11188] AH00163: Apache/2.4.9 (Unix) PHP/5.4.28 mod_wsgi/3.4 Python/2.7.6 OpenSSL/1.0.1g configured -- resuming normal operations
[Wed May 28 11:55:04.631582 2014] [core:notice] [pid 11188] AH00094: Command line: '/Applications/AMPPS/apache/bin/httpd'
[Wed May 28 11:55:23.151873 2014] [mpm_prefork:notice] [pid 11188] AH00169: caught SIGTERM, shutting down
IP: --   

Can't access AMPPS Home
dora
Group: Member
Post Group: Newbie
Posts: 8
Status:
Hi, above is the error log from today. The beggining is not relevant to the topic I guess. I couln't start my project becouse of switched off php extentions. Although maybe it is of some interest, that I still cannot access my www folder.
IP: --   

Can't access AMPPS Home
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

Is mysql configuration, what is the socket value in [mysqld] section ?

also what is the value of mysql.default_socket and mysqli.default_socket in PHP Configuration ?




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

Can't access AMPPS Home
dora
Group: Member
Post Group: Newbie
Posts: 8
Status:
The following portion is from my.cnf:

[mysqld]
port        = 3306
socket        = {$path}/var/mysql.sock
datadir        = /Applications/AMPPS/var
basedir        = /Applications/AMPPS/mysql
pid-file    = /Applications/AMPPS/var/mysql.pid
log-error    = {$path}/var/mysql.err

This one is from php-5.3.ini:

[MySQL]
; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
; http://php.net/mysql.allow_local_infile
mysql.allow_local_infile = On

; Allow or prevent persistent links.
; http://php.net/mysql.allow-persistent
mysql.allow_persistent = On

; If mysqlnd is used: Number of cache slots for the internal result set cache
; http://php.net/mysql.cache_size
mysql.cache_size = 2000

; Maximum number of persistent links.  -1 means no limit.
; http://php.net/mysql.max-persistent
mysql.max_persistent = -1

; Maximum number of links (persistent + non-persistent).  -1 means no limit.
; http://php.net/mysql.max-links
mysql.max_links = -1

; Default port number for mysql_connect().  If unset, mysql_connect() will use
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
; at MYSQL_PORT.
; http://php.net/mysql.default-port
mysql.default_port =

; Default socket name for local MySQL connects.  If empty, uses the built-in
; MySQL defaults.
; http://php.net/mysql.default-socket
mysql.default_socket = {$path}/var/mysql.sock

; Default host for mysql_connect() (doesn't apply in safe mode).
; http://php.net/mysql.default-host
mysql.default_host =

; Default user for mysql_connect() (doesn't apply in safe mode).
; http://php.net/mysql.default-user
mysql.default_user =

; Default password for mysql_connect() (doesn't apply in safe mode).
; Note that this is generally a *bad* idea to store passwords in this file.
; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
; and reveal this password!  And of course, any users with read access to this
; file will be able to reveal the password as well.
; http://php.net/mysql.default-password
mysql.default_password =

; Maximum time (in seconds) for connect timeout. -1 means no limit
; http://php.net/mysql.connect-timeout
mysql.connect_timeout = 60

; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
; SQL-Errors will be displayed.
; http://php.net/mysql.trace-mode
mysql.trace_mode = Off

[MySQLi]

; Maximum number of persistent links.  -1 means no limit.
; http://php.net/mysqli.max-persistent
mysqli.max_persistent = -1

; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
; http://php.net/mysqli.allow_local_infile
;mysqli.allow_local_infile = On

; Allow or prevent persistent links.
; http://php.net/mysqli.allow-persistent
mysqli.allow_persistent = On

; Maximum number of links.  -1 means no limit.
; http://php.net/mysqli.max-links
mysqli.max_links = -1

; If mysqlnd is used: Number of cache slots for the internal result set cache
; http://php.net/mysqli.cache_size
mysqli.cache_size = 2000

; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
; at MYSQL_PORT.
; http://php.net/mysqli.default-port
mysqli.default_port = 3306

; Default socket name for local MySQL connects.  If empty, uses the built-in
; MySQL defaults.
; http://php.net/mysqli.default-socket
mysqli.default_socket =

; Default host for mysql_connect() (doesn't apply in safe mode).
; http://php.net/mysqli.default-host
mysqli.default_host =

; Default user for mysql_connect() (doesn't apply in safe mode).
; http://php.net/mysqli.default-user
mysqli.default_user =

; Default password for mysqli_connect() (doesn't apply in safe mode).
; Note that this is generally a *bad* idea to store passwords in this file.
; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
; and reveal this password!  And of course, any users with read access to this
; file will be able to reveal the password as well.
; http://php.net/mysqli.default-pw
mysqli.default_pw =

; Allow or prevent reconnect
mysqli.reconnect = Off

IP: --   

« Previous    Next »

Threaded Mode | Print  

2


Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 29, 2024, 12:12 pm.

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