I'm playing up with installing new environments on my server, Nginx webserver in conjunction with HHVM.
I installed both, then came to MariaDB and installed it as well. I can confirm server's working by hitting IP address: Welcome to nginx!
I then needed to install a web-based client for managing databases. I know phpMyAdmin works with Apache and Litespeed very well but as I followed many articles regarding to installing phpMyAdmin beside Nginx, steps were almost the same.
But the problem is doing
apt-get install phpmyadmin will install Apache too:
The following extra packages will be installed: apache2 apache2-bin apache2-data dbconfig-common libapache2-mod-php5 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libjs-codemirror libjs-jquery libjs-jquery-cookie libjs-jquery-event-drag libjs-jquery-metadata libjs-jquery-mousewheel libjs-jquery-tablesorter libjs-jquery-ui libjs-underscore php-gettext php5 php5-common php5-json php5-mcrypt php5-mysql
By confirming installation it will install and enable Apache modules:
[...] Enabling module mpm_event. Enabling module authz_core. Enabling module authz_host. Enabling module authn_core. Enabling module auth_basic. Enabling module access_compat. Enabling module authn_file. Enabling module authz_user. Enabling module alias. Enabling module dir. Enabling module autoindex. Enabling module env. Enabling module mime. Enabling module negotiation. Enabling module setenvif. Enabling module filter. Enabling module deflate. Enabling module status. [...]
and then throwing an error that Apache couldn't get started:
* Starting web server apache2 AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using vultr.guest. Set the 'ServerName' directive globally to suppress this message (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80 (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down AH00015: Unable to open logs Action 'start' failed. The Apache error log may have more information. * * The apache2 instance did not start within 20 seconds. Please read the log files to discover problems invoke-rc.d: initscript apache2, action "start" failed. Setting up dbconfig-common (1.8.47+nmu1) ...
I'm migrating from Apache to Nginx that means I don't want Apache anymore! Is it a default behavior of phpMyAdmin? Anyway to run phpMyAdmin with the latest versions of Nginx and HHVM?