PHP Warning: PHP Startup: Unable to load dynamic libraryStartup: Unable to load dynamic library '/usr/lib/php/20151012/php_mbstring.dllWhy do I get these strange errors when running PHP scripts?How to stop cron from mailing me?Ubuntu 12.04 - upgraded to PHP5.4 - error on PHP SuhosinUnable to load dynamic library '/usr/lib/php/20151012/php_soap.dll' from sessionclean cronInstalled php5.6 on ubuntu 16 enable extensionsPHP 7 - Unable to load dynamic library - curl.soPHP extension unable to load dynamic librarySYMFONY3 PHP Warning: PHP Startup: Unable to load dynamic library php_intl.dllHow to properly install a PHP extension?which is correct php.ini file to use in apache2?

How much stiffer are 23c tires over 28c?

How do you like my writing?

What is the likely impact of grounding an entire aircraft series?

What is wrong with Escaped Shapeshifter's original wording?

Why does the negative sign arise in this thermodynamic relation?

Virginia employer terminated employee and wants signing bonus returned

2×2×2 rubik's cube corner is twisted!

What is the chance of making a successful appeal to dismissal decision from a PhD program after failing the qualifying exam in the 2nd attempt?

Making a sword in the stone, in a medieval world without magic

Does splitting a potentially monolithic application into several smaller ones help prevent bugs?

They call me Inspector Morse

Is it true that real estate prices mainly go up?

Can you reject a postdoc offer after the PI has paid a large sum for flights/accommodation for your visit?

What wound would be of little consequence to a biped but terrible for a quadruped?

Should I tell my boss the work he did was worthless

The bar has been raised

Can't find the Shader/UVs tab

Is Gradient Descent central to every optimizer?

Latest web browser compatible with Windows 98

How do I deal with a powergamer in a game full of beginners in a school club?

Make a transparent 448*448 image

Why the color red for the Republican Party

Placing subfig vertically

How does airport security verify that you can carry a battery bank over 100 Wh?



PHP Warning: PHP Startup: Unable to load dynamic library


Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_mbstring.dllWhy do I get these strange errors when running PHP scripts?How to stop cron from mailing me?Ubuntu 12.04 - upgraded to PHP5.4 - error on PHP SuhosinUnable to load dynamic library '/usr/lib/php/20151012/php_soap.dll' from sessionclean cronInstalled php5.6 on ubuntu 16 enable extensionsPHP 7 - Unable to load dynamic library - curl.soPHP extension unable to load dynamic librarySYMFONY3 PHP Warning: PHP Startup: Unable to load dynamic library php_intl.dllHow to properly install a PHP extension?which is correct php.ini file to use in apache2?













7















I got error like



PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_intl.dll' - /usr/lib/php/20151012/php_intl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_soap.dll' - /usr/lib/php/20151012/php_soap.dll: cannot open shared object file: No such file or directory in Unknown on line 0


As @Parto said



I run php -i | grep ".ini"



And got result :-



PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_intl.dll' - /usr/lib/php/20151012/php_intl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_soap.dll' - /usr/lib/php/20151012/php_soap.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 this dir for additional .ini files => /etc/php/7.0/cli/conf.d
Additional .ini files parsed => /etc/php/7.0/cli/conf.d/10-mysqlnd.ini,
/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/15-xml.ini,
/etc/php/7.0/cli/conf.d/20-bcmath.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-curl.ini,
/etc/php/7.0/cli/conf.d/20-dom.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-gd.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-intl.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-mcrypt.ini,
/etc/php/7.0/cli/conf.d/20-mysqli.ini,
/etc/php/7.0/cli/conf.d/20-pdo_mysql.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-simplexml.ini,
/etc/php/7.0/cli/conf.d/20-soap.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,
/etc/php/7.0/cli/conf.d/20-wddx.ini,
/etc/php/7.0/cli/conf.d/20-xmlreader.ini,
/etc/php/7.0/cli/conf.d/20-xmlwriter.ini,
/etc/php/7.0/cli/conf.d/20-xsl.ini,
/etc/php/7.0/cli/conf.d/20-zip.ini
user_ini.cache_ttl => 300 => 300
user_ini.filename => .user.ini => .user.ini
com_init_db => 0
Classes => 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


I am using php 7 and Ubuntu 16.04










