CyberHosting

Comments

  • ssh under root


    # remove noexec flag from temp dir
    mount -o remount,exec /var/tmp/

    yum install make gcc glibc-devel zlib-devel re2c

    yum install lsphp72-devel
    /usr/local/lsws/lsphp72/bin/pecl install xdebug
    chmod 755 /usr/local/lsws/lsphp72/lib64/php/modules/xdebug.so

    yum install lsphp73-devel
    /usr/local/lsws/lsphp73/bin/pecl install xdebug
    chmod 755 /usr/local/lsws/lsphp73/lib64/php/modules/xdebug.so

    #set flag back
    mount -o remount,noexec /var/tmp/

    open cyberpanel go to SERVER-> PHP -> Edit configs and select advanced
    find section "Dynamic Extensions" add

    extension = xdebug.so

    in php72, 73 configs

Sign In or Register to comment.
CyberHosting CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!