Welcome Guest. Please Login or Register  


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

1


Threaded Mode | Print  

 Can't access AMPPS Home (54 Replies, Read 218332 times)
KenSander
Group: Member
Post Group: Newbie
Posts: 12
Status:
I just upgraded to the newest ampps version and I went to access localhost/ampps to get to phpmyadmin and the page just loads blank page.

Checked the error logs of ampss admin and see this:

[13-May-2014 14:07:05] FATAL : 1 Call to undefined function mysql_connect() /Applications/AMPPS/ampps/softaculous/enduser/softpanel.php 148


Running os x

Also, when I run localhost I can't see a list of my sites and alias I've created. When I access a site with an alias (localhost/alias-name) says URL not found.

I upgraded by the alert to upgrade in the ampps app.
IP: --   

Can't access AMPPS Home
ganto
Group: Member
Post Group: Newbie
Posts: 2
Status:
I'm having the same exact problem.
IP: --   

Can't access AMPPS Home
ceniack
Group: Member
Post Group: Newbie
Posts: 4
Status:
I am also getting this issue.
IP: --   

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

It seems PHP MySQL extension is disabled in the update. Please enable it from PHP Tab of the Application.

We will fix this asap.


-----------------------
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
ceniack
Group: Member
Post Group: Newbie
Posts: 4
Status:
I just tried that and I am still getting the same issue.
IP: --   

Can't access AMPPS Home
KenSander
Group: Member
Post Group: Newbie
Posts: 12
Status:
Make sure you restart apache.
IP: --   

Can't access AMPPS Home
ceniack
Group: Member
Post Group: Newbie
Posts: 4
Status:
Did that. I can get to localhost/ampps-admin but if I go to the home on amps i still get the blank screen. It seems that the virtualhost is messed up since I can get to my sites if I go localhost/foldername but not directly to the folder using my hostfile changes.
IP: --   

Can't access AMPPS Home
KenSander
Group: Member
Post Group: Newbie
Posts: 12
Status:
Oh okay.

Before the fix information here was posted, I just backed up my stuff and reinstalled fresh. I couldn't wait for a fix and I don't have many customizations to it other than my sites and mysql databases.
IP: --   

Can't access AMPPS Home
teama
Group: Member
Post Group: Newbie
Posts: 2
Status:
Quote From : ceniack May 13, 2014, 7:31 pm
Did that. I can get to localhost/ampps-admin but if I go to the home on amps i still get the blank screen. It seems that the virtualhost is messed up since I can get to my sites if I go localhost/foldername but not directly to the folder using my hostfile changes.


I am having this problem as well. On OS X Mountain Lion. Nothing particularly off in my error log.

Code
[Tue May 13 17:04:31.018346 2014] [mpm_prefork:notice] [pid 5153] AH00163: Apache/2.4.9 (Unix) OpenSSL/1.0.1g PHP/5.3.28 mod_wsgi/3.4 Python/2.7.6 configured -- resuming normal operations
[Tue May 13 17:04:31.028179 2014] [core:notice] [pid 5153] AH00094: Command line: '/Applications/AMPPS/apache/bin/httpd'
[Tue May 13 17:09:10.588636 2014] [mpm_prefork:notice] [pid 5153] AH00169: caught SIGTERM, shutting down


Any thoughts?
IP: --   

Can't access AMPPS Home
teama
Group: Member
Post Group: Newbie
Posts: 2
Status:
Quote From : teama May 14, 2014, 12:47 am
Quote From : ceniack May 13, 2014, 7:31 pm
Did that. I can get to localhost/ampps-admin but if I go to the home on amps i still get the blank screen. It seems that the virtualhost is messed up since I can get to my sites if I go localhost/foldername but not directly to the folder using my hostfile changes.


I am having this problem as well. On OS X Mountain Lion. Nothing particularly off in my error log.

Code
[Tue May 13 17:04:31.018346 2014] [mpm_prefork:notice] [pid 5153] AH00163: Apache/2.4.9 (Unix) OpenSSL/1.0.1g PHP/5.3.28 mod_wsgi/3.4 Python/2.7.6 configured -- resuming normal operations
[Tue May 13 17:04:31.028179 2014] [core:notice] [pid 5153] AH00094: Command line: '/Applications/AMPPS/apache/bin/httpd'
[Tue May 13 17:09:10.588636 2014] [mpm_prefork:notice] [pid 5153] AH00169: caught SIGTERM, shutting down


Any thoughts?


Disregard! Got it all set.

For anyone else who was puzzled about how to activate the MySQL extension.
  • In the AMPPS Application, choose PHP.
  • Then choose Extensions.
  • Then find mysql.so.
  • Check the box.
  • Restart Apache.
IP: --   

Can't access AMPPS Home
marcofiset
Group: Member
Post Group: Newbie
Posts: 4
Status:
I'm having the same issue, and the mysql.so checkbox was already checked when I went there to fix it... Still can't access the home page, even after restarting apache, checking the box off and on again, etc.

I still get

Call to undefined function mysql_connect() /Applications/AMPPS/ampps/softaculous/enduser/softpanel.php 148
IP: --   

