Re: [PHP-DEV] Re: Performance problem with php

2010-07-13 Thread Pierre Joye
2010/7/13 Vincenzo D'Amore : > Thanks Johannes, > you are really clear and I finally understand what's the problem. > I'm following a big free web hosting service, I would like to enhance > performance of customers webspache. > What do you think if: > > set safe_mode off > remove open_basedir > dis

Re: [PHP-DEV] Re: Performance problem with php

2010-07-13 Thread Vincenzo D'Amore
Thanks Johannes, you are really clear and I finally understand what's the problem. I'm following a big free web hosting service, I would like to enhance performance of customers webspache. What do you think if: - set safe_mode off - remove open_basedir - disable_functions symlink, unlin

Re: [PHP-DEV] Re: Performance problem with php

2010-07-13 Thread Johannes Schlüter
On Tue, 2010-07-13 at 15:11 +0200, Vincenzo D'Amore wrote: > thank you for reading my posts, *could anybody help me to > understand why realpath cache is disabled if safe_mode or open_basedir are > set?* For security reasons. Assume the following (simplified) code: and suddenly you've bypassed

Re: [PHP-DEV] Re: Performance problem with php

2010-07-13 Thread Vincenzo D'Amore
Hi, thank you for reading my posts, *could anybody help me to understand why realpath cache is disabled if safe_mode or open_basedir are set?* Or must I remove safe_mode and open_basedir setting at all? Is there a document that describe a best practice to follow this way (for example a list of PH

Re: [PHP-DEV] Re: Performance problem with php

2010-07-13 Thread Pierre Joye
hi, Please do not double posts both in the bug report and here. Or it will be a pain to follow. Cheers, On Tue, Jul 13, 2010 at 11:08 AM, Vincenzo D'Amore wrote: > Hello All, > > could anybody explain me why if safe_mode or open_basedir are set, realpath > cache is disabled? > > Looking at sour