我担心是否有可能从php-fpm中的ppa:ondrej / php存储库安装php-5.6。目前,我正在使用一个从源代码构建php的教程:https://www.howtoforge.com/tutorial/how-to-install-php-5-6-on-ubuntu-16-04/
如何使用ppa中的php-5.6设置类似的配置:ondrej / php?
答案 0 :(得分:0)
好的,这个问题是由ahrasis回答的,在这里:https://www.howtoforge.com/community/threads/install-intl-php-7-1-extension-in-a-php-multiple-version-server.75406/#post-356624
对于FastCGI,添加如下内容:
Path to the PHP FastCGI binary = /usr/bin/php-cgi5.6
Path to the php.ini directory = /etc/php/5.6/cgi
对于> PHP-FPM
Path to the PHP-FPM init script = /etc/init.d/php5.6-fpm
Path to the php.ini directory = /etc/php/5.6/fpm
Path to the PHP-FPM pool directory = /etc/php/5.6/fpm/pool.d