Indeed, thanks!
sudo -u _postgres createdb -O roundcube -E UNICODE roundcubemail
(etc) helped me get through the database setup.
I'm stuck, however further along.
I chose to install roundcube in:
/opt/local/more/roundcubemail-0.8.4 with a symbolic link at /opt/local/more/roundcube to easy subsequent migration.
I've set up apache to alias from the default 443 sites config that ML Server sets up by including a httpd_webmail.conf file (so it doesn't get clobbered by the UI. Here's the contents --
cat /Library/Server/Web/Config/apache2/httpd_webmail.conf
Alias /webmail "/opt/local/more/roundcube/"
<Directory "/opt/local/more/roundcube/">
Options -Indexes FollowSymLinks
</Directory>
I created a WebApp plist file for the heck of it (though honestly I'm not sure if that really does anythign since I've fot the Alias set up to point to the alternative directory), and I copied the roundcube config/*php.dist to *php variants and modified a number of settings that seemed relevant for me.
I'm now struggling to load the https://localhost/webmail/installer/ page in Safari. Here's what I see in the apache error_log:
[Tue Jan 22 20:54:15 2013] [error] [client ::1] PHP Fatal error: Unknown: Failed opening required '/opt/local/more/roundcube/installer/index.php' (include_path='.:') in Unknown on line 0
I'm not quite sure if the include path is sufficient ... but if I run php -l -f locally *within* the .../installer directory, I see no problems. If I run it with an absolute path I run into other problems which I think mimic what apache is doing...
> php -f /opt/local/more/roundcube/installer/index.php
PHP Warning: require_once(utils.php): failed to open stream: No such file or directory in /opt/local/more/roundcube/installer/index.php on line 56
Warning: require_once(utils.php): failed to open stream: No such file or directory in /opt/local/more/roundcube/installer/index.php on line 56
PHP Fatal error: require_once(): Failed opening required 'utils.php' (include_path='/program/lib:/program:/program/include:.:') in /opt/local/more/roundcube/installer/index.php on line 56
Fatal error: require_once(): Failed opening required 'utils.php' (include_path='/program/lib:/program:/program/include:.:') in /opt/local/more/roundcube/installer/index.php on line 56
Do I have something PHP-related obviously misconfigured?
Also, the /opt/local/more/roundcube contents are basically chmod 744, though directories are 755, and owned by admin:staff (admin = the MacOS default user account). The temp and logs directories are owned by _www:staff ,for what it's worth. I assume these are okay?