symfony - PHP Warning: PHP Startup: Unable to load dynamic library -


i have run symfony on ubuntu 16.04 returned start error. , ran php --ini command in cmd

php warning:  php startup: unable load dynamic library '/usr/lib/php/20151012/php_curl.dll' - /usr/lib/php/20151012/php_curl.dll: cannot open shared object file: no such file or directory in unknown on line 0 php warning:  php startup: unable load dynamic library '/usr/lib/php/20151012/php_mbstring.dll' - /usr/lib/php/20151012/php_mbstring.dll: cannot open shared object file: no such file or directory in unknown on line 0 php warning:  php startup: unable load dynamic library '/usr/lib/php/20151012/php_pdo_pgsql.dll' - /usr/lib/php/20151012/php_pdo_pgsql.dll: cannot open shared object file: no such file or directory in unknown on line 0 php warning:  php startup: unable load dynamic library '/usr/lib/php/20151012/php_pgsql.dll' - /usr/lib/php/20151012/php_pgsql.dll: cannot open shared object file: no such file or directory in unknown on line 0 configuration file (php.ini) path: /etc/php/7.0/cli loaded configuration file:         /etc/php/7.0/cli/php.ini scan additional .ini files in: /etc/php/7.0/cli/conf.d additional .ini files parsed:      /etc/php/7.0/cli/conf.d/10-opcache.ini, /etc/php/7.0/cli/conf.d/10-pdo.ini, /etc/php/7.0/cli/conf.d/20-calendar.ini, /etc/php/7.0/cli/conf.d/20-ctype.ini, /etc/php/7.0/cli/conf.d/20-exif.ini, /etc/php/7.0/cli/conf.d/20-fileinfo.ini, /etc/php/7.0/cli/conf.d/20-ftp.ini, /etc/php/7.0/cli/conf.d/20-gettext.ini, /etc/php/7.0/cli/conf.d/20-iconv.ini, /etc/php/7.0/cli/conf.d/20-json.ini, /etc/php/7.0/cli/conf.d/20-mbstring.ini, /etc/php/7.0/cli/conf.d/20-phar.ini, /etc/php/7.0/cli/conf.d/20-posix.ini, /etc/php/7.0/cli/conf.d/20-readline.ini, /etc/php/7.0/cli/conf.d/20-shmop.ini, /etc/php/7.0/cli/conf.d/20-sockets.ini, /etc/php/7.0/cli/conf.d/20-sysvmsg.ini, /etc/php/7.0/cli/conf.d/20-sysvsem.ini, /etc/php/7.0/cli/conf.d/20-sysvshm.ini, /etc/php/7.0/cli/conf.d/20-tokenizer.ini 

above warning occurs when running php --ini command. how resolve warnings have purged , installed php7. removed comment in php.ini extension dll

php warning: php startup: unable load dynamic library ... error can't run commands , have not installed extensions.

first stop symfony:

php bin/console server:stop 

then

sudo apt-get install php7.0-curl php7.0-mbstring php7.0-pgsql php7.0-intl 

after installing run symfony:

php bin/console server:start 

Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -