Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : suphp required



Threaded Mode | Print  

 suphp required, disable suphp requirement for selective apps (3 Replies, Read 2472 times)
globvill
Group: NOC
Post Group: Newbie
Posts: 11
Status:
Hello,

I tried to install ownCloud on a server with PHP installed as Apache module. Softaculous refuses the installation and states that suphp would be required for this app. As this server uses mpm-itk there is no need for suphp (suphp even does not work together with a virtualhost using mpm-itk). Is there any way to disable the suphp check? If not could you please give an example how to fake the suphp check result by using an app hook? Changing the PHP version works like
define('php_version', '5.3.1');
but which variable is for the suphp check?

btw suphp file permissions are set - see screenshot

Thanks in advance.


Edited by globvill : September 15, 2013, 7:47 pm
IP: --   

suphp required
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5647
Status:
Hi,

You will need to change the "CHMOD Files" to 0644 and "CHMOD Directory" to 0755, then you should be able to install Owncloud. However this will set the permissions to the ones which are set so you might have to change the permissions manually after installing Owncloud to suit your environment.

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

suphp required
globvill
Group: NOC
Post Group: Newbie
Posts: 11
Status:
Quote From : Brijesh September 16, 2013, 5:54 am
You will need to change the "CHMOD Files" to 0644 and "CHMOD Directory" to 0755, then you should be able to install Owncloud. However this will set the permissions to the ones which are set so you might have to change the permissions manually after installing Owncloud to suit your environment.


Hi Brijesh,

thanks for your reply. Unfortunately this is not a good working workaround since regular users neither can change the permissions in the admin panel nor want to care about file permissions after installation.
Could you please check whether there is a way to disable the suphp check globally in Softaculous or (if not possible) disable the check with a pre_install hook?
If both is not possible it would be great if you keep this as a feature requests for server admins who know how to handle PHP without suphp (I guess the guys using FastCGI will have the same problem).



Edited by globvill : September 17, 2013, 8:31 am
IP: --   

suphp required
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5647
Status:
Hi,

Sir we have disabled OwnCloud on suPHP because OwnCloud requires the data directory writeable so when we are on non suphp server the permissions required will be 0777 but when we provide the permissions as 0777 OwnCloud does not work stating that the permissions are insecure. It requires permission to be 0770 which in case of non-suphp servers is not writeable and once we change the permissions to 0770 it triggers the warning that the directory is not writeable.

-----------------------
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 23, 2024, 10:04 am.

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