verot.net - Typo3 installation on OVH mutualised server ======================================================= https://www.verot.net/typo3_ovh.htm ### Get Typo3 Download dummy-3.5.0.zip from typo3.org. (Any other package should work), and unzip it locally. ### Modify a few files in /typo3/init.php define('PATH_thisScript',str_replace('//','/', str_replace('\\','/', php_sapi_name()=='cgi'||php_sapi_name()=='isapi' ? $HTTP_SERVER_VARS['PATH_TRANSLATED']: $HTTP_SERVER_VARS['SCRIPT_FILENAME']))); becomes define('PATH_thisScript',str_replace('//','/', str_replace('\\','/', $HTTP_SERVER_VARS['SCRIPT_FILENAME']))); in /index.php define('PATH_thisScript',str_replace('//','/', str_replace('\\','/', php_sapi_name()=='cgi'||php_sapi_name()=='isapi' ? $HTTP_SERVER_VARS['PATH_TRANSLATED']: $HTTP_SERVER_VARS['SCRIPT_FILENAME']))); becomes define('PATH_thisScript',str_replace('//','/', str_replace('\\','/', $HTTP_SERVER_VARS['SCRIPT_FILENAME']))); in /typo3/t3lib/class.t3lib_install.php function getDatabaseList() { $dbArr=array(); if ($result = @mysql_pconnect(TYPO3_db_host, TYPO3_db_username, TYPO3_db_password)) { $db_list = mysql_list_dbs(); while ($row = mysql_fetch_object($db_list)) { if (mysql_select_db($row->Database)) { $dbArr[]=$row->Database; } } } return $dbArr; } becomes function getDatabaseList() { $dbArr=array(); $dbArr[]='your_table'; return $dbArr; } in /typo3/t3lib/class.t3lib_div.php switch((string)$getEnvName) { case 'SCRIPT_NAME': return php_sapi_name()=='cgi' ? $HTTP_SERVER_VARS['PATH_INFO'] : $HTTP_SERVER_VARS['SCRIPT_NAME']; becomes switch((string)$getEnvName) { case 'SCRIPT_NAME': return $HTTP_SERVER_VARS['SCRIPT_NAME']; ### Test it Go to http://www.mydomain.com/. If it doesn't get to the install process, go there manually typing : http://www.mydomain.com/typo3/install/. Most of the configuration will be done automatically. Set up the database, using your parameters. You should be able to see one table in the list, the one you hard-coded in class.t3lib_install.php. You can then import typo3conf/database.sql (all tables), which you can do from the install script.