faster than module or as FastCGI?

Hello,

 

I have a hosting package at Allinkl.com. On the server PHP runs in version 5.5 as a module. Other versions can be addressed via htaccess.

There is a module as a performer. In the net, however, I found this contradictory.

So what’s faster: module or FastCGI?

What would you guess what to use? There is apparently also the problem with use as a module that I have to give the file ownership to the PHP user (www-data), so Shopware file operations (media upload) can do. But then I have no access via FTP?

 

thanks

iosman

mod_php is part of webserver, this means php can‘t scale without scaling the webserver too. When running the webserver with fpm for example the php process can scale independently. In performance scenarios fpm/fcgi will be faster.

Basically the difference is between mpm-prefork (mod_php) and mpm-event: https://httpd.apache.org/docs/2.4/en/mpm.html

 

@iosman123 schrieb:

Hello,

 

I have a hosting package at Allinkl.com. On the server PHP runs in version 5.5 as a module. Other versions can be addressed via htaccess.

There is a module as a performer. In the net, however, I found this contradictory.

So what’s faster: module or FastCGI?

What would you guess what to use? There is apparently also the problem with use as a module that I have to give the file ownership to the PHP user (www-data), so Shopware file operations (media upload) can do. But then I have no access via FTP?

 

thanks,

iosman

 

thanks my issue has been fixed.