Hi,
i’ve got huge problem to make fresh installation of SuiteCRM 7.9.1 on my hosting.
After accepting Terms i get this errors:
Warning: exec() has been disabled for security reasons in /www/antena_www/www/klienci.sklepantena.pl/include/utils.php on line 413
Fatal error: Uncaught Error: Call to undefined function posix_getpwuid() in /www/antena_www/www/klienci.sklepantena.pl/include/utils.php:420 Stack trace: #0 /www/antena_www/www/klienci.sklepantena.pl/install/ready.php(284): getRunningUser() #1 /www/antena_www/www/klienci.sklepantena.pl/install.php(798): require('/www/antena_www...') #2 {main} thrown in /www/antena_www/www/klienci.sklepantena.pl/include/utils.php on line 420
in install.log i get this:
2017-06-21 10:38:20...Begin System Check Process *************
2017-06-21 10:38:20...XML Parsing Support Found
2017-06-21 10:38:20...MBString Support Found
2017-06-21 10:38:20...ZIP Support Found
2017-06-21 10:38:20.../custom directory and subdirectory check passed
2017-06-21 10:38:20...cache directory and subdirectory check passed
2017-06-21 10:38:21.../module directory and subdirectory check passed
2017-06-21 10:38:21.../upload directory check passed
2017-06-21 10:38:21.../zip check passed
2017-06-21 10:38:21...PCRE version check passed
2017-06-21 10:38:21...installerHook: Could not find custom/install/install_hooks.php
2017-06-21 10:38:21...php.ini location found. /chroot/php-7.0/lib/php-cgi-fcgi.ini
2017-06-21 10:38:21...Outputting HTML for System check
2017-06-21 10:38:21...No Errors were found *************
2017-06-21 10:38:21...installerHook: Could not find custom/install/install_hooks.php
Thank you for trying help me,
here is phpinfo for this account on server: phpinfo.php
Changing to 5.6 didn’t helped to me.
Still getting this errors:
Warning: exec() has been disabled for security reasons in /www/antena_www/www/klienci.sklepantena.pl/include/utils.php on line 413
Fatal error: Call to undefined function posix_getpwuid() in /www/antena_www/www/klienci.sklepantena.pl/include/utils.php on line 420
You have “exec” disabled in disable_functions. Actually SuiteCRM is prepared for this event and tries a second technique (posix_getpwuid) to learn the name of the user running the web server.
But you also have posix disabled with a ‘–disable-posix’ configuration.
So try to tweak your PHP to make this possible, or ask your hosting to do it. I understand why they would disable exec (runs any command on a shell), but not posix_getpwuid (only reads information, without changing anything).