Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It does not work anymore #1

Closed
hkusulja opened this issue Feb 18, 2017 · 2 comments
Closed

It does not work anymore #1

hkusulja opened this issue Feb 18, 2017 · 2 comments

Comments

@hkusulja
Copy link

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

@hkusulja
Copy link
Author

My issue with not uploading all dll's using Kudu interface. It works like expected.

@snobu
Copy link
Owner

snobu commented Feb 19, 2017

I strongly recommend moving away from ImageMagick on Windows, simply due to the quality of the port (with respect to the port authors). Just run on a Linux worker in App Service, comes with ImageMagick installed -

See this: https://docs.microsoft.com/en-us/azure/app-service-web/app-service-linux-how-to-create-a-web-app

You can also bring in your own Docker Container -
https://docs.microsoft.com/en-us/azure/app-service-web/app-service-linux-using-custom-docker-image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants