Php Warning Php Startup Unable To Load Dynamic Library Mac
Table of Contents
- Php Warning Php Startup Unable To Load Dynamic Library Mac Os
- Php Warning Php Startup Unable To Load Dynamic Library Macbook Pro
- Php Warning Php Startup Unable To Load Dynamic Library '
Php -v shows PHP Warning: PHP Startup: mongo: Unable to initialize module Module compiled with module API=20090626 PHP compiled with module API=20100525 These options need to match in Unknown on line 0 – Kanav Jun 4 '14 at 7:23. Nov 02, 2018 Ensure the phpinfo.php file is configured with 0644 permissions.User and group ownership should be set to the corresponding cPanel account’s username. Here's an example of how to do this via the command line. PHP Warning: PHP Startup: Unable to load dynamic library 'bz2' (tried: xamppphpextbz2 (The specified module could not be found.), xamppphpextphpbz2.dll (The specified module could not be found.)) in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: xamppphpextcurl (The specified module could. Jul 10, 2008 PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/dbase.so' - /etc/php.d/dbase.so: cannot open shared object file: No such file or directory in Unknown on line 0 I am a Linux noob but have been in IT for about 10 years now.
Jul 12, 2006 PHP Warning: PHP Startup: Unable to load dynamic library 'C: PHP ext phpmysql.dll' - Access is denied. In Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C: PHP ext phpmysqli.dll' - Access is denied. In Unknown on line 0.
¶Steps to Install ImageMagick on UwAmp for Windows:
as of March 31, 2016
Detailed guide for newbies like me.
.. continued
4. Goto:
http://pecl.php.net/package/imagick
as of today, latest is 3.4.1 so I went to:
http://pecl.php.net/package/imagick/3.4.1/windows
My PHP version is: 5.6.18, and Thread Safety is Yes from
Step #1, so I downloaded:
5.6 Thread Safe (TS) x86
I got: php_imagick-3.4.1-5.6-ts-vc11-x86.zip
5. Unzip and copy 'php_imagick.dll' to the php extension folder:
In my case:
php_imagick.dll --> C:UwAmpbinphpphp-5.6.18ext
Note: this ZIP also contains dlls which other guides says
to extract to the extension folder of apache.
NO NEED TO DO IT. Step #3 has taken care of it.
6. Edit 'php.ini' and add at the very end (could be
anywhere I suppose):
[Imagick]
extension=php_imagick.dll
For super newbies: click the edit button in the UwAmp UI,
'php_uwamp.ini' will open and edit it. It will be copied to
the correct php.ini when UwAmp is restarted. I had
trouble at first since there are several php*.ini scattered
all over.
7. Restart Apache
8. Check PHPInfo
scroll to section (or find): imagick
number of supported formats: 234
If there is no 'imagick' section or 'supported format' is 0,
something went wrong.
Hope this helps.Steps to Install ImageMagick on UwAmp for Windows:
as of March 31, 2016
Detailed guide for newbies like me.
Took a long time to get it to work.
I initially followed:
http://php .net/manual/en/imagick.installation.php
but after installation, PHPInfo under imagick shows
number of supported formats = 0
So I followed these steps, clobbered from various sources
to get it to work.
1. Open PHPInfo and check:
Architecture = x86 or x64
Thread Safety = yes or no
2. Download ImageMagick from:
http://windows.php.net/downloads/pecl/deps/
In my case I downloaded: ImageMagick-6.9.3-7-vc11-x86.zip
because the Architecture under PHPInfo is x86
as for vc11 or vc14
search google for 'visual c++ 11 runtime' or
'visual c++ 14 runtime' and install it
3. Unzip and copy all dlls from the bin subfolder to the
Apache bin directory. It's a bunch of CORE_RL_*.dll
and IM_MOD_RL_*.dll plus a few other dlls.
In my case, I installed UwAmp in C:UwAmp, so:
(from zip) bin/*.dll --> C:UwAmpbinapachebinit is important to install correct version of Visual C++ redistributable Package.
for ImageMagick-6.5.8-10-Q16-windows-dll.exe -
Visual C++ 2008 Redistributable Package
http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bfAfter 2 hours of looking for help from different documentation & sites, I found out none of them are complete solution. So, I summary my instruction here:
1) yum install php-devel
2) cd /usr
3) wget http://pear.php.net/go-pear
4) php go-pear
5) See the following line in /etc/php.ini [include_path='.:/usr/PEAR']
6) pecl install imagick
7) Add the following line in /etc/php.ini [extension=imagick.so]
8) service httpd restart
Hopefully, I can save other engineer effort & time.. Good luck!To install on Ubuntu or Debian, using the package manager, use:
sudo apt-get install php5-imagick
sudo service apache2 reloadMac 10.10 Yosemite
install php via 'Homebrew', then:
$ brew install php53-imagick
and then:
reload php-fpm (or restart apache)For installing imagick in Windows do the following:
1. Download and install the ImageMagick API from http://www.imagemagick.org/script/binary-releases.php#windows. (In my case, I installed the lastest version: ImageMagick-6.9.2-10-Q16-x64-dll.)
2. Go to http://pecl.php.net/package/imagick and choose the version of imagick that best suits your PHP version. (Because I had PHP 5.4 I downloaded 'php_imagick-3.3.0-5.4-ts-vc9-x86.zip'.
3. Extract the contents of the zip file and go to the directory where the files were extracted.
4. Copy the php_imagick.dll in yout PHP's ext folder.
5. All the other dll that you extracted from the zip file can go into apache's bin directory. In my case, I have apache 2.2 and the bin directory is at: C:Program Files (x86)Apache Software FoundationApache2.2bin.
6. Activate the extention in your PHP.ini file by adding the following:
[Imagick]
extension: 'C:Program Files (x86)PHPextphp_imagick.dll'
7. Restart apache
8. Sit back and relaxSimple way to install ImageMagick on your linux machine(RHEL5,Cent OS 5)
#yum install ImageMagick*
#pecl install imagick sometimes you may have ask to install gcc compiler. if so execute #yum install gcc*
added the extension on php.ini
#echo 'extension=imagick.so' >> /etc/php.ini
#service httpd restartJust a note that the 'Ian Co' instructions for 'Installing ImageMagick on UwAmp for Windows' also works for XAMPP. Just change the paths accordingly.I too had the error 'Please provide a path to MagickWand-config or Wand-config program.' when installing on linux (in this case CentOS aka Red Hat).
The simple solution was to ensure 'ImageMagick-devel' and NOT 'ImageMagick' package was in place. Next comes the standard command:
pecl install imagick
Lastly, and as per the otherwise flawless instructions, edit php.ini to include:
extension=imagick.so
So, your installation in general works so that you can display the output from a PHP script-- even phpinfo(); works. Great start. If not, you likely have bigger problems or are compiling imagick into PHP. Best of luck.
But, back to where we are; PHP in general works, except the imagick extension isn't working or needs installed or something.
There is some very helpful information in the phpinfo(); output blocks.
(If phpinfo(); means nothing to you, hit the google. We'll wait.)
Notably the php.ini that PHP is using can be found there, very important. --Many instructions will tell you to put 'extension=imagick' into it.
Better would be to create an imagick.ini file (that has 'extension=imagick' inside) in the directory scanned for additional .ini files.
This is nice when the machine you are working on has multiple php.ini files and unused configurations littered about. phpinfo(); will tell you where the resources being used can be located in the file system.
Helpful to me, thought I'd share..
Valera Rozuvan ¶Recently I had to install ImageMagick on FreeBSD. The following commands achieved this without a problem.
cd /usr/ports/graphics/ImageMagick-nox11/
make install clean
service apache22 stop
cd /usr/ports/graphics/pecl-imagick/
make install clean
service apache22 start
NOTE: For some of the package dependencies you will be prompted to select optional add-ons. I left all the config options untouched except for those which provided integration with the X11 system. Those once I disabled.Windows installation is a bit more tricky since 'pecl install imagick' does NOT work properly.
Here's how I installed it:
1/ Install ImageMagick software http://www.imagemagick.org/script/binary-releases.php#windows
2/ Download pecl-5.2-dev.zip (choose the version relevant to your PHP) from http://snaps.php.net/
3/ Copy php_imagick.dll from the archive you've downloaded to your PHP extention folder.
4/ Add the following line to php.ini (in the exntentions section):
extension=php_imagick.dll
5/ Restart your server
6/ Try the example script to see all went well
Good luck :)imagick 2.2.2 might have a problem loading in PHP 5.3 by giving following error at start-up:
PHP Warning: PHP Startup: Unable to load dynamic library '../imagick.so' - ../imagick.so: undefined symbol: XStringListToTextProperty in Unknown on line 0
in this case, revert to PHP 5.2.8 and imagick-2.2.0 will work just fine.I have php 5.3.1 running on apache on windows (with xampp)
to get this working i installed the appropriate image magick from here http://imagemagick.org/script/binary-releases.php#windows
Then i needed the php_imagick.dll for vc6 (because im on apache not iis).
After a bit of searching i found someone hosting it here :
http://www.sk89q.com/2010/03/vc6-windows-binaries-for-imagick-2-3-0/
Hope this helps ^^This works for me
http://refreshless.com/blog/imagick-pecl-imagemagick-windows/For anyone attempting to install the binaries on windows xp, don't waste your time. You'll need to install this on windows 2003 Server (and up) or Windows Vista since there are dependences (msvcr80.dll) that will require it.Php Warning Php Startup Unable To Load Dynamic Library Mac Os
Martin dot Winstrand (a) gmail dot com ¶Sins I tried around a lot and searched the net to find a working dll for ImageMagic and PHP5.4, with bad results I at last found one working.
There is a guy (Mikko) that has a blog and he wrote about this and and have compiled a working solution. You find his blog about this here: http://valokuva.org/?m=201211.
Hope that this helps others as well.If you have used lampp first copy imagick.so from /usr/lib/php5/20060613+lfs/imagick.so path and paste it to php lib.(/opt/lampp/lib/php/extensions/no-debug-non-zts-20060613)
Then edit your php.ini and add extension=imagick.soAddendum to Ian Co's 'Steps to Install ImageMagick for Windows' specifically for Uniform Server Z and how to fix if you get an empty list of ImageMagick supported formats):
Thanks to Ian Co's comments above for setting me in the right direction.
My Uniform Server is installed to B:UniServerZ, adjust the following steps to your specific installation.
If you've been messing around with a gazillion solutions like me, first delete any previous copies of imagemagick dll-s (i.e. IM_MOD_RL..dll-s, CORE_RL..dll-s) from your sysem, i.e. I had copied them to C:Windowssystem, B:UniServerZcorephp56, B:UniServerZcorephp56extensions.
1. Download ImageMagick-6.8.9-1-vc9-x86.zip from http://windows.php.net/downloads/pecl/deps/
Extract contents of bin folder to B:UniServerZcorephp56 (or whichever vresion of php you are using)
2. Download the appropriate imagick package from http://pecl.php.net/package/imagick/3.1.2/windows
For me the right one was php_imagick-3.1.2-5.6-ts-vc11-x86.zip , check phpinfo whether you need the thread-safe version or not and which architecture.
Extract php_imagemagick.dll ONLY (and not the other dll-s) to B:UniServerZcorephp56extensions
Previously I had tried ImageMagick-6.9.3-7-vc11-x86.zip and ImageMagick-6.9.3-7-vc14-x86.zip but the dll-s here did not work, perhaps because Uniform Server was compiled using VC9? and these were compiled with later versions!? What a mess.
I had also tried creating a C:ImageMagick and adding it to PATH user-level and to MAGICK_HOME system-level environment variables, but this proved unnecessary (although it also works).
Also, installing the windows binary releases from
http://www.imagemagick.org/script/binary-releases.php#windows
was unnecessary (and might actually mess things up if windows tries those dll-s first).I have spent many hours trying to get Imagick work on Windows. Finally I have succeeded!
A post on StackOverflow has been made so everyone can see it:
http://stackoverflow.com/questions/18375092/imagick-php-windows/36378764#36378764Php Warning Php Startup Unable To Load Dynamic Library Macbook Pro
- ImageMagick
Installation
Cette extension est disponible pour PHP 5.2.0 dans PECL ou nativement pour PHP 5.3. Il y a donc 2 méthodes pour installer cette extension.
Des informations sur l'installation de ces extensions PECL peuvent être trouvées dans le chapitre du manuel intitulé Installationdes extensions PECL. D'autres informations comme les notes sur les nouvelles versions, les téléchargements, les sources des fichiers, les informations concernant les mainteneurs ainsi qu'un CHANGELOG, peuvent être trouvées ici : » https://pecl.php.net/package/intl.
Repair library permissions mac photos. Mar 24, 2020 You repeatedly get a message that macOS needs to repair your Library to run applications. Photos and videos that you import into Photos or iPhoto don't appear within the app, but do appear in Finder. Use these steps to reset permissions. Turn on or restart your Mac, then immediately press and hold Command (⌘)-R to start up from macOS. Jan 09, 2019 Try booting in Safe Mode by pressing the Shift Key while restarting or powering up–it solved my problems with the Photos App repairing its permissions; Check that the Photos main library allows you to Read & Write. Go to the photos library. Apr 16, 2016 I've used disc utility to check for errors on the hard drive, I opened iPhoto using the option/command key, and then used the Library Repair panel to repair permissions. I rebooted in recovery mode and used terminal to reset the passwords to make sure I had ownership. When these things did nothing, I tried to import the photos manually. Mar 18, 2020 Follow these steps to use the Photos library repair tool: Hold down the Option and Command keys while you open Photos on your Mac.
Part 2: Copy Music from iTunes to Flash Drive with Free Tenorshare iCareFone; Part 3: Tips for Moving Data from iTunes Library to Hard Drive; Part 1: Transfer iTunes Library to USB Stick from iTunes Media Folder. Normally you can move iTunes library to another drive on Windows 10/8/7 and Mac directly, here are the detailed steps. Oct 09, 2013 Many flash drives are so small these days that they are barely noticeable when connected to a portable computer, often just a little nub sticking off the side of a USB port. Assuming you have an external USB drive or flash disk ready, let’s get started moving the iTunes collection over to it. Transferring an iTunes Library to an External Drive.
Aug 12, 2019 iMusic - Best iTunes Library Management Tool to Copy iTunes Library to Any Place Copy iTunes Library to New Mac/PC with one click. ITunes Library ID3 management automatically. Add and Remove media to your iTunes library. Clean your iTunes library in one-click (or delete any duplicates) Backup and Restore iTunes library content easily. Jan 04, 2020 How to Move Your iTunes Library. You can move your iTunes library to a different folder, computer, or drive. Here's how to do it, even in macOS Catalina, which ditches iTunes for the Music app. But sometimes, you may want to copy iTunes library to flash drive so that you can play your music on other devices as well. Fortunately, there are multiple ways to export iTunes music library to flash drive and the following guide shows a few: Method 1: Copy iTunes Library to Flash Drive from iTunes.
Aussi, --enable-intl activera l'extension de manière embarquée à la compilation.
Si votre bibliothèque ICU est installée dans un dossier non-standard, vous aurez peut-être à spécifier sa localisation via la variable d'environnement LD_LIBRARY_PATH, afin que le compilateur dynamique puisse la trouver :
Autrement, si PHP et ICU sont installés dans leurs dossiers par défaut, alors aucune option particulière ne sont nécessaire pour `configure'.
User Contributed Notes 10 notes
On windows servers, open your php.ini (which should be in Program Files/PHP), and simply uncomment the extension.
extension=php_intl.dll
Restart IIS Webserver - done.For php7 on Ubuntu
sudo apt-get install php7.0-intlPhp Warning Php Startup Unable To Load Dynamic Library '
¶To install on windows uncommenting the dll in php.ini is not enough you also need to include several other libraries in your system path (not user path). Found these details here: http://stackoverflow.com/a/6086991/819883- open your php.ini file c:/xampp/php/php.ini or search how to find it, it's up to your server.
- find for ;extension=php_intl.dll
- remove the comment ;
- restart the apache
- then it's working :)
i used the same when i have problem in any extensions, open php.ini then search for the extension then remove the comment.On Fedora 18 'pecl install intl' wasn't working after 'yum -y install icu' so I had to run 'yum -y install php-intl' insteadOS : CentOS 5.10
PHP : 5.5.12
We tried installing via *pecl install intl* , but we were getting below warning in php error logs
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20121212/intl.so' - /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/local/lib/libicuio.so.55) in Unknown on line 0
Later we tried icu source from http://site.icu-project.org/download
Compile ICU ./configure --prefix=/opt/icu && make && make install
And post which we compiled PHP via source with following configurations:
--enable-intl
--with-icu-dir=/opt/icuYou need to install the library.
yum install libicu-devel
Will get it working with 'pecl install intl'For windows I had to uncomment extension=intl in the php.iniI'm running on Mac OS X using a MacPorts install. According to this page, my vanilla version of PHP 5.3.5 from MacPorts should include the intl functions by default. As far as I can see from phpinfo(), the MacPorts version did not disable it. However, the functions aren't visible and don't work.
It seems to require an additional:
sudo port install php5-intl
After which everything bursts into life.- Installation/Configuration