Open Carsak opened 7 years ago
via ssh in terminal I run command
sudo apt-get update
Then re-added mbstring in config.yaml
php:
install: '1'
settings:
version: '5.6'
modules:
php:
- cli
- intl
- xml
- mbstring
pear: { }
pecl: { }
ini:
Then run vagrant provision again. Mbstring installedd successfuly
==> machine1: Info: /Stage[main]/Puphpet::Mariadb::Php/Puphpet::Php::Module::Package[mysqlnd]/Php::Module[mysqlnd]/Package[PhpModule_mysqlnd]: Scheduling refresh of Service[php5.6-fpm]
==> machine1: Notice: /Stage[main]/Puphpet::Php::Modules/Puphpet::Php::Module::Package[mbstring]/Php::Module[mbstring]/Package[PhpModule_mbstring]/ensure: created
==> machine1: Info: /Stage[main]/Puphpet::Php::Modules/Puphpet::Php::Module::Package[mbstring]/Php::Module[mbstring]/Package[PhpModule_mbstring]: Scheduling refresh of Service[php5.6-fpm]
==> machine1: Info: Puphpet::Php::Module::Package[mbstring]: Scheduling refresh of Service[php5.6-fpm]
==> machine1: Notice: /Stage[main]/Puphpet::Php::Install/Service[php5.6-fpm]: Triggered 'refresh' from 4 events
==> machine1: Notice: Applied catalog in 42.14 seconds
==> machine1: Running provisioner: shell...
[04:48 AM]-[vagrant@machine1]-[~]
$ php --ini
Configuration File (php.ini) Path: /etc/php/5.6/cli
Loaded Configuration File: /etc/php/5.6/cli/php.ini
Scan for additional .ini files in: /etc/php/5.6/cli/conf.d
Additional .ini files parsed: /etc/php/5.6/cli/conf.d/10-mysqlnd.ini,
/etc/php/5.6/cli/conf.d/10-opcache.ini,
/etc/php/5.6/cli/conf.d/10-pdo.ini,
/etc/php/5.6/cli/conf.d/15-xml.ini,
/etc/php/5.6/cli/conf.d/20-calendar.ini,
/etc/php/5.6/cli/conf.d/20-ctype.ini,
/etc/php/5.6/cli/conf.d/20-dom.ini,
/etc/php/5.6/cli/conf.d/20-exif.ini,
/etc/php/5.6/cli/conf.d/20-fileinfo.ini,
/etc/php/5.6/cli/conf.d/20-ftp.ini,
/etc/php/5.6/cli/conf.d/20-gettext.ini,
/etc/php/5.6/cli/conf.d/20-iconv.ini,
/etc/php/5.6/cli/conf.d/20-intl.ini,
/etc/php/5.6/cli/conf.d/20-json.ini,
/etc/php/5.6/cli/conf.d/20-mbstring.ini,
/etc/php/5.6/cli/conf.d/20-mysql.ini,
/etc/php/5.6/cli/conf.d/20-mysqli.ini,
/etc/php/5.6/cli/conf.d/20-pdo_mysql.ini,
/etc/php/5.6/cli/conf.d/20-phar.ini,
/etc/php/5.6/cli/conf.d/20-posix.ini,
/etc/php/5.6/cli/conf.d/20-readline.ini,
/etc/php/5.6/cli/conf.d/20-shmop.ini,
/etc/php/5.6/cli/conf.d/20-simplexml.ini,
/etc/php/5.6/cli/conf.d/20-sockets.ini,
/etc/php/5.6/cli/conf.d/20-sysvmsg.ini,
/etc/php/5.6/cli/conf.d/20-sysvsem.ini,
/etc/php/5.6/cli/conf.d/20-sysvshm.ini,
/etc/php/5.6/cli/conf.d/20-tokenizer.ini,
/etc/php/5.6/cli/conf.d/20-wddx.ini,
/etc/php/5.6/cli/conf.d/20-xdebug.ini,
/etc/php/5.6/cli/conf.d/20-xmlreader.ini,
/etc/php/5.6/cli/conf.d/20-xmlwriter.ini,
/etc/php/5.6/cli/conf.d/20-xsl.ini,
/etc/php/5.6/cli/conf.d/99-xdebug.ini,
/etc/php/5.6/cli/conf.d/zzzz_custom.ini
mbsting not installed on Ubuntu Xenial 16.04 LTS x64 by default I tried manually add to config.yaml, but got this error
I tried install manually in terminal sudo apt-get install php5.6-mbstring
but got this error
My config file
Attached config config.zip