perusio / drupal-with-nginx

Running Drupal using nginx: an idiosyncratically crafted bleeding edge configuration.
855 stars 246 forks source link

[Solved] upgrading to PHP7.1 (alongside 5.x) on Ubuntu 12.04 LTS #265

Closed luxpir closed 7 years ago

luxpir commented 7 years ago

Just adding this as a closed issue to help anyone else upgrading to the swanky new PHP7.1 and to save them from wasting any more of the sum total of human existence on this non-issue:

    #server unix:/var/run/php5-fpm.sock;
    server unix:/var/run/php/php7.1-fpm.sock;

Note the new location path. Mod the ini file at /etc/php/7.1/fpm/php.ini to match your previous setup. Note there is no mysql section anymore, the mysqli handles that now.

I think that's all I did. Site's working now, running very smoothly. I didn't benchmark it, but switching back to php5.x is easy enough, as you can see above.

Hope that saves someone from wasted time!

EDIT: Added XML, which was required by awssdk and bcmath/mbstring, both requested on the status page.