When I ran the upgrade script to upgrade 1.0.0 to 1.0.3, the script picked up php 5.2, and ended/failed with the following:
Running update script at target...
WARNING: File type detection doesn't work properly!
Please check the 'mime_magic' config option or the finfo functions of PHP and run this script again.
Executing database schema update.
ERROR: MySQL driver requires PHP >= 5.3, current version is 5.2.17All done.
Trying to rerun the script with php 5.4:
/usr/local/bin/php-5.4 ./installto.sh TARGET
ERROR: Installation at target location is up-to-date!
so, I'm stuck. Any suggestions? Here is the version set in RC. I'm thinking that if I reset it in the target then I should be able to rerun.
ok, fixed. For anyone else who need to rerun the install:
change the version in [TARGET]/program/include/iniset.php to a previous version:
define('RCMAIL_VERSION', '1.0.3');
then run:
PATH=/path/to/proper/php/bin:$PATH ~/roundcubemail-1.0.3/bin/installto.sh [TARGET_PATH]