Results 1 to 2 of 2

Thread: PHP Selector changes doesn't take affect!

  1. #1
    Join Date
    Jan 2018
    Posts
    2

    Question PHP Selector changes doesn't take affect!

    Hello dear users.

    I have installed two version of PHP with :

    Code:
    #PHP Settings
    php1_release=5.6
    php1_mode=suphp
    php2_release=7.1
    php2_mode=suphp
    secure_php=yes
    opcache=no
    htscanner=no
    php_ini=yes
    php_timezone=Asia/Tehran
    php_ini_type=production
    ioncube=no
    zend=no
    suhosin=yes
    and I can see "PHP Selector" from "Domain setup" for each user but when I change it from 5.6 (default) to 7.1 (second) the changes doesn't affect and phpinfo() only show me "PHP Version 5.6.4" . is it a bug?

    In other hand in the "System information" I can't see "Php 7.1 Installed (php2)" but in my other server I can see it. (check attachment please)
    NOTE : I recently configure this server and before me some person configured it and I see he installed PHP 7.1 for some specific users but not set in "options.conf" so how can I completely delete previous PHP versions and just install through CB2 ?

    Image : https://imgur.com/a/4kMFcRT
    Image (Backup) : https://pasteboard.co/HYrOvtM.jpg

    My DA version : 1.51

    thanks in advance
    I'm looking forward for your answer?

  2. #2
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    13,044
    Hello,

    Does it fix it?

    Code:
    cd /usr/local/directadmin/custombuild
    ./build update
    ./build php
    Regards, Alex G.

    - You can hire me on www.poralix.com to work on your server
    - Follow and like @Poralix on Facebook

Posting Permissions

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