Join the community today
Register Now

Xenforo Custom error message won't replace XenForo's

Discussion in 'Forum software usage' started by BobbyWibowo, Dec 22, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    44,743
    10,200
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,809
    Local Time:
    6:48 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    easiest way to fix all, have separate copies of php.conf for http and https vhosts :)

    make copy of php.php named as /usr/local/nginx/conf/php-http.conf and /usr/local/nginx/conf/php-https.conf which would escape auto update and remain how you set them
    Code (Text):
    \cp -f /usr/local/nginx/conf/php.conf /usr/local/nginx/conf/php-http.conf
    \cp -f /usr/local/nginx/conf/php.conf /usr/local/nginx/conf/php-https.conf
    

    then use those files as include files in respective http and https vhosts in place of /usr/local/nginx/conf/php.conf
     
  2. BobbyWibowo

    BobbyWibowo Active Member

    196
    41
    28
    Jul 30, 2015
    Indonesia
    Ratings:
    +70
    Local Time:
    3:48 PM
    1.17.x
    10.3.x
    I see, that sounds good. Then, is there any Linux command to compare files? So that I can see whatever changes occurred to php.conf whenever I feel like checking it after PHP update.
     
  3. eva2000

    eva2000 Administrator Staff Member

    44,743
    10,200
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,809
    Local Time:
    6:48 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x