Fedora Core 5 MySQL support
Posted: Tue Apr 03, 2007 12:17 pm
I just successfully installed Timetrex 6.0.2-beta-2 on Fedora Core 5 (Redhat Linux).
Mysql support is not compiled in PHP but is instead inserted as a module. It would be nice if the installer could ask if MySQL support is compiled in or is a module and updates timetrex/includes/globals.ini.php adding
if ( extension_loaded('mysql') == FALSE ) {
@dl($prefix . 'mysql.' . PHP_SHLIB_SUFFIX);
}
to the dynamically loading modules section. This simple addition makes MySQL work correctly without recompiling PHP. I am considering upgrading to the newest 6.0.2 released but am worried that the installation work I have completed will disappear when I install the new version.
Mysql support is not compiled in PHP but is instead inserted as a module. It would be nice if the installer could ask if MySQL support is compiled in or is a module and updates timetrex/includes/globals.ini.php adding
if ( extension_loaded('mysql') == FALSE ) {
@dl($prefix . 'mysql.' . PHP_SHLIB_SUFFIX);
}
to the dynamically loading modules section. This simple addition makes MySQL work correctly without recompiling PHP. I am considering upgrading to the newest 6.0.2 released but am worried that the installation work I have completed will disappear when I install the new version.