ELFilemanager Temporal Solution
05-28-2024, 10:12 AM
(This post was last modified: 05-28-2024, 11:12 AM by franmm25.)
Test in Ubuntu :
The problem with this module is because snuffleupagus and his rules stop some functions, if use other php version this not happend.
The solution is install Filemanager (elFinder) inside /etc/sentora/panel/etc/apps/elFinder
Configurate and rename connector.minimal.php inside folder php of elFinder, with right paths to the public_html in /var/sentora, ...etc.
Also need modificate inside apache2 configuration file and put this code
Until you must use and install fpm, etc and dont use php 7.4.3 for running this Filemanager, by this is important change php version if use Sentora 2.01.
When you make this, you can access perfectly and run the Filemanager, other way is use subdomain, and configurate paths, but this solution can be integrate with simple iframe module inside CP.
Also could change rules for snuffleupagus, the problem is with php 7.4.3, because no longer uses suhosin.
Howewer from staff can tell us the best way for change these rules and works without problem in CP, but at the moment this solution works for me, you can download script from here :
https://studio-42.github.io/elFinder/#elf_l1_Lw
Regards
The problem with this module is because snuffleupagus and his rules stop some functions, if use other php version this not happend.
The solution is install Filemanager (elFinder) inside /etc/sentora/panel/etc/apps/elFinder
Configurate and rename connector.minimal.php inside folder php of elFinder, with right paths to the public_html in /var/sentora, ...etc.
Also need modificate inside apache2 configuration file and put this code
Code:
<IfModule mod_proxy_fcgi.c>
<Directory /etc/sentora/panel/etc/apps/elFinder>
<FilesMatch \.php$>
SetHandler "proxy:unix:/run/php/php5.6-fpm.sock|fcgi://localhost/"
</FilesMatch>
</Directory>
</IfModule>
Until you must use and install fpm, etc and dont use php 7.4.3 for running this Filemanager, by this is important change php version if use Sentora 2.01.
When you make this, you can access perfectly and run the Filemanager, other way is use subdomain, and configurate paths, but this solution can be integrate with simple iframe module inside CP.
Also could change rules for snuffleupagus, the problem is with php 7.4.3, because no longer uses suhosin.
Howewer from staff can tell us the best way for change these rules and works without problem in CP, but at the moment this solution works for me, you can download script from here :
https://studio-42.github.io/elFinder/#elf_l1_Lw
Regards