php-fpm show script instead of execute them

50 views
Skip to first unread message

Stéphane

unread,
May 22, 2019, 12:07:49 PM5/22/19
to highload-php-en
Hi,

I'm installing sympa 6.2.42 on a ubuntu server 18.04 with php 7.2 and fpm and apache 2.4.29 (installed with official packages)


My virtual host under apache should normally run a fcgi script with fpm.


The problem is that my script is displayed in clear on my web page. The fcgi is therefore not executed, just displayed.


No errors in the logs (fpm/apache/syslog) and fpm/apache/sympa service is running normaly.


This is my virtual host:


...
<Location
/sympa> SetHandler "proxy:unix:/var/run/php/php7.2-fpm.sock|fcgi://" Require all granted </Location> ScriptAlias /sympa /appli/sympa/lib/sympa/cgi/wwsympa-wrapper.fcgi
...


The output is the content of the wwsympa-wrapper.fcgi. wwsympa-wrapper is not execute.


Does anyone see where my problem comes from?

Thank you in advance,
Stéphane


Reply all
Reply to author
Forward
0 new messages