Join the community today
Become a Member

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

    58,916
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    4:43 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    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

    197
    42
    28
    Jul 30, 2015
    Indonesia
    Ratings:
    +71
    Local Time:
    1:43 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

    58,916
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    4:43 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+