Custom php.ini and suPHP

Discussion in 'Installation/Configuration' started by pititis, May 23, 2011.

  1. pititis

    pititis Member


    I can set customs values in a custom php.ini file using CGI + suPHP but in the manual (chapter we found something diferent.

    I own the v1.1 of the manual. Manual or ispconfig issue??

  2. till

    till Super Moderator

    You can use custom php.ini settings for php-cgi, php-fcgi and suphp. Only mod_php does not support this. Thats also described in the manul like this:

    Quote from the manual:

  3. pititis

    pititis Member

    But I don't use the settings field in options, thats I mean till.
  4. till

    till Super Moderator

    Then you should use it, as thats the way to set custom php.ini settings on a ISPConfig server. ISPConfig creates the custom php.ini file automatically.
  5. pititis

    pititis Member

    ok but what about clients? They can override defaults setting in this way without the admin control

  6. till

    till Super Moderator

    No. The simple reason is that if it would be allowed to your clients to create a custom php.ini, then they would be able to disavble php security functions.
  7. pititis

    pititis Member

    Sure Till, for this reason I have posted this issue, as normal web user I have created a php.ini and changed the "post_max_size" setting!
  8. till

    till Super Moderator

    And where have you created that file? Maybe you have a php extension installed or enabled that loads these files automatically, as far as I know, there is such a function available since php 5.3.
  9. pititis

    pititis Member



    a php extension... :cool: I will investigate...
  10. efrog

    efrog New Member

    Interesting... I could not find this path...

    Not sure that I'm posting this is the right place... I modified my post_max_size in ISPconfig but it doesn't seem to take effect?

    Server reboots n all :)

    Is there something that could over-ride a user's ISP's php.ini additions?

Share This Page