Jump to content

Which PHP functions are necessary for TYPO3 6?


jackhard

Recommended Posts

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 system

Which should be definitely enabled for TYPO3 and which can stay disabled? Thanks for your help.

 

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.

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.

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.