{"action":"closed","issue":{"url":"https://api.github.com/repos/puphpet/puphpet/issues/2208","repository_url":"https://api.github.com/repos/puphpet/puphpet","labels_url":"https://api.github.com/repos/puphpet/puphpet/issues/2208/labels{/name}","comments_url":"https://api.github.com/repos/puphpet/puphpet/issues/2208/comments","events_url":"https://api.github.com/repos/puphpet/puphpet/issues/2208/events","html_url":"https://github.com/puphpet/puphpet/issues/2208","id":138188463,"number":2208,"title":"Cannot install mbstring Ubuntu 14.04 PHP 5.6","user":{"login":"AydinHassan","id":2817002,"avatar_url":"https://avatars.githubusercontent.com/u/2817002?v=3","gravatar_id":"","url":"https://api.github.com/users/AydinHassan","html_url":"https://github.com/AydinHassan","followers_url":"https://api.github.com/users/AydinHassan/followers","following_url":"https://api.github.com/users/AydinHassan/following{/other_user}","gists_url":"https://api.github.com/users/AydinHassan/gists{/gist_id}","starred_url":"https://api.github.com/users/AydinHassan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AydinHassan/subscriptions","organizations_url":"https://api.github.com/users/AydinHassan/orgs","repos_url":"https://api.github.com/users/AydinHassan/repos","events_url":"https://api.github.com/users/AydinHassan/events{/privacy}","received_events_url":"https://api.github.com/users/AydinHassan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-03T14:12:23Z","updated_at":"2016-03-03T17:02:28Z","closed_at":"2016-03-03T17:02:28Z","body":"\r\n```\r\n//puphpet/puppet/modules/puphpet/manifests/php/module.pp:11\r\n'mbstring'  => false, # Comes packaged with PHP, not available in repos\r\n```\r\n\r\nI don't think this is true anymore for ondrej ppa :(\r\n\r\nRunning `sudo apt-get install php5.6-mbstring` manually on the box fixes the issue. \r\n\r\n**config.yaml**\r\n\r\n```\r\nvagrantfile:\r\n    target: local\r\n    vm:\r\n        provider:\r\n            local:\r\n                box: puphpet/ubuntu1404-x64\r\n                box_url: puphpet/ubuntu1404-x64\r\n                box_version: '0'\r\n                chosen_virtualizer: virtualbox\r\n                virtualizers:\r\n                    virtualbox:\r\n                        modifyvm:\r\n                            natdnshostresolver1: false\r\n                        showgui: 0\r\n                    vmware:\r\n                        numvcpus: 1\r\n                    parallels:\r\n                        use_linked_clone: 0\r\n                        check_guest_tools: 0\r\n                        update_guest_tools: 0\r\n                machines:\r\n                    vflm_0qtea69mcnpz:\r\n                        id: hft\r\n                        network:\r\n                            private_network: 192.168.56.101\r\n                            forwarded_port:\r\n                                vflmnfp_8l6fk3oo9c6y:\r\n                                    host: '6064'\r\n                                    guest: '22'\r\n                        hostname: hft.dev\r\n                        memory: '1024'\r\n                        cpus: '1'\r\n        provision:\r\n            puppet:\r\n                manifests_path: puphpet/puppet/manifests\r\n                module_path: puphpet/puppet/modules\r\n                options:\r\n                    - '--verbose'\r\n                    - '--hiera_config /vagrant/puphpet/puppet/hiera.yaml'\r\n        synced_folder:\r\n            vflsf_uo4qipdkv9fk:\r\n                source: ./\r\n                target: /var/www\r\n                sync_type: nfs\r\n                smb:\r\n                    smb_host: ''\r\n                    smb_username: ''\r\n                    smb_password: ''\r\n                    mount_options:\r\n                        dir_mode: '0775'\r\n                        file_mode: '0664'\r\n                rsync:\r\n                    args:\r\n                        - '--verbose'\r\n                        - '--archive'\r\n                        - '-z'\r\n                    exclude:\r\n                        - .vagrant/\r\n                        - .git/\r\n                    auto: 'true'\r\n                owner: www-data\r\n                group: www-data\r\n        usable_port_range:\r\n            start: 10200\r\n            stop: 10500\r\n        post_up_message: ''\r\n    ssh:\r\n        host: 'false'\r\n        port: 'false'\r\n        private_key_path: 'false'\r\n        username: vagrant\r\n        guest_port: 'false'\r\n        keep_alive: '1'\r\n        forward_agent: 'false'\r\n        forward_x11: 'false'\r\n        shell: 'bash -l'\r\n        insert_key: 'false'\r\n    vagrant:\r\n        host: detect\r\n    proxy:\r\n        http: ''\r\n        https: ''\r\n        ftp: ''\r\n        no_proxy: ''\r\n        enabled: ''\r\nserver:\r\n    install: '1'\r\n    packages:\r\n        - vim\r\n        - htop\r\n        - git\r\nusers_groups:\r\n    install: '1'\r\n    groups: {  }\r\n    users: {  }\r\nlocale:\r\n    install: '1'\r\n    settings:\r\n        default_locale: en_US.UTF-8\r\n        locales:\r\n            - en_GB.UTF-8\r\n            - en_US.UTF-8\r\n        timezone: UTC\r\nfirewall:\r\n    install: '1'\r\n    rules: {  }\r\ncron:\r\n    install: '1'\r\n    jobs: {  }\r\nnginx:\r\n    install: '0'\r\n    settings:\r\n        default_vhost: 1\r\n        proxy_buffer_size: 128k\r\n        proxy_buffers: '4 256k'\r\n        proxy_connect_timeout: 600s\r\n        proxy_send_timeout: 600s\r\n        proxy_read_timeout: 600s\r\n        names_hash_bucket_size: 128\r\n    upstreams: {  }\r\n    vhosts:\r\n        nxv_fhxz1qkahojd:\r\n            server_name: awesome.dev\r\n            server_aliases:\r\n                - www.awesome.dev\r\n            www_root: /var/www/awesome\r\n            listen_port: '80'\r\n            index_files:\r\n                - index.html\r\n                - index.htm\r\n                - index.php\r\n            client_max_body_size: 1m\r\n            ssl: '0'\r\n            ssl_cert: ''\r\n            ssl_key: ''\r\n            ssl_port: '443'\r\n            ssl_protocols: ''\r\n            ssl_ciphers: ''\r\n            rewrite_to_https: '1'\r\n            spdy: '1'\r\n            locations:\r\n                nxvl_04b3c1u9xo54:\r\n                    location: /\r\n                    autoindex: 'off'\r\n                    internal: 'false'\r\n                    try_files:\r\n                        - $uri\r\n                        - $uri/\r\n                        - /index.php$is_args$args\r\n                    fastcgi: ''\r\n                    fastcgi_index: ''\r\n                    fastcgi_split_path: ''\r\n                    proxy: ''\r\n                    proxy_redirect: ''\r\n                nxvl_z8mqolimr3ha:\r\n                    location: '~ \\.php$'\r\n                    autoindex: 'off'\r\n                    internal: 'false'\r\n                    try_files:\r\n                        - $uri\r\n                        - $uri/\r\n                        - /index.php$is_args$args\r\n                    fastcgi: '127.0.0.1:9000'\r\n                    fastcgi_index: index.php\r\n                    fastcgi_split_path: '^(.+\\.php)(/.*)$'\r\n                    fast_cgi_params_extra:\r\n                        - 'SCRIPT_FILENAME $request_filename'\r\n                        - 'APP_ENV dev'\r\n                    set:\r\n                        - '$path_info $fastcgi_path_info'\r\n                    proxy: ''\r\n                    proxy_redirect: ''\r\n    proxies: {  }\r\napache:\r\n    install: '1'\r\n    settings:\r\n        version: 2.4\r\n        user: www-data\r\n        group: www-data\r\n        default_vhost: true\r\n        manage_user: false\r\n        manage_group: false\r\n        sendfile: 0\r\n    modules:\r\n        - proxy_fcgi\r\n        - rewrite\r\n    vhosts:\r\n        av_uxhebf1i1ctc:\r\n            servername: hft.dev\r\n            serveraliases:\r\n                - www.hft.dev\r\n            docroot: /var/www/htdocs\r\n            port: '80'\r\n            setenv:\r\n                - 'APP_ENV dev'\r\n            setenvif:\r\n                - 'Authorization \"(.*)\" HTTP_AUTHORIZATION=$1'\r\n            custom_fragment: ''\r\n            ssl: '0'\r\n            ssl_cert: ''\r\n            ssl_key: ''\r\n            ssl_chain: ''\r\n            ssl_certs_dir: ''\r\n            ssl_protocol: ''\r\n            ssl_cipher: ''\r\n            directories:\r\n                avd_c4ievsyyqert:\r\n                    path: /var/www/htdocs\r\n                    options:\r\n                        - Indexes\r\n                        - FollowSymlinks\r\n                        - MultiViews\r\n                    allow_override:\r\n                        - All\r\n                    require:\r\n                        - 'all granted'\r\n                    custom_fragment: ''\r\n                    files_match:\r\n                        avdfm_i91i1mu60z6f:\r\n                            path: \\.php$\r\n                            sethandler: 'proxy:fcgi://127.0.0.1:9000'\r\n                            custom_fragment: ''\r\n                            provider: filesmatch\r\n                    provider: directory\r\nphp:\r\n    install: '1'\r\n    settings:\r\n        version: '56'\r\n    modules:\r\n        php:\r\n            - cli\r\n            - intl\r\n            - curl\r\n            - gd\r\n            - mbstring\r\n            - mcrypt\r\n            - mysql\r\n            - opcache\r\n            - xml\r\n\r\n        pear: {  }\r\n        pecl: {  }\r\n    ini:\r\n        display_errors: 'On'\r\n        error_reporting: '-1'\r\n        session.save_path: /var/lib/php/session\r\n        date.timezone: UTC\r\n    fpm_ini:\r\n        error_log: /var/log/php-fpm.log\r\n    fpm_pools:\r\n        phpfp_q6jbkats3pbk:\r\n            ini:\r\n                prefix: www\r\n                listen: '127.0.0.1:9000'\r\n                security.limit_extensions: .php\r\n                user: www-user\r\n                group: www-data\r\n    composer: '1'\r\n    composer_home: ''\r\nxdebug:\r\n    install: '1'\r\n    settings:\r\n        xdebug.default_enable: '1'\r\n        xdebug.remote_connect_back: '1'\r\n        xdebug.remote_enable: '1'\r\n        xdebug.remote_handler: dbgp\r\n        xdebug.remote_port: '9000'\r\n        xdebug.remote_autostart: '1'\r\nblackfire:\r\n    install: '0'\r\n    settings:\r\n        server_id: ''\r\n        server_token: ''\r\n        agent:\r\n            http_proxy: ''\r\n            https_proxy: ''\r\n            log_file: stderr\r\n            log_level: '1'\r\n        php:\r\n            agent_timeout: '0.25'\r\n            log_file: ''\r\n            log_level: '1'\r\nxhprof:\r\n    install: '0'\r\nwpcli:\r\n    install: '0'\r\n    version: v0.21.1\r\ndrush:\r\n    install: '0'\r\n    version: 6.3.0\r\nruby:\r\n    install: '1'\r\n    versions: {  }\r\npython:\r\n    install: '1'\r\n    packages: {  }\r\n    versions: {  }\r\nnodejs:\r\n    install: '0'\r\n    settings:\r\n        version: '5'\r\n    npm_packages: {  }\r\nhhvm:\r\n    install: '0'\r\n    nightly: 0\r\n    composer: '1'\r\n    composer_home: ''\r\n    settings: {  }\r\n    server_ini:\r\n        hhvm.server.host: 127.0.0.1\r\n        hhvm.server.port: '9000'\r\n        hhvm.log.use_log_file: '1'\r\n        hhvm.log.file: /var/log/hhvm/error.log\r\n    php_ini:\r\n        display_errors: 'On'\r\n        error_reporting: '-1'\r\n        date.timezone: UTC\r\nmariadb:\r\n    install: '0'\r\n    settings:\r\n        version: '10.1'\r\n        root_password: '123'\r\n        override_options: {  }\r\n    adminer: 0\r\n    users:\r\n        mariadbnu_x2qbab5kjuih:\r\n            name: dbuser\r\n            password: '123'\r\n    databases:\r\n        mariadbnd_l0ajhgr6n1k0:\r\n            name: dbname\r\n            sql: ''\r\n    grants:\r\n        mariadbng_lgiurx1k1wrs:\r\n            user: dbuser\r\n            table: '*.*'\r\n            privileges:\r\n                - ALL\r\nmysql:\r\n    install: '1'\r\n    settings:\r\n        version: '5.5'\r\n        root_password: root\r\n        override_options: {  }\r\n    adminer: 0\r\n    users: {  }\r\n    databases: {  }\r\n    grants: {  }\r\npostgresql:\r\n    install: '0'\r\n    settings:\r\n        global:\r\n            encoding: UTF8\r\n            version: '9.4'\r\n        server:\r\n            postgres_password: '123'\r\n    databases: {  }\r\n    users: {  }\r\n    grants: {  }\r\n    adminer: 0\r\nmongodb:\r\n    install: '0'\r\n    settings:\r\n        bind_ip: 127.0.0.1\r\n        port: '27017'\r\n    globals:\r\n        version: 2.6.0\r\n    databases: {  }\r\nredis:\r\n    install: '0'\r\n    settings:\r\n        port: '6379'\r\nsqlite:\r\n    install: '0'\r\n    adminer: 0\r\n    databases: {  }\r\nmailhog:\r\n    install: '0'\r\n    settings:\r\n        smtp_ip: 0.0.0.0\r\n        smtp_port: 1025\r\n        http_ip: 0.0.0.0\r\n        http_port: '8025'\r\n        path: /usr/local/bin/mailhog\r\nbeanstalkd:\r\n    install: '0'\r\n    settings:\r\n        listenaddress: 0.0.0.0\r\n        listenport: '11300'\r\n        maxjobsize: '65535'\r\n        maxconnections: '1024'\r\n        binlogdir: /var/lib/beanstalkd/binlog\r\n        binlogfsync: null\r\n        binlogsize: '10485760'\r\n    beanstalk_console: 0\r\nrabbitmq:\r\n    install: '0'\r\n    settings:\r\n        port: '5672'\r\n    users: {  }\r\n    vhosts: {  }\r\n    plugins: {  }\r\nelastic_search:\r\n    install: '0'\r\n    settings:\r\n        version: 2.1.0\r\n        java_install: true\r\n    instances:\r\n        esi_yvi3oubhwcq1:\r\n            name: es-01\r\nsolr:\r\n    install: '0'\r\n    settings:\r\n        version: 4.10.2\r\n        port: '8984'\r\n```"}}