How to change PHP version

Just tried to change to PHP7.3, didn't immediately work, had to alternate between modify website and/or changing PHP on the website page.

Now trying to change back to 7.2, but doesn't seem to work

Comments

  • Paste your vHost conf, please.
  • edited December 2018
    docRoot $VH_ROOT/public_html
    vhDomain $VH_NAME
    vhAliases www.$VH_NAME
    adminEmails [email protected]
    enableGzip 1
    enableIpGeo 1

    index {
    useServer 0
    indexFiles index.php, index.html
    }

    errorlog $VH_ROOT/logs/$VH_NAME.error_log {
    useServer 0
    logLevel ERROR
    rollingSize 10M
    }

    accesslog $VH_ROOT/logs/$VH_NAME.access_log {
    useServer 0
    logFormat "%v %h %l %u %t "%r" %>s %b"
    logHeaders 5
    rollingSize 10M
    keepDays 10 compressArchive 1
    }

    scripthandler {
    add lsapi:xxxxx php
    }

    extprocessor xxxxxxx {
    type lsapi
    address UDS://tmp/lshttpd/xxxxxx.sock
    maxConns 10
    env LSAPI_CHILDREN=10
    initTimeout 600
    retryTimeout 0
    persistConn 1
    pcKeepAliveTimeout 1
    respBuffer 0
    autoStart 1
    path /usr/local/lsws/lsphp72/bin/lsphp
    extUser xxxxxxx
    extGroup xxxxxxx
    memSoftLimit 2047M
    memHardLimit 2047M
    procSoftLimit 400
    procHardLimit 500
    }
    context /.filemanager {
    location /usr/local/lsws/Example/html/FileManager
    allowBrowse 1
    autoIndex 1

    accessControl {
    allow 127.0.0.1, localhost
    deny 0.0.0.0/0
    }
    rewrite {
    enable 0

    }
    phpIniOverride {
    php_value display_errors "Off"
    php_value upload_max_filesize "200M"
    php_value post_max_size "250M"
    }
    addDefaultCharset off
    }
    phpIniOverride {
    }

    rewrite {
    enable 1
    autoLoadHtaccess 1
    }

    vhssl {
    keyFile /etc/letsencrypt/live/xxxxx.domain/privkey.pem
    certFile /etc/letsencrypt/live/xxxxx.domain/fullchain.pem
    certChain 1
    sslProtocol 30
    }
  • The path seems fine, what's in the web server error logs?
  • 2018-12-26 22:48:41.734057 [NOTICE] [XXX.XX.XXX.XXXX:11534] No request delivery notification has been received from LSAPI application, possible dead lock.
Sign In or Register to comment.
Support CyberPanel CyberPanel Discord

Howdy, Stranger!

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