Can't access AMPPS Home
joshua
Group: Member
Post Group: Newbie
Posts: 4
Status:
Anyone solve the problem yet?
Previously mine was working okay
but now my localhost/ampps shows only white screen
IP: --   

Can't access AMPPS Home
ceniack
Group: Member
Post Group: Newbie
Posts: 4
Status:
Quote From : joshua May 14, 2014, 5:19 am
Anyone solve the problem yet?
Previously mine was working okay
but now my localhost/ampps shows only white screen


I am using OS X Mavericks. I just used Sequel Pro to connect to the database, backed up all of my sites and then reinstalled completely. It was the only thing I could do to get it to work.
IP: --   

Can't access AMPPS Home
joshua
Group: Member
Post Group: Newbie
Posts: 4
Status:
backup, uninstall and reinstall solve my problem in Mavericks
IP: --   

Can't access AMPPS Home
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
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.


-----------------------
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, 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: --   

Can't access AMPPS Home
dora
Group: Member
Post Group: Newbie
Posts: 8
Status:
OK, so I did this:
in [MySQLi] section of PHP-5,3.ini file, after:

"mysqli.default_socket ="

I added:

" {$path}/var/mysql.sock "

... and now it works.
IP: --   

Can't access AMPPS Home
dora
Group: Member
Post Group: Newbie
Posts: 8
Status:
I am affraid this last part was not mentioned it the troubleshooting manual above :-). Thanks for the quick respond anyway and have a nice day.
IP: --   

Can't access AMPPS Home
arsdehnel
Group: Member
Post Group: Newbie
Posts: 3
Status:
Dora, did you get this resolved?  I'm having the same trouble and have all the same settings that were suggested above.
IP: --   

Can't access AMPPS Home
dora
Group: Member
Post Group: Newbie
Posts: 8
Status:
Hi arsdehnel,
yes, I did solve the problem. I wrote it earlier in the thread. Here it is again:

Quote From : dora May 28, 2014, 12:27 pm
OK, so I did this:
in [MySQLi] section of PHP-5,3.ini file, after:

"mysqli.default_socket ="

I added:

" {$path}/var/mysql.sock "

... and now it works.
IP: --   

Can't access AMPPS Home
arsdehnel
Group: Member
Post Group: Newbie
Posts: 3
Status:
Great, thank you.  I see now that I didn't go all the way to page 3.  Working for me now as well!
IP: --   

Can't access AMPPS Home
guni810
Group: Member
Post Group: Newbie
Posts: 12
Status:
Hello

tried to follow all the steps...

what I got is ... error message :
IP: --   

Can't access AMPPS Home
guni810
Group: Member
Post Group: Newbie
Posts: 12
Status:
Also after that error.. it shows:

Site error: the file C:\Program Files (x86)\Ampps\ampps\softaculous\enduser\inc.php requires the ionCube PHP Loader ioncube_loader_win_5.3.dll to be installed by the website operator. If you are the website operator please use the ionCube Loader Wizard to assist with installation.
IP: --   

Can't access AMPPS Home
guni810
Group: Member
Post Group: Newbie
Posts: 12
Status:
and how can I get to activate this? I cannot find mysql.so in PHP extension  :squi:

Quote

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.


I have been gone thru this for nearly 3 days... and none is working... :cry:

in php extension only shows this...

IP: --   

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

You are on windows, PHP extensions in windows has .dll extensions.

And it seems there is an error in PHP Configuration file. So I would recommend you to restore default configuration from AMPPS Application -> PHP Tab -> Restore Default Configuration.

If you are still facing any issues. Please open a ticket or open a new thread.


-----------------------
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
guni810
Group: Member
Post Group: Newbie
Posts: 12
Status:
Thanks for quick reply, really appreciate this.

I've restored default configuration, now it comes back with the blank white screen
IP: --   

Can't access AMPPS Home
guni810
Group: Member
Post Group: Newbie
Posts: 12
Status:
I'm using Windows 8.1
AMPPS 2.4

I attached the error log file for apache and mysql
perhaps you can help me with this?
thanks in advance

I still get blank screen for localhost/ampps and localhost/ampps-admin
IP: --   

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

Follow this wiki for solution:
http://www.ampps.com/wiki/Category:FAQs#Accessing_Admin.2FEnduser_Panel_gives_a_Blank_Page


-----------------------
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
guni810
Group: Member
Post Group: Newbie
Posts: 12
Status:
Hi, thanks for your help.

I've tried this several time and restart Apache but still got the blank screen...

any idea what's the problem?

IP: --   

Can't access AMPPS Home
guni810
Group: Member
Post Group: Newbie
Posts: 12
Status:
Quote From : guni810 June 10, 2014, 1:44 am
Hi, thanks for your help.

I've tried this several time and restart Apache but still got the blank screen...

any idea what's the problem?



perhaps is not compatible with Windows 8.1 ?
I have searched all the solution from this forum and tried every single steps until now... I nearly give up... :squi:
IP: --   

Can't access AMPPS Home
arsdehnel
Group: Member
Post Group: Newbie
Posts: 3
Status:
Quote From : guni810 June 10, 2014, 1:47 am
Quote From : guni810 June 10, 2014, 1:44 am
Hi, thanks for your help.

