I cleared it all out and started fresh. Same error after a perfect install. Here's what happened:
Installation Summary
Pre-installation tests were successful. Click Install below to continue.
Checking PHP version: OK! Running: 5.3.10-1ubuntu3.4
Checking PHP for zlib dependency: OK!
Checking for SimpleXML: OK!
Checking if memory limit is set to at least 24M: OK! Set to 128M
Checking if sessions are properly configured: OK!
Checking if /var/www/www.test.com/htdocs/core/cache directory exists: OK!
Checking if /var/www/www.test.com/htdocs/core/cache directory is writable: OK!
Checking if /var/www/www.test.com/htdocs/core/export directory exists: OK!
Checking if /var/www/www.test.com/htdocs/core/export directory is writable: OK!
Checking if /var/www/www.test.com/htdocs/core/packages directory exists: OK!
Checking if /var/www/www.test.com/htdocs/core/packages directory is writable: OK!
Checking if /var/www/www.test.com/htdocs/core/config/config.inc.php exists and is writable: OK!
Creating connection to the database: OK!
Checking to make sure safe_mode is off: OK!
Checking for suhosin issues:OK!
********** click Install
Installation Summary
Core installation was successful. Click next to complete the installation process.
(scroll to bottom)
Toggle Success Messages | Toggle Warnings
Config file successfully written.
Config file permissions successfully updated.
********** click Next
500 Error
Site temporarily unavailable.
This is on Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-31-generic x86_64)
apache2 2.2.22-1ubuntu1
php 5.3.10-1ubuntu3.4
mysql 5.5.24-0ubuntu0.12.04.1
Completely empty install directory:
cd /var/www/www.test.com/htdocs/
wget
http://modx.com/download/direct/modx-2.2.5-pl.zip
unzip modx-2.2.5-pl.zip
mv modx-2.2.5-pl.zip/* .
rmdir modx-2.2.5-pl
cd ..
chown -Rv www-data:www-data .
Then checked permissions - all looked ok so I then launched www.test.com/setup, ran through the installer and 500 Error.