thanks for the hints.
I have to put this aside for a few weeks so when I'm back I'll pick it up and get it all updated.
I simply installed it thought pkg on CentOS7 (I think...) I will try update it when I am back on the project.
thanks again
C
Search found 14 matches
- 2016-08-05T14:55:35-07:00
- Forum: Users
- Topic: Inner exception - cannot read file (PHP use)
- Replies: 6
- Views: 3749
- 2016-08-05T09:25:59-07:00
- Forum: Users
- Topic: Inner exception - cannot read file (PHP use)
- Replies: 6
- Views: 3749
Re: Inner exception - cannot read file (PHP use)
My version info PHP: PHP Version 5.6.24 ImageMagick Version: ImageMagick 6.7.8-9 2016-06-16 Q16 http://www.imagemagick.org GPL Ghostscript 9.07 (2013-02-14) ok, so something odd - I set up a test page, simple script, just did the following $imgPages = new imagick("/var/www/***/blabla.pdf"); echo ...
- 2016-08-05T05:13:16-07:00
- Forum: Users
- Topic: Inner exception - cannot read file (PHP use)
- Replies: 6
- Views: 3749
Re: Inner exception - cannot read file (PHP use)
All good questions for a noob
I will gather that info this evening and post it up for you. Thanks.
I will gather that info this evening and post it up for you. Thanks.
- 2016-08-05T02:36:13-07:00
- Forum: Users
- Topic: Inner exception - cannot read file (PHP use)
- Replies: 6
- Views: 3749
Inner exception - cannot read file (PHP use)
Hi folks, I've just started using imagemaick (amazingly awesome tool) with PHP and for the most part, it's working really well. I am getting an exception though when trying to load a particular pdf to convert to png. The error is that it cannot read the file. Some basics on it: The PDF is 87MB (1670 ...
- 2016-07-18T00:14:19-07:00
- Forum: Users
- Topic: Uncaught 'ImagickException' reading PDF with Ghostscript in PHP
- Replies: 10
- Views: 27630
Re: Uncaught 'ImagickException' reading PDF with Ghostscript in PHP
Thanks for changing the title. Hopefully it does help someone else.
- 2016-07-17T14:25:33-07:00
- Forum: Users
- Topic: Uncaught 'ImagickException' reading PDF with Ghostscript in PHP
- Replies: 10
- Views: 27630
Re: Uncaught exception 'ImagickException' with message 'Failed to read the file'
And we've solved it.
ln -s /usr/local/bin/gs /usr/bin/gs
Even putting the full path in the delegates.xml seemed to have no effect.
Sym-linking did the trick.
thanks for the help trying to fix it though - much appreciated.
ln -s /usr/local/bin/gs /usr/bin/gs
Even putting the full path in the delegates.xml seemed to have no effect.
Sym-linking did the trick.
thanks for the help trying to fix it though - much appreciated.
- 2016-07-17T13:53:18-07:00
- Forum: Users
- Topic: Uncaught 'ImagickException' reading PDF with Ghostscript in PHP
- Replies: 10
- Views: 27630
Re: Uncaught exception 'ImagickException' with message 'Failed to read the file'
thanks for the tip on gs.
I've put the full path in and it still does not work Still get the same error as always
I've put the full path in and it still does not work Still get the same error as always
- 2016-07-16T11:26:36-07:00
- Forum: Users
- Topic: Uncaught 'ImagickException' reading PDF with Ghostscript in PHP
- Replies: 10
- Views: 27630
Re: Uncaught exception 'ImagickException' with message 'Failed to read the file'
found delegates in /usr/local/etc/ImageMagick-6/delegates.xml However, it has nothing about ghostscript. All I can see for dpf is this: <delegate decode="pdf" encode="ps" mode="bi" command=""gs" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 ...
- 2016-07-16T11:15:32-07:00
- Forum: Users
- Topic: Uncaught 'ImagickException' reading PDF with Ghostscript in PHP
- Replies: 10
- Views: 27630
Re: Uncaught exception 'ImagickException' with message 'Failed to read the file'
I removed ghostscript package and reinstalled it. It wants to install the following: New packages to be INSTALLED: pecl-imagick: 3.4.1 ImageMagick-nox11: 6.9.4.3,1 ghostscript9-agpl-base: 9.16_5 Does this look right? if I give it a bad path on purpose I get a different error - Uncaught exception ...
- 2016-07-16T11:01:11-07:00
- Forum: Users
- Topic: Uncaught 'ImagickException' reading PDF with Ghostscript in PHP
- Replies: 10
- Views: 27630
Re: Uncaught exception 'ImagickException' with message 'Failed to read the file'
No, no conversions work with any pdf.
urm, what is delegates.xml? (off to try find out in the hopes it makes sense.)
urm, what is delegates.xml? (off to try find out in the hopes it makes sense.)
- 2016-07-16T10:16:08-07:00
- Forum: Users
- Topic: Uncaught 'ImagickException' reading PDF with Ghostscript in PHP
- Replies: 10
- Views: 27630
Uncaught 'ImagickException' reading PDF with Ghostscript in PHP
Hi folks, I've for php 5.6.23 running in a freebsd jail with imagemagick installed. I have a file (777) in the root called in.php. If I run the following in a command line it converts it fine convert in.pdf out.png If I run the following code, I get an exception: $path = '/mnt/web/LandCruiserClub/in ...
- 2016-07-04T12:34:53-07:00
- Forum: Users
- Topic: Cannot install on FreeBSD (FreeNAS)
- Replies: 3
- Views: 3522
Re: Cannot install on FreeBSD (FreeNAS)
How utterly frustrating. I could have just said:
All installed now and working.
Code: Select all
pkg install ImageMagick7-7.0.1.5
- 2016-07-04T11:54:49-07:00
- Forum: Users
- Topic: Cannot install on FreeBSD (FreeNAS)
- Replies: 3
- Views: 3522
Re: Cannot install on FreeBSD (FreeNAS)
thanks - I'll take a read of that.
Is there an easier way for installing this? I'm not precious about how I do it
Is there an easier way for installing this? I'm not precious about how I do it
- 2016-07-04T00:54:36-07:00
- Forum: Users
- Topic: Cannot install on FreeBSD (FreeNAS)
- Replies: 3
- Views: 3522
Cannot install on FreeBSD (FreeNAS)
Hi folks, I've been trying to install ImageMagick in a FreeNAS jail for a few days now and have lucked out. I've done the following: Download the latest version - 7.0.2 from this site and followed the tutorial Install from source I get to the make part and it churns through it for a while before ...