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?
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
add a comment |
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
3
Well, can't say that i've ever seen .dll's being loaded in Ubuntu...
– bc2946088
Jun 8 '16 at 13:21
What doesphp -i | grep ".dll"
return when run in terminal? If it returns nothing, runphp -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 runfind /* -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
add a comment |
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
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
16.04 apache2 php php7
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 doesphp -i | grep ".dll"
return when run in terminal? If it returns nothing, runphp -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 runfind /* -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
add a comment |
3
Well, can't say that i've ever seen .dll's being loaded in Ubuntu...
– bc2946088
Jun 8 '16 at 13:21
What doesphp -i | grep ".dll"
return when run in terminal? If it returns nothing, runphp -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 runfind /* -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
add a comment |
4 Answers
4
active
oldest
votes
Run:
sudo gedit -H /etc/php/7.0/cli/php.ini
and comment out extension=php_intl.dll
.
add a comment |
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.
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
add a comment |
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)
add a comment |
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
New contributor
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Run:
sudo gedit -H /etc/php/7.0/cli/php.ini
and comment out extension=php_intl.dll
.
add a comment |
Run:
sudo gedit -H /etc/php/7.0/cli/php.ini
and comment out extension=php_intl.dll
.
add a comment |
Run:
sudo gedit -H /etc/php/7.0/cli/php.ini
and comment out extension=php_intl.dll
.
Run:
sudo gedit -H /etc/php/7.0/cli/php.ini
and comment out extension=php_intl.dll
.
edited Sep 12 '16 at 16:06
αғsнιη
24.8k2399161
24.8k2399161
answered Sep 12 '16 at 8:57
mary2501mary2501
6112
6112
add a comment |
add a comment |
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.
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
add a comment |
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.
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
add a comment |
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.
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.
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
add a comment |
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
add a comment |
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)
add a comment |
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)
add a comment |
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)
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)
answered Jan 22 '18 at 22:47
William RWilliam R
212
212
add a comment |
add a comment |
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
New contributor
add a comment |
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
New contributor
add a comment |
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
New contributor
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
New contributor
New contributor
answered 46 mins ago
SagarPPanchalSagarPPanchal
1034
1034
New contributor
New contributor
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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, runphp -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