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.

 

Link to comment
Share on other sites

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 by mac_gyver
Link to comment
Share on other sites

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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.