Default config.php issue in 1.3.4

Issue #918 wontfix
Paul Richard created an issue

Sorry if this has already been addressed, but I've now spent eight hours on this and want to save someone else the trouble. In the version I downloaded from mailpiler.org, in config.php in the webui directory,

$config['DB_HOSTNAME'] = 'localhost';

Localhost is not resolved and causes the index.php to fail with the following message:

Error: SQLSTATE[HY000] [2002] No such file or directory on database: piler

This is resolved by changing localhost to 127.0.0.1.

Running Debian 9 with PHP 5.6.36 Instructions I followed: http://www.mailpiler.org/pdf/piler-1.1.0.pdf I installed PHP 5 instead of 7 because that was listed in the instructions, though I later realized that 7 is supported, perhaps that resolves localhost.

Comments (2)

  1. Janos SUTO repo owner

    localhost should work. Also you shouldn't use an 1.1.0 documentation for 1.3.4. That pdf is not even linked to the wiki, and I'll remove it soon.

  2. Log in to comment