Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
So i recently got a web host that uses CPanel and i use both the manual way and the auto-installer from CPanel, once it installs on a complete fresh install i get this error "The website encountered an unexpected error. Please try again later." i then look in the CPanel logs and get these messages and was wondering if this has anything to do with not being able to see my fresh install of Drupal 8.
After trying to resolve conflicts between multiple copies of mysql
one from apt-get (removed with apt-get)
one from mysql.org (not sure how to uninstall, but no longer working after removing #1 (get ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2))
one with ampps stack bundle
The one that seems to be running is #3 . The Drupal install seems to be looking for mysql in the old location (/usr/bin) because it also gets the ERROR 2002 (see below).
I am trying to install the varbase distribution (8.4.13) using composer (see code below), but I seem to have too old versions of php (7.0.25) and curl (7.19.7). Ideally I would of course upgrade, but I do not admin rights to do that. I tried installing older versions of varbase without luck, still reports compatibility issues. I also tried require specific php/curl versions in the require and platform sections of composer.json file without luck.
Would it still be possible to install varbase using the current system setup?