Open barnabywalters opened 12 years ago
is the php5-imagick extension not available for php 5.4? It seems like it should be.
How did you upgrade PHP? Can you reinstall the php5-imagick extension?
Just downgraded php and a whole load of packages so I can run OP nicely again.
I'm on debian, using aptitude for package management.
Looks like php uses a virtual package representing the version of the php api in order to let extensions know whether they're supported. When I tried to install php5-imagick, with php5.4 installed, I got the following complaint:
username@host:~$ sudo aptitude install php5-imagick
[sudo] password for barnabywalters:
The following NEW packages will be installed:
libice6{a} liblcms1{a} liblqr-1-0{a} libmagickcore3{a} libmagickwand3{a}
libsm6{a} libxext6{a} libxt6{a} php5-imagick{b} x11-common{a}
0 packages upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2853 kB of archives. After unpacking 9261 kB will be used.
The following packages have unmet dependencies:
php5-imagick: Depends: phpapi-20090626+lfs which is a virtual package.
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) php5-imagick [Not Installed]
I recently upgraded to PHP 5.4 in order to access some of the nice new features. Unfortunately this broke openphoto. I figured out it was caused by the latest version of the php5-imagick wrappers not being compatible with php 5.4.
Symptoms:
From the apache error logs:
processing /tmp/phpSfCHpA [Tue Aug 21 20:08:36 2012] [error] [client 89.242.55.82] PHP Fatal error: Class 'Imagick' not found in /__PATH__/photos/src/libraries/adapters/ImageImageMagick.php on line 35, referer: http://photos.waterpigs.co.uk/photos/upload [Tue Aug 21 20:09:57 2012] [notice] child pid 1200 exit signal Segmentation fault (11) [Tue Aug 21 20:09:58 2012] [notice] child pid 2146 exit signal Segmentation fault (11) [Tue Aug 21 20:09:59 2012] [notice] child pid 2145 exit signal Segmentation fault (11) [Tue Aug 21 20:10:27 2012] [notice] child pid 2174 exit signal Segmentation fault (11) [Tue Aug 21 20:10:28 2012] [notice] child pid 2173 exit signal Segmentation fault (11) [Tue Aug 21 20:10:29 2012] [notice] child pid 2144 exit signal Segmentation fault (11) processing /tmp/phpzRQYBw [Tue Aug 21 20:14:26 2012] [error] [client 89.242.55.82] PHP Fatal error: Class 'Imagick' not found in /__PATH__/photos/src/libraries/adapters/ImageImageMagick.php on line 35, referer: http://photos.waterpigs.co.uk/photos/upload [Tue Aug 21 20:17:00 2012] [error] [client 58.218.199.227] script '/var/www/ip.php' not found or unable to stat processing /tmp/phpUYl3Tb [Tue Aug 21 20:17:41 2012] [error] [client 89.242.55.82] PHP Fatal error: Class 'Imagick' not found in /__PATH__/photos/src/libraries/adapters/ImageImageMagick.php on line 35, referer: http://photos.waterpigs.co.uk/photos/upload processing /tmp/phpVIAx22 [Tue Aug 21 20:20:30 2012] [error] [client 89.242.55.82] PHP Fatal error: Class 'Imagick' not found in /__PATH__/photos/src/libraries/adapters/ImageImageMagick.php on line 35, referer: http://photos.waterpigs.co.uk/photos/upload processing /tmp/php13iFdN [Tue Aug 21 20:34:14 2012] [error] [client 89.242.55.82] PHP Fatal error: Class 'Imagick' not found in /__PATH__/photos/src/libraries/adapters/ImageImageMagick.php on line 35, referer: http://photos.waterpigs.co.uk/photos/upload [Tue Aug 21 20:35:03 2012] [error] [client 204.236.137.113] {severity:warn, description:"Uncaught exception (/__PATH__/photos/src/libraries/external/epi/EpiException.php:13): Could not find route / from /", additional:} [Tue Aug 21 20:35:29 2012] [error] [client 204.236.137.113] {severity:warn, description:"Uncaught exception (__PATH__/photos/src/libraries/external/epi/EpiException.php:13): Could not find route / from /", additional:} [Tue Aug 21 20:39:32 2012] [notice] child pid 2471 exit signal Segmentation fault (11) [Tue Aug 21 20:39:33 2012] [notice] child pid 1804 exit signal Segmentation fault (11) [Tue Aug 21 20:39:34 2012] [notice] child pid 1803 exit signal Segmentation fault (11) [Tue Aug 21 20:43:43 2012] [notice] child pid 752 exit signal Segmentation fault (11) [Tue Aug 21 20:43:44 2012] [notice] child pid 2585 exit signal Segmentation fault (11) [Tue Aug 21 20:43:45 2012] [notice] child pid 1833 exit signal Segmentation fault (11) [Tue Aug 21 20:44:09 2012] [notice] child pid 2590 exit signal Segmentation fault (11) [Tue Aug 21 20:44:10 2012] [notice] child pid 2591 exit signal Segmentation fault (11) [Tue Aug 21 20:44:11 2012] [notice] child pid 2587 exit signal Segmentation fault (11)