Hi all,
Trying to install a cardav plugin. using the composer phar install process.
Edited the config.inc.php and the composer.json to include the cardav plugin
firing up the composer phar installer I get the following error right off the bat.
[ErrorException]
php_uname() has been disabled for security reasons
I have looked into the /etc/php/7.0/apache2/php.ini file for any clues to this php_uname string, but, alas, no avail.
Any ideas would be a great help.
This is for a 16.04LTS Ubuntu LAMP stack running postfix/dovecot/roundcube 1.2.0/php7
Regards
It sounds like php_uname is in your disable_functions line in your php.ini. You'll need to remove it in order to use Composer.
you said you looked in /etc/php/7.0/apache2/php.ini but since composer is run from the command line shouldn't it be /etc/php/7.0/cli/php.ini or something like that?
Quote from: JohnDoh on November 29, 2016, 01:18:46 PM
you said you looked in /etc/php/7.0/apache2/php.ini but since composer is run from the command line shouldn't it be /etc/php/7.0/cli/php.ini or something like that?
Great, thank you for that, composer just lit right up!! Was always looking at the apache2 ini file, never even dawned on me I was in the wrong one......
Thanks a million, cardav plugin, here I come............
Regards
Hi Just a heads up
php -d "disable_functions=" /path/to/composer.phar install
to temporarily avoid loading php.ini functions during composer install
Regards