Giter Site home page Giter Site logo

php-imagick-webapps's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

php-imagick-webapps's Issues

Can you integrate GhostScript too?

I have copied things over and I get imagick to work, but nothing I do gets PDF support. I've copied the GS libraries to a folder and added it to the path, but I don't know what else to do to tell ImageMagick about them. The phpinfo() dump does not show PDF or PDFA in the list of supported formats, even though the article (https://blogs.msdn.microsoft.com/azureossds/2015/12/07/php-imagemagick-on-azure-web-apps/) shows it in the screenshot. I know the GS DLL's themselves aren't redistributable, but if everything else was there along with an empty folder saying "GS LIBRARIES HERE" it would really make a difference!

imagick is not instaled or disabled reported by WordPress on Azure Web App

I installed the WordPress on Azure Web App with extension PHP7_64BIT_IMAGICK_6937.
Php version is 7.3.3.
Platform : 64bit
Managed pipeline: Integrated
HTTP Ver: 2.0
Web Socket: On
Always On: On
ARR: On

I read this block is inserted automatically in applicationHost.xdt
<runtime xdt:Transform="InsertIfMissing"> <environmentVariables xdt:Transform="InsertIfMissing"> <add name="Path" value="%Path%d:\home\site\imagick\;" xdt:Locator="Match(name)" xdt:Transform="InsertIfMissing" /> <add name="MAGICK_HOME" value="d:\home\site\imagick\" xdt:Locator="Match(name)" xdt:Transform="InsertIfMissing" /> <add name="MAGICK_CODER_MODULE_PATH" value="d:\home\site\coders\" xdt:Locator="Match(name)" xdt:Transform="InsertIfMissing" /> </environmentVariables> </runtime>

And the dll path is listed in php70_64.ini.

But the wordpress Site Health status still reports:
The optional module, imagick, is not installed, or has been disabled.

Any idea?

Thanks.

Add a link to PhpManager PowerShell module?

I just released a PowerShell module that can automatically download and install imagick on Windows.

Here's a sample PowerShell session:

PS C:\> Install-Module PhpManager -Scope CurrentUser -Force

PS C:\> Install-PhpExtension -Extension imagick -Path C:\Dev\PHP5.6.5
Downloading PECL package imagick 3.4.3 from https://windows.php.net/downloads/pecl/releases/imagick/3.4.3/php_imagick-3.4.3-5.6-ts-vc11-x86.zip
Installing new extension 'imagick' version 3.4.3
Checking prerequisites for imagick
Downloading and extracting https://windows.php.net/downloads/pecl/deps/ImageMagick-6.9.3-7-vc11-x86.zip
The extension imagick v3.4.3 has been enabled

PS C:\> Get-PhpExtension -Path C:\Dev\PHP5.6.5 | Where-Object { $_.Name -eq 'imagick' }
Type     : Php
State    : Enabled
Name     : imagick
Handle   : imagick
Version  : 3.4.3
Filename : C:\Dev\PHP5.6.5\ext\php_imagick.dll

(for PHP 7.2 you have to add -MinimumStability snapshot to the Install-PhpExtension command)

It does not work anymore

After copying files from "site" directory to a new Azure Web App, and setting variables as per screenshot.
test.php does not work.

PHP Fatal error: Uncaught exception 'ImagickException' with message 'unable to open module file `D:\home.magick\IM_MOD_RL_png_.dll': No such file or directory @ warning/module.c/GetMagickModulePath/812' in D:\home\site\wwwroot\test.php:20
Stack trace:
#0 D:\home\site\wwwroot\test.php(20): Imagick->setimageformat('png')
#1 {main}
thrown in D:\home\site\wwwroot\test.php on line 20

PNG does not work

I use ImageMagick-6.9.8-3-Q16-x86-dll and when I try to display an image in the png format, I get the following error

UnableToLoadModule 'D:\home\site\imagick\coders\IM_MOD_RL_png_.dll': The specified procedure could not be found. @ error/module.c/OpenModule/1282

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.