Feature #14168
closedInstall fails, Mem too small. Actually get_cfg_var problem
0%
Description
Install fails, as PHP procedure get_cfg_var does not return any values of config variables. This makes Install complain there is not enough memory.
According to PHP documentation get_cfg_var doesn;t always return config values, it depends how they were set up. I assume this host was not set up the right way..
Solved by replacing get_cfg_var with ini_get in module class.t3lib_install.php. This returns the same value, but always works. ini_get is also used elsewhere in Typo3.
Would it make sense to use it in class.t3lib_install.php as well
(issue imported from #M95)
Updated by Ingmar Schlecht over 20 years ago
I just read the comments on http://de.php.net/manual/en/function.get-cfg-var.php and it's true that what we want is actually ini_get() and not get_cfg_var() so I would change all occurrences of the function get_cfg_var() in the source code of Typo3 to ini_get().
Updated by Robert Lemke over 20 years ago
Hey Ingmar,
seems to make sense. I suggest you just drop Kasper a note and either let him search and replace it or do it yourself ...
Updated by Ingmar Schlecht over 20 years ago
I have fixed this in CVS already so it'll be in 3.6.2.