I've tried this several time and restart Apache but still got the blank screen...

any idea what's the problem?



perhaps is not compatible with Windows 8.1 ?
I have searched all the solution from this forum and tried every single steps until now... I nearly give up... :squi:


Are you behind a proxy? I found out through a support ticket that AMPPS doesn't work with HTTP or HTTPS proxy servers and only works with SOCKS protocol if you get a patch from them.
IP: --   

Can't access AMPPS Home
guni810
Group: Member
Post Group: Newbie
Posts: 12
Status:
I'm sorry perhaps I'm quite new to this... how can I check whether I'm behind a proxy?

and what patch do I need to get to work?

sorry about this questions...
IP: --   

Can't access AMPPS Home
guni810
Group: Member
Post Group: Newbie
Posts: 12
Status:
Ok, I've googled and check from my Chrome browser, no proxy server used... so apparently I'm no behing proxy server...

so what would be the problem? duh...
IP: --   

Can't access AMPPS Home
ketan
Group: Member
Post Group: Working Member
Posts: 241
Status:
Quote From : guni810 June 10, 2014, 1:44 am
Hi, thanks for your help.

I've tried this several time and restart Apache but still got the blank screen...

any idea what's the problem?



Hi,

Please replace "path\to\Ampps" with the proper Ampps installation directory.
For eg: if you have installed Ampps in "C:\Ampps" then run the following command in command prompt,
"C:\Ampps\php\php.exe" -c "C:\Ampps\apache\php.ini" "C:\Ampps\ampps\softaculous\enduser\install.php"

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

Can't access AMPPS Home
guni810
Group: Member
Post Group: Newbie
Posts: 12
Status:
Hi,
Tried it but, it comes up with this message in the prompt command:

Could not open input file: \Ampps\ampps\softaculous\enduser\install.php

IP: --   

Can't access AMPPS Home
ketan
Group: Member
Post Group: Working Member
Posts: 241
Status:
Hi,

Please run the following command in command prompt as it is,

"C:\Program Files (x86)\Ampps\php\php.exe" -c "C:\Program Files (x86)\Ampps\apache\php.ini" "C:\Program Files (x86)\Ampps\ampps\softaculous\enduser\install.php"

if install.php file is not present in "C:\Program Files (x86)\Ampps\ampps\softaculous\enduser\" then please run the following command in command prompt as it is,

"C:\Program Files (x86)\Ampps\php\php.exe" -c "C:\Program Files (x86)\Ampps\apache\php.ini" "C:\Program Files (x86)\Ampps\ampps\softaculous\cron.php"

Edited by ketan : June 11, 2014, 6:06 am

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

Can't access AMPPS Home
guni810
Group: Member
Post Group: Newbie
Posts: 12
Status:
Hello, thanks very much for your help and trouble

I have tried to run in command prompt.. to run the cron but no succeed, it shows:

Quote
C:\Program Files (x86)\Ampps\php>php.exe -c "C:\Program Files (x86)\Ampps\apache
\php.ini" "C:\Program Files (x86)\Ampps\ampps\softaculous\cron.php"
Access is denied.


see the screenshot from the command promt (attached)

Also something come up with the message:

This app can't run on your PC (see picture)
IP: --   

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

Please open a support ticket. We will look into this.

http://www.ampps.com/support


-----------------------
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
guni810
Group: Member
Post Group: Newbie
Posts: 12
Status:
Hi
for some reason, after tried all the hussle about phpinstall etc... I thought I give the last try..

uninstall ampps, then reinstall... but to my surprise, now it's working alright... dunno what's going on still.

I havent done anything yet, just reinstall and now the screen turns up alright.... anyway thanks for your help.
IP: --   

Can't access AMPPS Home
sharklasers
Group: Member
Post Group: Newbie
Posts: 1
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.


Not working on Mavericks 10.9.5 all updated as of now (June 2015).

Blank pages are shown when trying to access admin panel and the AMPPS main page.

Did everything as instructed to no avail at all.

Did the modification to mysqli too but it didn't work either.

Any suggestions? How can I open a ticket to the support team?

MAMP is working okay as I try to find out what to do with AMPPS.

Thanks in advance!
IP: --   

Can't access AMPPS Home
bernals
Group: Member
Post Group: Newbie
Posts: 1
Status:
I'm having the same problems. I tried everything from this thread. I made sure the mysql extension was enabled. After I changed the location of mysql.sock,  I now get a PP syntax error message. It reads "syntax error, unexpected'(' in C:\Program Files (x86)\Ampps\apache\php.ini on line 1146".
Also, when I try to open the page in the browser I now receive this error:
"Site error: the file C:\Program Files (x86)\Ampps\ampps\softaculous\enduser\inc.php
requires the ionCube PHP Loader ioncube_loader_win_5.3.dll to be
installed by the website operator. If you are the website operator
please use the ionCube Loader Wizard to assist with installation."

I've attached the Apache error log.

Any help would be really appreciated, thanx.
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 28, 2024, 4:26 pm.

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