share|improve this question



















  • 3





    Well, can't say that i've ever seen .dll's being loaded in Ubuntu...

    – bc2946088
    Jun 8 '16 at 13:21











  • What does php -i | grep ".dll" return when run in terminal? If it returns nothing, run php -i | grep ".ini" and include the result in your question.

    – Parto
    Jun 8 '16 at 15:19












  • @Parto I updated my question.

    – Jatin Raikwar
    Jun 9 '16 at 5:07











  • First thing to check is, if the DDL file exist somewhere outside the path. So you have to run find /* -name "php_intl.dll" make sure you run this as root or user with privilege as some directories have specific permissions being set. Usually, the the php library you're trying to install is part of php5, did you search if PHP7 fully supports it?

    – upbeta01
    Jun 9 '16 at 6:05











  • in response to bc2946088's comment back in June, I can confirm that, with a clean ubuntu installation, adding apache, php, mysql and cacti, I am seeing logs which say 'unable to load dynamic library - /usr/lib/php/20121012/php_gd2.dll' - so it looks like either a logging error or apache/php does use this extension. It is weird though.

    – Ian
    Oct 20 '16 at 15:27















7















I got error like



PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_intl.dll' - /usr/lib/php/20151012/php_intl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_soap.dll' - /usr/lib/php/20151012/php_soap.dll: cannot open shared object file: No such file or directory in Unknown on line 0


As @Parto said



I run php -i | grep ".ini"



And got result :-



PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_intl.dll' - /usr/lib/php/20151012/php_intl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_soap.dll' - /usr/lib/php/20151012/php_soap.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 this dir for additional .ini files => /etc/php/7.0/cli/conf.d
Additional .ini files parsed => /etc/php/7.0/cli/conf.d/10-mysqlnd.ini,
/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/15-xml.ini,
/etc/php/7.0/cli/conf.d/20-bcmath.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-curl.ini,
/etc/php/7.0/cli/conf.d/20-dom.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-gd.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-intl.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-mcrypt.ini,
/etc/php/7.0/cli/conf.d/20-mysqli.ini,
/etc/php/7.0/cli/conf.d/20-pdo_mysql.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-simplexml.ini,
/etc/php/7.0/cli/conf.d/20-soap.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,
/etc/php/7.0/cli/conf.d/20-wddx.ini,
/etc/php/7.0/cli/conf.d/20-xmlreader.ini,
/etc/php/7.0/cli/conf.d/20-xmlwriter.ini,
/etc/php/7.0/cli/conf.d/20-xsl.ini,
/etc/php/7.0/cli/conf.d/20-zip.ini
user_ini.cache_ttl => 300 => 300
user_ini.filename => .user.ini => .user.ini
com_init_db => 0
Classes => 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


I am using php 7 and Ubuntu 16.04










share|improve this question



















  • 3





    Well, can't say that i've ever seen .dll's being loaded in Ubuntu...

    – bc2946088
    Jun 8 '16 at 13:21











  • What does php -i | grep ".dll" return when run in terminal? If it returns nothing, run php -i | grep ".ini" and include the result in your question.

    – Parto
    Jun 8 '16 at 15:19












  • @Parto I updated my question.

    – Jatin Raikwar
    Jun 9 '16 at 5:07











  • First thing to check is, if the DDL file exist somewhere outside the path. So you have to run find /* -name "php_intl.dll" make sure you run this as root or user with privilege as some directories have specific permissions being set. Usually, the the php library you're trying to install is part of php5, did you search if PHP7 fully supports it?

    – upbeta01
    Jun 9 '16 at 6:05











  • in response to bc2946088's comment back in June, I can confirm that, with a clean ubuntu installation, adding apache, php, mysql and cacti, I am seeing logs which say 'unable to load dynamic library - /usr/lib/php/20121012/php_gd2.dll' - so it looks like either a logging error or apache/php does use this extension. It is weird though.

    – Ian
    Oct 20 '16 at 15:27













7












7








7


4






I got error like



PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_intl.dll' - /usr/lib/php/20151012/php_intl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_soap.dll' - /usr/lib/php/20151012/php_soap.dll: cannot open shared object file: No such file or directory in Unknown on line 0


As @Parto said



I run php -i | grep ".ini"



And got result :-



PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_intl.dll' - /usr/lib/php/20151012/php_intl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_soap.dll' - /usr/lib/php/20151012/php_soap.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 this dir for additional .ini files => /etc/php/7.0/cli/conf.d
Additional .ini files parsed => /etc/php/7.0/cli/conf.d/10-mysqlnd.ini,
/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/15-xml.ini,
/etc/php/7.0/cli/conf.d/20-bcmath.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-curl.ini,
/etc/php/7.0/cli/conf.d/20-dom.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-gd.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-intl.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-mcrypt.ini,
/etc/php/7.0/cli/conf.d/20-mysqli.ini,
/etc/php/7.0/cli/conf.d/20-pdo_mysql.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-simplexml.ini,
/etc/php/7.0/cli/conf.d/20-soap.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,
/etc/php/7.0/cli/conf.d/20-wddx.ini,
/etc/php/7.0/cli/conf.d/20-xmlreader.ini,
/etc/php/7.0/cli/conf.d/20-xmlwriter.ini,
/etc/php/7.0/cli/conf.d/20-xsl.ini,
/etc/php/7.0/cli/conf.d/20-zip.ini
user_ini.cache_ttl => 300 => 300
user_ini.filename => .user.ini => .user.ini
com_init_db => 0
Classes => 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


I am using php 7 and Ubuntu 16.04










share|improve this question
















I got error like



PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_intl.dll' - /usr/lib/php/20151012/php_intl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_soap.dll' - /usr/lib/php/20151012/php_soap.dll: cannot open shared object file: No such file or directory in Unknown on line 0


As @Parto said



I run php -i | grep ".ini"



And got result :-



PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_intl.dll' - /usr/lib/php/20151012/php_intl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_soap.dll' - /usr/lib/php/20151012/php_soap.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 this dir for additional .ini files => /etc/php/7.0/cli/conf.d
Additional .ini files parsed => /etc/php/7.0/cli/conf.d/10-mysqlnd.ini,
/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/15-xml.ini,
/etc/php/7.0/cli/conf.d/20-bcmath.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-curl.ini,
/etc/php/7.0/cli/conf.d/20-dom.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-gd.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-intl.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-mcrypt.ini,
/etc/php/7.0/cli/conf.d/20-mysqli.ini,
/etc/php/7.0/cli/conf.d/20-pdo_mysql.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-simplexml.ini,
/etc/php/7.0/cli/conf.d/20-soap.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,
/etc/php/7.0/cli/conf.d/20-wddx.ini,
/etc/php/7.0/cli/conf.d/20-xmlreader.ini,
/etc/php/7.0/cli/conf.d/20-xmlwriter.ini,
/etc/php/7.0/cli/conf.d/20-xsl.ini,
/etc/php/7.0/cli/conf.d/20-zip.ini
user_ini.cache_ttl => 300 => 300
user_ini.filename => .user.ini => .user.ini
com_init_db => 0
Classes => 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


I am using php 7 and Ubuntu 16.04







16.04 apache2 php php7






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 9 '16 at 5:25









muru

1




1










asked Jun 8 '16 at 13:11









Jatin RaikwarJatin Raikwar

138116




138116







  • 3





    Well, can't say that i've ever seen .dll's being loaded in Ubuntu...

    – bc2946088
    Jun 8 '16 at 13:21











  • What does php -i | grep ".dll" return when run in terminal? If it returns nothing, run php -i | grep ".ini" and include the result in your question.

    – Parto
    Jun 8 '16 at 15:19












  • @Parto I updated my question.

    – Jatin Raikwar
    Jun 9 '16 at 5:07











  • First thing to check is, if the DDL file exist somewhere outside the path. So you have to run find /* -name "php_intl.dll" make sure you run this as root or user with privilege as some directories have specific permissions being set. Usually, the the php library you're trying to install is part of php5, did you search if PHP7 fully supports it?

    – upbeta01
    Jun 9 '16 at 6:05











  • in response to bc2946088's comment back in June, I can confirm that, with a clean ubuntu installation, adding apache, php, mysql and cacti, I am seeing logs which say 'unable to load dynamic library - /usr/lib/php/20121012/php_gd2.dll' - so it looks like either a logging error or apache/php does use this extension. It is weird though.

    – Ian
    Oct 20 '16 at 15:27












  • 3





    Well, can't say that i've ever seen .dll's being loaded in Ubuntu...

    – bc2946088
    Jun 8 '16 at 13:21











  • What does php -i | grep ".dll" return when run in terminal? If it returns nothing, run php -i | grep ".ini" and include the result in your question.

    – Parto
    Jun 8 '16 at 15:19












  • @Parto I updated my question.

    – Jatin Raikwar
    Jun 9 '16 at 5:07











  • First thing to check is, if the DDL file exist somewhere outside the path. So you have to run find /* -name "php_intl.dll" make sure you run this as root or user with privilege as some directories have specific permissions being set. Usually, the the php library you're trying to install is part of php5, did you search if PHP7 fully supports it?

    – upbeta01
    Jun 9 '16 at 6:05











  • in response to bc2946088's comment back in June, I can confirm that, with a clean ubuntu installation, adding apache, php, mysql and cacti, I am seeing logs which say 'unable to load dynamic library - /usr/lib/php/20121012/php_gd2.dll' - so it looks like either a logging error or apache/php does use this extension. It is weird though.

    – Ian
    Oct 20 '16 at 15:27







3




3





Well, can't say that i've ever seen .dll's being loaded in Ubuntu...

– bc2946088
Jun 8 '16 at 13:21





Well, can't say that i've ever seen .dll's being loaded in Ubuntu...

– bc2946088
Jun 8 '16 at 13:21













What does php -i | grep ".dll" return when run in terminal? If it returns nothing, run php -i | grep ".ini" and include the result in your question.

– Parto
Jun 8 '16 at 15:19






What does php -i | grep ".dll" return when run in terminal? If it returns nothing, run php -i | grep ".ini" and include the result in your question.

– Parto
Jun 8 '16 at 15:19














@Parto I updated my question.

– Jatin Raikwar
Jun 9 '16 at 5:07





@Parto I updated my question.

– Jatin Raikwar
Jun 9 '16 at 5:07













First thing to check is, if the DDL file exist somewhere outside the path. So you have to run find /* -name "php_intl.dll" make sure you run this as root or user with privilege as some directories have specific permissions being set. Usually, the the php library you're trying to install is part of php5, did you search if PHP7 fully supports it?

– upbeta01
Jun 9 '16 at 6:05





First thing to check is, if the DDL file exist somewhere outside the path. So you have to run find /* -name "php_intl.dll" make sure you run this as root or user with privilege as some directories have specific permissions being set. Usually, the the php library you're trying to install is part of php5, did you search if PHP7 fully supports it?

– upbeta01
Jun 9 '16 at 6:05













in response to bc2946088's comment back in June, I can confirm that, with a clean ubuntu installation, adding apache, php, mysql and cacti, I am seeing logs which say 'unable to load dynamic library - /usr/lib/php/20121012/php_gd2.dll' - so it looks like either a logging error or apache/php does use this extension. It is weird though.

– Ian
Oct 20 '16 at 15:27





in response to bc2946088's comment back in June, I can confirm that, with a clean ubuntu installation, adding apache, php, mysql and cacti, I am seeing logs which say 'unable to load dynamic library - /usr/lib/php/20121012/php_gd2.dll' - so it looks like either a logging error or apache/php does use this extension. It is weird though.

– Ian
Oct 20 '16 at 15:27










4 Answers
4






active

oldest

votes


















6














Run:



sudo gedit -H /etc/php/7.0/cli/php.ini


and comment out extension=php_intl.dll.






share|improve this answer
































    3














    As per oerdnj's answer here there is something wrong with your configuration. You shoul not enable the extension in php.ini (e.g. you should not uncomment the line ;extension=php_mbstring.dll, for instance).



    You should install the extension like sudo apt-get install php-mbstring and let it be automatically activated.






    share|improve this answer




















    • 1





      This helped me, thanks. I found that mine was uncommented in /etc/php/7.0/apache2/php.ini but commented out in /etc/php/7.0/cli/php.ini. Which is why mine only happened at weird times.

      – Marius
      Sep 4 '18 at 15:27


















    2














    Something wrong with your configuration, but if you have root access, just install again the missing extensions. For PHP 7.0:



    sudo apt-get install php7.0-intl
    sudo apt-get install php7.0-soap


    Note the version of your Ubuntu could be necessary in some weird cases (you upgraded too much your packages and need to downgrade). Here a example but look at the version installed first!



    sudo apt-get install php7.0-intl=7.0.22-0ubuntu0.16.04.1
    sudo apt-get install php7.0-soap=7.0.22-0ubuntu0.16.04.1


    Worked for me (not SOAP extension by the way but intl and some others)






    share|improve this answer






























      0














      I tried with following commands and error gone :



      nano /etc/php/7.1/cli/php.ini


      Search for intl.dll and soap.dll comment this extension



      service apache2 restart





      share|improve this answer








      New contributor




      SagarPPanchal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.



















        Your Answer








        StackExchange.ready(function()
        var channelOptions =
        tags: "".split(" "),
        id: "89"
        ;
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function()
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled)
        StackExchange.using("snippets", function()
        createEditor();
        );

        else
        createEditor();

        );

        function createEditor()
        StackExchange.prepareEditor(
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: true,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        imageUploader:
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        ,
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        );



        );













        draft saved

        draft discarded


















        StackExchange.ready(
        function ()
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f784443%2fphp-warning-php-startup-unable-to-load-dynamic-library%23new-answer', 'question_page');

        );

        Post as a guest















        Required, but never shown

























        4 Answers
        4






        active

        oldest

        votes








        4 Answers
        4






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        6














        Run:



        sudo gedit -H /etc/php/7.0/cli/php.ini


        and comment out extension=php_intl.dll.






        share|improve this answer





























          6














          Run:



          sudo gedit -H /etc/php/7.0/cli/php.ini


          and comment out extension=php_intl.dll.






          share|improve this answer



























            6












            6








            6







            Run:



            sudo gedit -H /etc/php/7.0/cli/php.ini


            and comment out extension=php_intl.dll.






            share|improve this answer















            Run:



            sudo gedit -H /etc/php/7.0/cli/php.ini


            and comment out extension=php_intl.dll.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Sep 12 '16 at 16:06









            αғsнιη

            24.8k2399161




            24.8k2399161










            answered Sep 12 '16 at 8:57









            mary2501mary2501

            6112




            6112























                3














                As per oerdnj's answer here there is something wrong with your configuration. You shoul not enable the extension in php.ini (e.g. you should not uncomment the line ;extension=php_mbstring.dll, for instance).



                You should install the extension like sudo apt-get install php-mbstring and let it be automatically activated.






                share|improve this answer




















                • 1





                  This helped me, thanks. I found that mine was uncommented in /etc/php/7.0/apache2/php.ini but commented out in /etc/php/7.0/cli/php.ini. Which is why mine only happened at weird times.

                  – Marius
                  Sep 4 '18 at 15:27















                3














                As per oerdnj's answer here there is something wrong with your configuration. You shoul not enable the extension in php.ini (e.g. you should not uncomment the line ;extension=php_mbstring.dll, for instance).



                You should install the extension like sudo apt-get install php-mbstring and let it be automatically activated.






                share|improve this answer




















                • 1





                  This helped me, thanks. I found that mine was uncommented in /etc/php/7.0/apache2/php.ini but commented out in /etc/php/7.0/cli/php.ini. Which is why mine only happened at weird times.

                  – Marius
                  Sep 4 '18 at 15:27













                3












                3








                3







                As per oerdnj's answer here there is something wrong with your configuration. You shoul not enable the extension in php.ini (e.g. you should not uncomment the line ;extension=php_mbstring.dll, for instance).



                You should install the extension like sudo apt-get install php-mbstring and let it be automatically activated.






                share|improve this answer















                As per oerdnj's answer here there is something wrong with your configuration. You shoul not enable the extension in php.ini (e.g. you should not uncomment the line ;extension=php_mbstring.dll, for instance).



                You should install the extension like sudo apt-get install php-mbstring and let it be automatically activated.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Apr 13 '17 at 12:23









                Community

                1




                1










                answered Jan 4 '17 at 23:03









                marquitomarquito

                1313




                1313







                • 1





                  This helped me, thanks. I found that mine was uncommented in /etc/php/7.0/apache2/php.ini but commented out in /etc/php/7.0/cli/php.ini. Which is why mine only happened at weird times.

                  – Marius
                  Sep 4 '18 at 15:27












                • 1





                  This helped me, thanks. I found that mine was uncommented in /etc/php/7.0/apache2/php.ini but commented out in /etc/php/7.0/cli/php.ini. Which is why mine only happened at weird times.

                  – Marius
                  Sep 4 '18 at 15:27







                1




                1





                This helped me, thanks. I found that mine was uncommented in /etc/php/7.0/apache2/php.ini but commented out in /etc/php/7.0/cli/php.ini. Which is why mine only happened at weird times.

                – Marius
                Sep 4 '18 at 15:27





                This helped me, thanks. I found that mine was uncommented in /etc/php/7.0/apache2/php.ini but commented out in /etc/php/7.0/cli/php.ini. Which is why mine only happened at weird times.

                – Marius
                Sep 4 '18 at 15:27











                2














                Something wrong with your configuration, but if you have root access, just install again the missing extensions. For PHP 7.0:



                sudo apt-get install php7.0-intl
                sudo apt-get install php7.0-soap


                Note the version of your Ubuntu could be necessary in some weird cases (you upgraded too much your packages and need to downgrade). Here a example but look at the version installed first!



                sudo apt-get install php7.0-intl=7.0.22-0ubuntu0.16.04.1
                sudo apt-get install php7.0-soap=7.0.22-0ubuntu0.16.04.1


                Worked for me (not SOAP extension by the way but intl and some others)






                share|improve this answer



























                  2














                  Something wrong with your configuration, but if you have root access, just install again the missing extensions. For PHP 7.0:



                  sudo apt-get install php7.0-intl
                  sudo apt-get install php7.0-soap


                  Note the version of your Ubuntu could be necessary in some weird cases (you upgraded too much your packages and need to downgrade). Here a example but look at the version installed first!



                  sudo apt-get install php7.0-intl=7.0.22-0ubuntu0.16.04.1
                  sudo apt-get install php7.0-soap=7.0.22-0ubuntu0.16.04.1


                  Worked for me (not SOAP extension by the way but intl and some others)






                  share|improve this answer

























                    2












                    2








                    2







                    Something wrong with your configuration, but if you have root access, just install again the missing extensions. For PHP 7.0:



                    sudo apt-get install php7.0-intl
                    sudo apt-get install php7.0-soap


                    Note the version of your Ubuntu could be necessary in some weird cases (you upgraded too much your packages and need to downgrade). Here a example but look at the version installed first!



                    sudo apt-get install php7.0-intl=7.0.22-0ubuntu0.16.04.1
                    sudo apt-get install php7.0-soap=7.0.22-0ubuntu0.16.04.1


                    Worked for me (not SOAP extension by the way but intl and some others)






                    share|improve this answer













                    Something wrong with your configuration, but if you have root access, just install again the missing extensions. For PHP 7.0:



                    sudo apt-get install php7.0-intl
                    sudo apt-get install php7.0-soap


                    Note the version of your Ubuntu could be necessary in some weird cases (you upgraded too much your packages and need to downgrade). Here a example but look at the version installed first!



                    sudo apt-get install php7.0-intl=7.0.22-0ubuntu0.16.04.1
                    sudo apt-get install php7.0-soap=7.0.22-0ubuntu0.16.04.1


                    Worked for me (not SOAP extension by the way but intl and some others)







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Jan 22 '18 at 22:47









                    William RWilliam R

                    212




                    212





















                        0














                        I tried with following commands and error gone :



                        nano /etc/php/7.1/cli/php.ini


                        Search for intl.dll and soap.dll comment this extension



                        service apache2 restart





                        share|improve this answer








                        New contributor




                        SagarPPanchal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                        Check out our Code of Conduct.
























                          0














                          I tried with following commands and error gone :



                          nano /etc/php/7.1/cli/php.ini


                          Search for intl.dll and soap.dll comment this extension



                          service apache2 restart





                          share|improve this answer








                          New contributor




                          SagarPPanchal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.






















                            0












                            0








                            0







                            I tried with following commands and error gone :



                            nano /etc/php/7.1/cli/php.ini


                            Search for intl.dll and soap.dll comment this extension



                            service apache2 restart





                            share|improve this answer








                            New contributor




                            SagarPPanchal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.










                            I tried with following commands and error gone :



                            nano /etc/php/7.1/cli/php.ini


                            Search for intl.dll and soap.dll comment this extension



                            service apache2 restart






                            share|improve this answer








                            New contributor




                            SagarPPanchal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.









                            share|improve this answer



                            share|improve this answer






                            New contributor




                            SagarPPanchal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.









                            answered 46 mins ago









                            SagarPPanchalSagarPPanchal

                            1034




                            1034




                            New contributor




                            SagarPPanchal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.





                            New contributor





                            SagarPPanchal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.






                            SagarPPanchal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.



























                                draft saved

                                draft discarded
















































                                Thanks for contributing an answer to Ask Ubuntu!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid


                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.

                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function ()
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f784443%2fphp-warning-php-startup-unable-to-load-dynamic-library%23new-answer', 'question_page');

                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

                                Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

                                Antonio De Lisio Carrera Referencias Menú de navegación«Caracas: evolución relacional multipleja»«Cuando los gobiernos subestiman a las localidades: L a Iniciativa para la Integración de la Infraestructura Regional Suramericana (IIRSA) en la frontera Colombo-Venezolana»«Maestría en Planificación Integral del Ambiente»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«Conózcanos»«Caracas: evolución relacional multipleja»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»