title: Laravel: Call to undefined function Symfony\Component\Console\mb_convert_variables()?
body: <p>I'm running a vanilla Amazon EC2 server.  I installed PHP 5.5.21 myself. My web application is built on Laravel.  For weeks, everything was working flawlessly.  Now, however, when running the Laravel command to update the database schema:</p>
  
  <blockquote>
    <p>php artisan migrate</p>
  </blockquote>
  
  <p>I get the following error:</p>
  
  <blockquote>
    <p>PHP Fatal error:  Call to undefined function Symfony\Component\Console\mb_convert_variables() in /var/www/mysite/vendor/symfony/console/Symfony/Component/Console/Application.php on line 1154</p>
  </blockquote>
  
  <p>Oddly, I haven't made any updates or installed any packages between the time it was working and when it ceased to work.  (At least I think.  I checked my history to be sure.)</p>
  
  <p>I don't believe that this is an issue with Laravel, per se.  My research suggests that mb_convert_variables is supposed to be a built-in PHP function.</p>
  
  <p>Here's line 1154 of Application.php that is throwing the error:</p>
  
  <pre><code>mb_convert_variables($encoding, 'utf8', $lines);
  </code></pre>
  
  <p>And here is it in the larger context.  It's interesting the mb_convert_encoding(...) seems to be working fine:</p>
  
  <pre><code>private function splitStringByWidth($string, $width)
  {
      // str_split is not suitable for multi-byte characters, we should use preg_split to get char array properly.
      // additionally, array_slice() is not enough as some character has doubled width.
      // we need a function to split string not by character count but by string width
  
      if (!function_exists('mb_strwidth')) {
          return str_split($string, $width);
      }
  
      if (false === $encoding = mb_detect_encoding($string)) {
          return str_split($string, $width);
      }
  
      $utf8String = mb_convert_encoding($string, 'utf8', $encoding);
      $lines = array();
      $line = '';
      foreach (preg_split('//u', $utf8String) as $char) {
          // test if $char could be appended to current line
          if (mb_strwidth($line.$char, 'utf8') &lt;= $width) {
              $line .= $char;
              continue;
          }
          // if not, push current line to array and make new line
          $lines[] = str_pad($line, $width);
          $line = $char;
      }
      if (strlen($line)) {
          $lines[] = count($lines) ? str_pad($line, $width) : $line;
      }
  
      mb_convert_variables($encoding, 'utf8', $lines);
  
      return $lines;
  }
  </code></pre>
  
  <p>I'm not sure if this is helpful, but here's a list of all installed PHP modules:</p>
  
  <pre><code>[PHP Modules]
  bz2
  calendar
  Core
  ctype
  curl
  date
  dom
  ereg
  exif
  fileinfo
  filter
  ftp
  gettext
  hash
  iconv
  json
  libxml
  mcrypt
  mhash
  mysql
  mysqli
  mysqlnd
  openssl
  pcntl
  pcre
  PDO
  pdo_mysql
  pdo_sqlite
  Phar
  posix
  readline
  Reflection
  session
  shmop
  SimpleXML
  sockets
  SPL
  sqlite3
  standard
  sysvmsg
  sysvsem
  sysvshm
  tokenizer
  wddx
  xml
  xmlreader
  xmlwriter
  xsl
  zip
  zlib
  </code></pre>
  
  <p>And here's some of the output of php -i:</p>
  
  <pre><code>phpinfo()
  PHP Version =&gt; 5.5.21
  
  System =&gt; Linux ip-172-31-6-34 3.14.26-24.46.amzn1.x86_64 #1 SMP Wed Dec 10 10:02:43 UTC 2014 x86_64
  Build Date =&gt; Feb 11 2015 23:17:00
  Server API =&gt; Command Line Interface
  Virtual Directory Support =&gt; disabled
  Configuration File (php.ini) Path =&gt; /etc
  Loaded Configuration File =&gt; /etc/php.ini
  Scan this dir for additional .ini files =&gt; /etc/php-5.5.d
  Additional .ini files parsed =&gt; /etc/php-5.5.d/bz2.ini,
  /etc/php-5.5.d/calendar.ini,
  /etc/php-5.5.d/ctype.ini,
  /etc/php-5.5.d/curl.ini,
  /etc/php-5.5.d/dom.ini,
  /etc/php-5.5.d/exif.ini,
  /etc/php-5.5.d/fileinfo.ini,
  /etc/php-5.5.d/ftp.ini,
  /etc/php-5.5.d/gettext.ini,
  /etc/php-5.5.d/iconv.ini,
  /etc/php-5.5.d/json.ini,
  /etc/php-5.5.d/mcrypt.ini,
  /etc/php-5.5.d/mysqlnd.ini,
  /etc/php-5.5.d/mysqlnd_mysql.ini,
  /etc/php-5.5.d/mysqlnd_mysqli.ini,
  /etc/php-5.5.d/pdo.ini,
  /etc/php-5.5.d/pdo_mysqlnd.ini,
  /etc/php-5.5.d/pdo_sqlite.ini,
  /etc/php-5.5.d/phar.ini,
  /etc/php-5.5.d/php.ini,
  /etc/php-5.5.d/posix.ini,
  /etc/php-5.5.d/shmop.ini,
  /etc/php-5.5.d/simplexml.ini,
  /etc/php-5.5.d/sockets.ini,
  /etc/php-5.5.d/sqlite3.ini,
  /etc/php-5.5.d/sysvmsg.ini,
  /etc/php-5.5.d/sysvsem.ini,
  /etc/php-5.5.d/sysvshm.ini,
  /etc/php-5.5.d/tokenizer.ini,
  /etc/php-5.5.d/xml.ini,
  /etc/php-5.5.d/xml_wddx.ini,
  /etc/php-5.5.d/xmlreader.ini,
  /etc/php-5.5.d/xmlwriter.ini,
  /etc/php-5.5.d/xsl.ini,
  /etc/php-5.5.d/zip.ini
  
  PHP API =&gt; 20121113
  PHP Extension =&gt; 20121212
  Zend Extension =&gt; 220121212
  Zend Extension Build =&gt; API220121212,NTS
  PHP Extension Build =&gt; API20121212,NTS
  Debug Build =&gt; no
  Thread Safety =&gt; disabled
  Zend Signal Handling =&gt; disabled
  Zend Memory Manager =&gt; enabled
  Zend Multibyte Support =&gt; disabled
  IPv6 Support =&gt; enabled
  DTrace Support =&gt; enabled
  
  Registered PHP Streams =&gt; https, ftps, compress.zlib, php, file, glob, data, http, ftp, compress.bzip2, phar, zip
  Registered Stream Socket Transports =&gt; tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
  Registered Stream Filters =&gt; zlib.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, bzip2.*, convert.iconv.*, mcrypt.*, mdecrypt.*
  
  
  
  Core
  
  PHP Version =&gt; 5.5.21
  
  Directive =&gt; Local Value =&gt; Master Value
  allow_url_fopen =&gt; On =&gt; On
  allow_url_include =&gt; Off =&gt; Off
  always_populate_raw_post_data =&gt; Off =&gt; Off
  arg_separator.input =&gt; &amp; =&gt; &amp;
  arg_separator.output =&gt; &amp; =&gt; &amp;
  asp_tags =&gt; Off =&gt; Off
  auto_append_file =&gt; no value =&gt; no value
  auto_globals_jit =&gt; On =&gt; On
  auto_prepend_file =&gt; no value =&gt; no value
  browscap =&gt; no value =&gt; no value
  default_charset =&gt; no value =&gt; no value
  default_mimetype =&gt; text/html =&gt; text/html
  disable_classes =&gt; no value =&gt; no value
  disable_functions =&gt; no value =&gt; no value
  display_errors =&gt; Off =&gt; Off
  display_startup_errors =&gt; Off =&gt; Off
  doc_root =&gt; no value =&gt; no value
  docref_ext =&gt; no value =&gt; no value
  docref_root =&gt; no value =&gt; no value
  enable_dl =&gt; Off =&gt; Off
  enable_post_data_reading =&gt; On =&gt; On
  error_append_string =&gt; no value =&gt; no value
  error_log =&gt; no value =&gt; no value
  error_prepend_string =&gt; no value =&gt; no value
  error_reporting =&gt; 22527 =&gt; 22527
  exit_on_timeout =&gt; Off =&gt; Off
  expose_php =&gt; On =&gt; On
  extension_dir =&gt; /usr/lib64/php/5.5/modules =&gt; /usr/lib64/php/5.5/modules
  file_uploads =&gt; On =&gt; On
  highlight.comment =&gt; &lt;font style="color: #FF8000"&gt;#FF8000&lt;/font&gt; =&gt; &lt;font style="color: #FF8000"&gt;#FF8000&lt;/font&gt;
  highlight.default =&gt; &lt;font style="color: #0000BB"&gt;#0000BB&lt;/font&gt; =&gt; &lt;font style="color: #0000BB"&gt;#0000BB&lt;/font&gt;
  highlight.html =&gt; &lt;font style="color: #000000"&gt;#000000&lt;/font&gt; =&gt; &lt;font style="color: #000000"&gt;#000000&lt;/font&gt;
  highlight.keyword =&gt; &lt;font style="color: #007700"&gt;#007700&lt;/font&gt; =&gt; &lt;font style="color: #007700"&gt;#007700&lt;/font&gt;
  highlight.string =&gt; &lt;font style="color: #DD0000"&gt;#DD0000&lt;/font&gt; =&gt; &lt;font style="color: #DD0000"&gt;#DD0000&lt;/font&gt;
  html_errors =&gt; Off =&gt; Off
  ignore_repeated_errors =&gt; Off =&gt; Off
  ignore_repeated_source =&gt; Off =&gt; Off
  ignore_user_abort =&gt; Off =&gt; Off
  implicit_flush =&gt; On =&gt; On
  include_path =&gt; .:/usr/share/pear:/usr/share/php =&gt; .:/usr/share/pear:/usr/share/php
  log_errors =&gt; On =&gt; On
  log_errors_max_len =&gt; 1024 =&gt; 1024
  mail.add_x_header =&gt; On =&gt; On
  mail.force_extra_parameters =&gt; no value =&gt; no value
  mail.log =&gt; no value =&gt; no value
  max_execution_time =&gt; 0 =&gt; 0
  max_file_uploads =&gt; 20 =&gt; 20
  max_input_nesting_level =&gt; 64 =&gt; 64
  max_input_time =&gt; -1 =&gt; -1
  max_input_vars =&gt; 1000 =&gt; 1000
  memory_limit =&gt; 128M =&gt; 128M
  open_basedir =&gt; no value =&gt; no value
  output_buffering =&gt; 0 =&gt; 0
  output_handler =&gt; no value =&gt; no value
  post_max_size =&gt; 8M =&gt; 8M
  precision =&gt; 14 =&gt; 14
  realpath_cache_size =&gt; 16K =&gt; 16K
  realpath_cache_ttl =&gt; 120 =&gt; 120
  register_argc_argv =&gt; On =&gt; On
  report_memleaks =&gt; On =&gt; On
  report_zend_debug =&gt; Off =&gt; Off
  request_order =&gt; GP =&gt; GP
  sendmail_from =&gt; no value =&gt; no value
  sendmail_path =&gt; /usr/sbin/sendmail -t -i =&gt; /usr/sbin/sendmail -t -i
  serialize_precision =&gt; 17 =&gt; 17
  short_open_tag =&gt; Off =&gt; Off
  SMTP =&gt; localhost =&gt; localhost
  smtp_port =&gt; 25 =&gt; 25
  sql.safe_mode =&gt; Off =&gt; Off
  sys_temp_dir =&gt; no value =&gt; no value
  track_errors =&gt; Off =&gt; Off
  unserialize_callback_func =&gt; no value =&gt; no value
  upload_max_filesize =&gt; 2M =&gt; 2M
  upload_tmp_dir =&gt; no value =&gt; no value
  user_dir =&gt; no value =&gt; no value
  user_ini.cache_ttl =&gt; 300 =&gt; 300
  user_ini.filename =&gt; .user.ini =&gt; .user.ini
  variables_order =&gt; GPCS =&gt; GPCS
  xmlrpc_error_number =&gt; 0 =&gt; 0
  xmlrpc_errors =&gt; Off =&gt; Off
  zend.detect_unicode =&gt; On =&gt; On
  zend.enable_gc =&gt; On =&gt; On
  zend.multibyte =&gt; Off =&gt; Off
  zend.script_encoding =&gt; no value =&gt; no value
  
  ctype
  
  ctype functions =&gt; enabled
  
  
  
  ereg
  
  Regex Library =&gt; Bundled library enabled
  
  exif
  
  EXIF Support =&gt; enabled
  EXIF Version =&gt; 1.4 $Id: 7f95ff43ea7cc9a2c41a912863ed70069c0e34c5 $
  Supported EXIF Version =&gt; 0220
  Supported filetypes =&gt; JPEG,TIFF
  
  Directive =&gt; Local Value =&gt; Master Value
  exif.decode_jis_intel =&gt; JIS =&gt; JIS
  exif.decode_jis_motorola =&gt; JIS =&gt; JIS
  exif.decode_unicode_intel =&gt; UCS-2LE =&gt; UCS-2LE
  exif.decode_unicode_motorola =&gt; UCS-2BE =&gt; UCS-2BE
  exif.encode_jis =&gt; no value =&gt; no value
  exif.encode_unicode =&gt; ISO-8859-15 =&gt; ISO-8859-15
  
  fileinfo
  
  fileinfo support =&gt; enabled
  version =&gt; 1.0.5
  
  filter
  
  Input Validation and Filtering =&gt; enabled
  Revision =&gt; $Id: 4d3899e089e6e45b157975ceef2ac7deb6e9d762 $
  
  Directive =&gt; Local Value =&gt; Master Value
  filter.default =&gt; unsafe_raw =&gt; unsafe_raw
  filter.default_flags =&gt; no value =&gt; no value
  
  ftp
  
  FTP support =&gt; enabled
  
  gettext
  
  GetText Support =&gt; enabled
  
  hash
  
  hash support =&gt; enabled
  Hashing Engines =&gt; md2 md4 md5 sha1 sha224 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost adler32 crc32 crc32b fnv132 fnv164 joaat haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5
  
  iconv
  
  iconv support =&gt; enabled
  iconv implementation =&gt; glibc
  iconv library version =&gt; 2.17
  
  Directive =&gt; Local Value =&gt; Master Value
  iconv.input_encoding =&gt; ISO-8859-1 =&gt; ISO-8859-1
  iconv.internal_encoding =&gt; ISO-8859-1 =&gt; ISO-8859-1
  iconv.output_encoding =&gt; ISO-8859-1 =&gt; ISO-8859-1
  
  json
  
  json support =&gt; enabled
  json version =&gt; 1.3.6
  JSON-C headers version =&gt; 0.11
  JSON-C library version =&gt; 0.11
  
  libxml
  
  libXML support =&gt; active
  libXML Compiled Version =&gt; 2.9.1
  libXML Loaded Version =&gt; 20901
  libXML streams =&gt; enabled
  
  mcrypt
  
  mcrypt support =&gt; enabled
  mcrypt_filter support =&gt; enabled
  Version =&gt; 2.5.8
  Api No =&gt; 20021217
  Supported ciphers =&gt; cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes
  Supported modes =&gt; cbc cfb ctr ecb ncfb nofb ofb stream
  
  Directive =&gt; Local Value =&gt; Master Value
  mcrypt.algorithms_dir =&gt; no value =&gt; no value
  mcrypt.modes_dir =&gt; no value =&gt; no value
  
  mhash
  
  MHASH support =&gt; Enabled
  MHASH API Version =&gt; Emulated Support
  
  
  openssl
  
  OpenSSL support =&gt; enabled
  OpenSSL Library Version =&gt; OpenSSL 1.0.1k-fips 8 Jan 2015
  OpenSSL Header Version =&gt; OpenSSL 1.0.1k-fips 8 Jan 2015
  
  pcntl
  
  pcntl support =&gt; enabled
  
  pcre
  
  PCRE (Perl Compatible Regular Expressions) Support =&gt; enabled
  PCRE Library Version =&gt; 8.21 2011-12-12
  
  Directive =&gt; Local Value =&gt; Master Value
  pcre.backtrack_limit =&gt; 1000000 =&gt; 1000000
  pcre.recursion_limit =&gt; 100000 =&gt; 100000
  
  PDO
  
  PDO support =&gt; enabled
  PDO drivers =&gt; mysql, sqlite
  
  pdo_mysql
  
  PDO Driver for MySQL =&gt; enabled
  Client API version =&gt; mysqlnd 5.0.11-dev - 20120503 - $Id: bf9ad53b11c9a57efdb1057292d73b928b8c5c77 $
  
  Directive =&gt; Local Value =&gt; Master Value
  pdo_mysql.default_socket =&gt; /var/lib/mysql/mysql.sock =&gt; /var/lib/mysql/mysql.sock
  
  pdo_sqlite
  
  PDO Driver for SQLite 3.x =&gt; enabled
  SQLite Library =&gt; 3.7.17
  
  Phar
  
  Phar: PHP Archive support =&gt; enabled
  Phar EXT version =&gt; 2.0.2
  Phar API version =&gt; 1.1.1
  SVN revision =&gt; $Id: cc0fad28eb9ea42466f756c3b5fc22c764e32690 $
  Phar-based phar archives =&gt; enabled
  Tar-based phar archives =&gt; enabled
  ZIP-based phar archives =&gt; enabled
  gzip compression =&gt; enabled
  bzip2 compression =&gt; enabled
  Native OpenSSL support =&gt; enabled
  
  
  Phar based on pear/PHP_Archive, original concept by Davey Shafik.
  Phar fully realized by Gregory Beaver and Marcus Boerger.
  Portions of tar implementation Copyright (c) 2003-2009 Tim Kientzle.
  Directive =&gt; Local Value =&gt; Master Value
  phar.cache_list =&gt; no value =&gt; no value
  phar.readonly =&gt; On =&gt; On
  phar.require_hash =&gt; On =&gt; On
  
  posix
  
  Revision =&gt; $Id: 1dfa9997ed76804e53c91e0ce862f3707617b6ed $
  
  readline
  
  Readline Support =&gt; enabled
  Readline library =&gt; EditLine wrapper
  
  Directive =&gt; Local Value =&gt; Master Value
  cli.pager =&gt; no value =&gt; no value
  cli.prompt =&gt; \b \&gt;  =&gt; \b \&gt;
  
  Reflection
  
  Reflection =&gt; enabled
  Version =&gt; $Id: 95b780d3f0d017feba96a5c35cca9541186114ad $
  
  session
  
  Session Support =&gt; enabled
  Registered save handlers =&gt; files user
  Registered serializer handlers =&gt; php_serialize php php_binary wddx
  
  Directive =&gt; Local Value =&gt; Master Value
  session.auto_start =&gt; Off =&gt; Off
  session.cache_expire =&gt; 180 =&gt; 180
  session.cache_limiter =&gt; nocache =&gt; nocache
  session.cookie_domain =&gt; no value =&gt; no value
  session.cookie_httponly =&gt; Off =&gt; Off
  session.cookie_lifetime =&gt; 0 =&gt; 0
  session.cookie_path =&gt; / =&gt; /
  session.cookie_secure =&gt; Off =&gt; Off
  session.entropy_file =&gt; /dev/urandom =&gt; /dev/urandom
  session.entropy_length =&gt; 32 =&gt; 32
  session.gc_divisor =&gt; 1000 =&gt; 1000
  session.gc_maxlifetime =&gt; 1440 =&gt; 1440
  session.gc_probability =&gt; 1 =&gt; 1
  session.hash_bits_per_character =&gt; 5 =&gt; 5
  session.hash_function =&gt; 0 =&gt; 0
  session.name =&gt; PHPSESSID =&gt; PHPSESSID
  session.referer_check =&gt; no value =&gt; no value
  session.save_handler =&gt; files =&gt; files
  session.save_path =&gt; no value =&gt; no value
  session.serialize_handler =&gt; php =&gt; php
  session.upload_progress.cleanup =&gt; On =&gt; On
  session.upload_progress.enabled =&gt; On =&gt; On
  session.upload_progress.freq =&gt; 1% =&gt; 1%
  session.upload_progress.min_freq =&gt; 1 =&gt; 1
  session.upload_progress.name =&gt; PHP_SESSION_UPLOAD_PROGRESS =&gt; PHP_SESSION_UPLOAD_PROGRESS
  session.upload_progress.prefix =&gt; upload_progress_ =&gt; upload_progress_
  session.use_cookies =&gt; On =&gt; On
  session.use_only_cookies =&gt; On =&gt; On
  session.use_strict_mode =&gt; Off =&gt; Off
  session.use_trans_sid =&gt; 0 =&gt; 0
  
  shmop
  
  shmop support =&gt; enabled
  
  SimpleXML
  
  Simplexml support =&gt; enabled
  Revision =&gt; $Id: a915862ec47f9589309acc4996ca8f6179788746 $
  Schema support =&gt; enabled
  
  sockets
  
  Sockets Support =&gt; enabled
  
  SPL
  
  SPL support =&gt; enabled
  Interfaces =&gt; Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
  Classes =&gt; AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, CallbackFilterIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveCallbackFilterIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException
  
  
  standard
  
  Dynamic Library Support =&gt; enabled
  Path to sendmail =&gt; /usr/sbin/sendmail -t -i
  
  Directive =&gt; Local Value =&gt; Master Value
  assert.active =&gt; 1 =&gt; 1
  assert.bail =&gt; 0 =&gt; 0
  assert.callback =&gt; no value =&gt; no value
  assert.quiet_eval =&gt; 0 =&gt; 0
  assert.warning =&gt; 1 =&gt; 1
  auto_detect_line_endings =&gt; 0 =&gt; 0
  default_socket_timeout =&gt; 60 =&gt; 60
  from =&gt; no value =&gt; no value
  url_rewriter.tags =&gt; a=href,area=href,frame=src,input=src,form=fakeentry =&gt; a=href,area=href,frame=src,input=src,form=fakeentry
  user_agent =&gt; no value =&gt; no value
  
  sysvmsg
  
  sysvmsg support =&gt; enabled
  Revision =&gt; $Id: adf1d2d6be849c46eed3c3ee6f1cbebd1448d6e5 $
  
  tokenizer
  
  Tokenizer Support =&gt; enabled
  
  wddx
  
  WDDX Support =&gt; enabled
  WDDX Session Serializer =&gt; enabled
  
  xml
  
  XML Support =&gt; active
  XML Namespace Support =&gt; active
  libxml2 Version =&gt; 2.9.1
  
  xmlreader
  
  XMLReader =&gt; enabled
  
  xmlwriter
  
  XMLWriter =&gt; enabled
  
  xsl
  
  XSL =&gt; enabled
  libxslt Version =&gt; 1.1.28
  libxslt compiled against libxml Version =&gt; 2.9.1
  EXSLT =&gt; enabled
  libexslt Version =&gt; 1.1.28
  
  zip
  
  Zip =&gt; enabled
  Extension Version =&gt; $Id: 05dd1ecc211075107543b0ef8cee488dd229fccf $
  Zip version =&gt; 1.11.0
  Compiled against libzip version =&gt; 0.10.1
  
  zlib
  
  ZLib Support =&gt; enabled
  Stream Wrapper =&gt; compress.zlib://
  Stream Filter =&gt; zlib.inflate, zlib.deflate
  Compiled Version =&gt; 1.2.7
  Linked Version =&gt; 1.2.7
  
  Directive =&gt; Local Value =&gt; Master Value
  zlib.output_compression =&gt; Off =&gt; Off
  zlib.output_compression_level =&gt; -1 =&gt; -1
  zlib.output_handler =&gt; no value =&gt; no value
  
  Additional Modules
  
  Module Name
  sysvsem
  sysvshm
  </code></pre>
  
  <p>I have a few questions regarding this:</p>
  
  <ul>
  <li>How can I fix it? </li>
  <li>What could I have done wrong that messed it up?</li>
  </ul>
  
  <p>Thanks!</p>