Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : How disable "check_suphp.php"'s call



Threaded Mode | Print  

 How disable "check_suphp.php"'s call, I don't need suPHP, I'm using already something else (PHP-FPM) (5 Replies, Read 1675 times)
franceserv
Group: Member
Post Group: Newbie
Posts: 21
Status:
Hello,
I'm using Softaculous Enterprise with API since several months and all was working perfectly. Softaculous Enterprise is located on a second machine.

I disabled suPHP on my primary Web Server because it's less secure than PHP-FPM which is chrooted by Pool. I can't install back suPHP because it's useless, old and could be a security fail and bypass the chroot of PHP-FPM. My users are not limited inside their chroot folder.

The problem now is when I install something like Nextcloud or Owncloud, I can see Softaculous made at the end of install, an HTTP query at :  ["GET /check_suphp.php HTTP/1.1" 200] and Softaculous remove all what he did previously ...
A PHP script (with engine likes PHP-FPM, mod, fcgid etc ... no matter the engine) can do what we ask to do, likes chmod() etc ...). So why do I need "suPHP" particularly ?
During the installation, I can see in folder the installation progress and all perms are correct. Then at the end, Softaculous call check_suphp.php and remove all what he did before.
How could I disable this check, as all the permissions are already correctly set by ACL user on the main Web Server ?
Thank you for your response.
IP: --   

How disable "check_suphp.php"'s call
franceserv
Group: Member
Post Group: Newbie
Posts: 21
Status:
Oh I got quickly the content of the script "check_suphp.php" before it's deleted and the folder are not correct because Softaculoud don't know about the chroot change folder.
I will check the API documentation how to provide the correct folder, I hope it's possible.
IP: --   

How disable "check_suphp.php"'s call
franceserv
Group: Member
Post Group: Newbie
Posts: 21
Status:
The problem is this one :
I Install Nextcloud into this folder, thrown NFS :/home/ftp/test/www/test20210922.franceserv.com/

But inside the script check_suphp.php (and probably others) generated by Softaculous, I have this path :/home/ftp/test/www/test20210922.franceserv.com/***.php
Whereas I need this folder (because PHP is chrooted) :
/www/test20210922.franceserv.com/***.php
I tried with "replace_path" on the "adddomain" API call like this :'replace_path' => '/www/test20210922.franceserv.com',

But inside "check_suphp.php" I still have this wrong path :
/home/ftp/test/www/test20210922.franceserv.com/***.php
How could I solve this problem with the API, please ?
IP: --   

How disable "check_suphp.php"'s call
franceserv
Group: Member
Post Group: Newbie
Posts: 21
Status:
I found a way to process differently with a symbolic link to fake the chroot folder into the NFS Client of Softaculous.
But it could be great to do it with the API Call :)
IP: --   

How disable "check_suphp.php"'s call
franceserv
Group: Member
Post Group: Newbie
Posts: 21
Status:
But now, I have this error message : "Could not encrypt admin password because the domain is not pointing to the correct server" ...
I will open a ticket.
IP: --   

How disable "check_suphp.php"'s call
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5652
Status:
Hi,

Sorry for the delay in response.

As per our discussion over support ticket we have made some changes to the Nextcloud or Owncloud to fix the suPHP check error due to incorrect path.

We are working on the next issue you are facing and once the issue is resolved we will be releasing the updated package of Nextcloud or Owncloud asap.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 26, 2024, 8:48 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.026