I’m moving my phpList installation to a new host. On the old host, I had the plugins and tmp folders for phpList outside of the web root, and I wanted to do the same in the new environment. I updated my config.php file accordingly, but something must be wrong with the permissions, because I either get a message (on the plugins page) that the plugin directory is not writable or I get a white screen of death and a 500 HTTP result shown in the Apache access log but nothing written to the Apache error log.
I’m not seeing a PHP-specific error log even though the PHP log refers to the error log being opened. Per the php.ini, it looks like the error log should be written in /tmp (must be a default setting, I wouldn’t have chosen that), but there’s no error log there.
OS is debian 11. The owner of the directory structure and files for the plugins is root, with the group being one that includes the Apache user. If write permissions are limited to owner (i.e., root), I get the “not writable” message (makes sense). If I then give write permissions to group, I get the WSOD. Without an error being written to an error log, I’m not sure how to debug this.
So, for now, I commented out the line in config.php to put things back to their default… where the permissions don’t make much sense to me. The plugins directory itself has read, write, execute for everyone, but within that the write permissions are limited to owner (root).