[Typo3-dev] changes required for PHPSuexec to work in Typo3
Michael Stucki
mundaun at gmx.ch
Mon Jun 14 23:12:50 CEST 2004
Hi Martin-Pierre,
thanks for your mail. Since I couldn't find much useful information about
phpsuexec, I'd like to ask you a few questions.
First, one general thing: What is the home of phpsuexec? Where can I
download it? Is it part of the PHP distribution?
Furthermore, I wonder why one should use this tool which seems to bring
nothing but limitations in place of safe_mode and open_basedir. What's
wrong with these settings?
I don't get it, please enlighten me!
> Please note that only the zipfile version will work with PHPSuexec,
> since symlinks are not supported.
Yeah, and that's why I don't like it. What's the idea behind this "broken
feature"?
> As such, I simply modified the =='cgi' with =='xcgi' in all the
> occurances, and it works well.
If this helps, we might think about changing the string comparisons to
something like "stristr('cgi', $string);".
> But unfortunatly, that also means that cgi installations no longer work.
See above, shouldn't be a problem then.
> In my case, I search for all instances of 'cgi' and I replace them with
> 'xcgi' but another method is needed for the sources to work both on
> PHPSuexec and cgi systems.
To make it short: Can we be sure that if we change this php_sapi_name
comparisons, TYPO3 works 100% depending that one uses an installation
without symbolic links?
> $TYPO3_CONF_VARS["BE"]["fileCreateMask"]=0744;
> $TYPO3_CONF_VARS["BE"]["folderCreateMask"]=0755;
744 never makes sense, does it?
Regards, michael
--
Want support? Please read the list rules first: http://typo3.org/1438.0.html
More information about the TYPO3-dev
mailing list