Hi,
i have a problem. after upgrade my Server (different Servers) the php-fpm dont serve the php files (12.5.30 Update #27, zuletzt aktualisiert: 29. März 2016 01:18:29).
the browser would download the php files as text.
i have nothing changed in my config.
i compare old config from plesk with the new one and found this
OLD:
NEW:
why this changed?
br
lars
i have a problem. after upgrade my Server (different Servers) the php-fpm dont serve the php files (12.5.30 Update #27, zuletzt aktualisiert: 29. März 2016 01:18:29).
the browser would download the php files as text.
i have nothing changed in my config.
i compare old config from plesk with the new one and found this
OLD:
Code:
<IfModule mod_proxy_fcgi.c>
ProxyPassMatch ^/(.*\.php(/.*)?)$ unix:///var/www/vhosts/system/myservername/php-fpm.sock|fcgi://127.0.0.1:9000/var/www/vhosts/myservername/httpdocs
</IfModule>
NEW:
Code:
<IfModule mod_proxy_fcgi.c>
<Files ~ (\.php$)>
SetHandler proxy:unix:///var/www/vhosts/system/myservername/php-fpm.sock|fcgi://127.0.0.1:9000
</Files>
</IfModule>
why this changed?
br
lars
Last edited: