Control Web Panel

WebPanel => Apache => Topic started by: WebDux on October 05, 2015, 06:37:40 AM

Title: Can't create scaled image automaticly under Nginx+Apache+Varnish
Post by: WebDux on October 05, 2015, 06:37:40 AM
Hi,

I am using CWP's Nginx+Apache+Varnish and I run Drupal on the server.

But now the Drupal can't create scaled image under this setup, so is there anybody could give me some tips how to let the application create the scaled image under Nginx+Apache+Varnish, please?

Thanks in advance.

Xiaotao Cao
Title: Re: Can'd create scaled image automaticly under Nginx+Apache+Varnish
Post by: Administrator on October 05, 2015, 06:54:00 PM
do you know requirements (probably php) for that images ?
Title: Re: Can't create scaled image automaticly under Nginx+Apache+Varnish
Post by: WebDux on October 06, 2015, 07:29:03 AM
Hi dear Administrator,

I check the www.nginx.com, which says it need php-fpm for Drupal and need do some configuration. You can check the Nginx's link: https://www.nginx.com/resources/wiki/start/topics/recipes/drupal/ .

Does CWP support php-fpm, please? Because I worry changed conf file by myself may affect the server.

Please give us some idea to fix the error.

Thanks in advance.
Title: Re: Can't create scaled image automaticly under Nginx+Apache+Varnish
Post by: Igor S. on October 07, 2015, 10:45:11 AM
Hi.

I'm afraid CWP doesn't suport php-fpm.
Title: Re: Can't create scaled image automaticly under Nginx+Apache+Varnish
Post by: WebDux on October 08, 2015, 02:42:35 AM
Hi Igor,

If CWP can't support Drupal create scaled thumbnail image automaticly, it will be a big problem. You may know that Drupal is very famous CMS.

If there is any way to fix this problem without php-fpm, please?
Title: Re: Can't create scaled image automaticly under Nginx+Apache+Varnish
Post by: Igor S. on October 26, 2015, 08:35:25 PM
Hi.
Of course you can using Drupal and PHP as suPHP.
Just check require modules and recompile your PHP with it.