criess
New Pleskian
Hi folks,
This is my first post with this forum, so if there is any forum rules i may violate please excuse.
My system is Centos7/EL7 with Plesk v 17.0.17-cos7.build1700161028.14
I try to build a non-plesk-managed webpage hosting infrastructure beside my regular plesk sites (managed through webgui on http://<server>:8443/). The plesk functionalities should not be regarded in this post with exception for suexec binary.
Now I stumbled across an issue with suexec I am not able to solve, because of the lack of documentation on the special suexec binary by plesk.
If set to:
It works but wrong php-cgi binary is started.
If i want to bring my own binary like so:
suexec starts to complain that command is not in docroot:
Seems odd to me as the script is located in the same directory as cgi_wrapper is, which worked fine.
Normally now i try to check suexec configuration and install my cgi binaries accordingly.
This would be done with
But here plesk suexec doesn't display any information. So i can't move my cgi binary correct or set different owner/rights.
So what should I do now? If i revert to my system suexec (from http rpm package) plesk installer will break suexec again on update or not?
I need a solution to have custom build cgi binaries in custom built vhost config targeting fastcgi operation together with working suexec.
Please help!
Regards, Christoph Rieß
This is my first post with this forum, so if there is any forum rules i may violate please excuse.
My system is Centos7/EL7 with Plesk v 17.0.17-cos7.build1700161028.14
I try to build a non-plesk-managed webpage hosting infrastructure beside my regular plesk sites (managed through webgui on http://<server>:8443/). The plesk functionalities should not be regarded in this post with exception for suexec binary.
Now I stumbled across an issue with suexec I am not able to solve, because of the lack of documentation on the special suexec binary by plesk.
If set to:
Code:
<VirtualHost *:3010>
[...]
FCGIWrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper .php
[...]
</VirtualHost>
It works but wrong php-cgi binary is started.
If i want to bring my own binary like so:
Code:
<VirtualHost *:3010>
[...]
FCGIWrapper /var/www/cgi-bin/cgi_wrapper/php7 .php
[...]
</VirtualHost>
suexec starts to complain that command is not in docroot:
Code:
/var/log/httpd/suexec_log
[...]
[2017-04-26 01:08:00]: uid: (1000/criess) gid: (1008/1008) cmd: php7
[2017-04-26 01:08:00]: command php7 not in docroot (1000)
Seems odd to me as the script is located in the same directory as cgi_wrapper is, which worked fine.
Normally now i try to check suexec configuration and install my cgi binaries accordingly.
This would be done with
Code:
/usr/sbin/suexec -V
But here plesk suexec doesn't display any information. So i can't move my cgi binary correct or set different owner/rights.
So what should I do now? If i revert to my system suexec (from http rpm package) plesk installer will break suexec again on update or not?
I need a solution to have custom build cgi binaries in custom built vhost config targeting fastcgi operation together with working suexec.
Please help!
Regards, Christoph Rieß