502 gateway error perfect nginx Wheezy

Discussion in 'HOWTO-Related Questions' started by conductive, Jul 17, 2013.

  1. conductive

    conductive Member HowtoForge Supporter

    I upgraded a minimal squeeze to Wheezy on a vps and performed the installation.
    http://www.howtoforge.com/perfect-server-debian-wheezy-nginx-bind-dovecot-ispconfig-3

    All seemed to be Ok until 12.1
    How To Use Multiple PHP Versions (PHP-FPM & FastCGI) With ISPConfig 3 (Debian Wheezy)
    http://www.howtoforge.com/how-to-us...pm-and-fastcgi-with-ispconfig-3-debian-wheezy

    cp ioncube/ioncube_loader_lin_5.3.so /opt/phpfcgi-5.3.22/lib/php/extensions/no-debug-non-zts-20090626/ioncube.so

    It was not found. This happened in the next installation section too.

    Ispconfig installer came back with
    PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/memcached.so' - /usr/lib/php5/20100525/memcached.so: undefined symbol: memcached_server_micro_version in Unknown on line 0 and system mail/cron reports the same.

    server1.example.com comes up OK. Phpmyadmin is not able to connect and squirrelmail just shows a ngix page.

    https://server1.example.com:8080 produces a 502 gateway error

    Nginx log
    2013/07/16 23:37:49 [crit] 32178#0: *24 connect() to unix:/var/lib/php5-fpm/ispconfig.sock failed (2: No such file or directory) while connecting to upstream, client: xx.xx.xx.xx, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php5-fpm/ispconfig.sock:", host: "server1.example.com:8080"
    BUT THE FILE IS THERE.

    Does anybody know what is going on? This is the second time I loaded this server and feel that there may be a library, https or other problems. I am sure the memcache seems like it could be straight forward but I am not sure.

    Is this fixable or should I just stick with Apache?
     
  2. conductive

    conductive Member HowtoForge Supporter

    Installed an Apache perfect server and skipped the multiple PHP section.

    Do I dare try the multiple PHP versions or iis that a sure death?
     
  3. conductive

    conductive Member HowtoForge Supporter

    Did anybody get the multiple PHP versions to work on Wheezy or Squeeze?
     

Share This Page