Results 1 to 4 of 4

Thread: How to customize ""./build secure_php" ?

  1. #1
    Join Date
    Jan 2017
    Posts
    6

    How to customize ""./build secure_php" ?

    Hi everybody,
    How to customize "./build secure_php" ?
    I want to customize disable_functions in php.ini whenever "./build secure_php" overwrite php.ini
    Regards

  2. #2
    Join Date
    Jul 2008
    Location
    Maastricht
    Posts
    4,097
    Why should you do ./build secure_php every time?
    You just need to do this once, then a secure php.ini is created.
    Then you edit the /usr/local/lib/php.ini file, change your disable_functions in whatever you want it, save the file and restart apache and you're done.

    If you need any changes later on, you change that file again and restart apache. There is no need to do a ./build secure_php multiple times.
    Greetings, Richard.

  3. #3
    Join Date
    Jan 2017
    Posts
    6
    Every time I update custombuild, it done automatically.

  4. #4
    Join Date
    Jul 2008
    Location
    Maastricht
    Posts
    4,097
    In the /usr/local/directadmin/custombuild/options.conf file, maybe you have:
    php_ini=yes
    and
    secure_php=yes

    You can set those to "no", since you already have a good php.ini so a secure php.
    I don't work with the plugin so I only know how to change this via console.
    Either edit the file, save it and do a ./build update or:
    cd /usr/local/directadmin/custombuild
    ./build set php_ini no
    ./build set secure_php no
    ./build update

    And it should stop updating.
    Greetings, Richard.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •