Page 1 of 1

[Resolved] Site info

Posted: Mon Apr 15, 2013 3:53 pm
by musicscore
I'm testing a new hoster. When I install CMSMS 1.11.5 and view System Info I see the following line :

Code: Select all

disable_functions in PHP (disable_functions)

system, system_exec, shell, shell_exec, exec, passthru, escapeshellarg, escapeshellcmd, proc_close, proc_open , ini_alter, popen, show_source, enable _dl, dl	 
Can anyone tell me if all these functions are disabled and if yes, how I can set them as needed for CMSMS.

TIA,

Musicscore

Re: Site info

Posted: Mon Apr 15, 2013 6:13 pm
by calguy1000
Most ISP's disable some functions by default (such as the shell_exec, exec, etc) functions for security reasons.

The functions your ISP has disabled should not cause you any problems with the CMSMS core. You may have problems when activating debug mode to see errors etc.

The other functions will only effect some modules that try to run commands on the server itself (like to create mysql dumps etc).

Re: Site info

Posted: Mon Apr 15, 2013 7:02 pm
by andriesinfoserv
Is there an official list of functions required by core? Perhaps an interface for modules to use in system info to report missing php/other deps? If i'm serving cmsms sites exclusively on a server, i'd like to be able to disable everything not required and i've not seen this info anywhere, though the offical docs are coming along nicely.

Re: Site info

Posted: Sat Apr 20, 2013 3:59 pm
by musicscore
Is it possible to set the CMSMS correct setting via .htaccess of config.php

Re: Site info

Posted: Sat Apr 20, 2013 6:13 pm
by andriesinfoserv
@musicscore: I'm not sure i understand your question but i'll take a shot anyways. those php functions are enabled or disabled in the php.ini file on your server. They are independent of apache and cmsms. you may or may not have access to this file, but it is a directory level above public_html if you do. you can comment out the "disable_functions" line if you wanted to test whether it's causing you problems or not. FYI, in System Info section of cmsms it will report any disabled functions whether they are causing any problems or not.

Re: Site info

Posted: Sun Apr 21, 2013 9:12 am
by musicscore
Thank you andriesinfoserv

This is the answer I was looking for. Now I understand what it means.

Re: [Resolved] Site info

Posted: Sun Apr 21, 2013 7:12 pm
by andriesinfoserv
You're welcome.