Viewing 1 replies (of 1 total)
  • Plugin Author andrewbevitt

    (@andrewbevitt)

    Unfortunately this means you’re either:

    1. not running uWSGI with the built-in PHP interpreter; or
    2. are running a very old version of uWSGI.

    You also need this: https://github.com/unbit/uwsgi/pull/660

    https://uwsgi-docs.readthedocs.org/en/latest/PHP.html#uwsgi-api-support

    Here is an example:

    cat /etc/uwsgi/apps-available/wordpress-blog.ini
    [uwsgi]
    uid = www-data
    gid = www-data
    chown-socket = www-data
    plugins = php,cache
    php-sapi-name = apache
    php-docroot = /srv/www/example.com/public_html
    php-allowed-ext = .php
    php-index = index.php
    php-set = date.timezone=Australia/Sydney
    processes = 25
    cheaper = 5
    cache2 = name=uwsgi_c1,items=1024,blocksize=4096,bitmap=1,purge_lru=1
    stats = :7500

    and

    cat /srv/www/example.com/public_html/wp-config.php | grep UWSGI
    define( 'UWSGI_CACHE', 'uwsgi_c1' );
    $batcache = array('group'=>UWSGI_CACHE, 'remote'=>1);
Viewing 1 replies (of 1 total)
  • The topic ‘fatal error’ is closed to new replies.