jackhard Posted May 3, 2013 Share Posted May 3, 2013 I just did a fresh install of TYPO3 6.1. The system environment check tells me, that some PHP functions are disabled on my server. I'm using Froxlor on my server to administrate domains and alike. Thus, I have complete control over this machine but I'm not sure which functions are really necessary. Some functions seem to be pretty dangerous to me, so I don't want to enable every function which are disabled on my box. TYPO3 lists the following functions as disabled: disable_functions=parse_ini_file passthru popen proc_close proc_get_status proc_nice proc_open proc_terminate shell_exec show_source systemWhich should be definitely enabled for TYPO3 and which can stay disabled? Thanks for your help. Quote Link to comment https://forums.phpfreaks.com/topic/277576-which-php-functions-are-necessary-for-typo3-6/ Share on other sites More sharing options...
mac_gyver Posted May 3, 2013 Share Posted May 3, 2013 does the installation stop or is there just a warning that some disabled functions were found and some features may not work? except for perhaps parse_ini_file, a safe/securely written CMS would have no business using any of those other functions. Quote Link to comment https://forums.phpfreaks.com/topic/277576-which-php-functions-are-necessary-for-typo3-6/#findComment-1428055 Share on other sites More sharing options...
mac_gyver Posted May 3, 2013 Share Posted May 3, 2013 (edited) as a continuation of the above reply - it would take profiling the code to get a list of the functions it does use, incorporating that list into the installation script, then comparing it with the disabled functions. i doubt there are many installation scripts with that much detail in them and in fact i doubt the author of this script even has a list of functions the code does use. here's one way you could find if the code is using any of those disabled functions. using a programming editor that searches all the files within a project/folder, search for each function name in turn to see if it is used in the code. Edited May 3, 2013 by mac_gyver Quote Link to comment https://forums.phpfreaks.com/topic/277576-which-php-functions-are-necessary-for-typo3-6/#findComment-1428063 Share on other sites More sharing options...
mac_gyver Posted May 3, 2013 Share Posted May 3, 2013 the code is using shell_exec to run the aspell spell checker and for a scheduler. Quote Link to comment https://forums.phpfreaks.com/topic/277576-which-php-functions-are-necessary-for-typo3-6/#findComment-1428073 Share on other sites More sharing options...
annaharris Posted May 6, 2013 Share Posted May 6, 2013 According to me below PHP functions are necessary for TYPO3 6. passthru - used when generating thumbnails in the backend. proc_close - used, probably by a mailer class. proc_open - used, probably by a mailer class. shell_exec - used by the scheduler and by the RTE for spellchecking using Aspell. Quote Link to comment https://forums.phpfreaks.com/topic/277576-which-php-functions-are-necessary-for-typo3-6/#findComment-1428571 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.