Hot answers tagged

8

So this solved this for me, thank you @Steve Johnson. Edited php.ini file: session.save_handler = files ;session.save_path = "/tmp" --> session.save_handler = files session.save_path = "var/www/magento2/var/session" Edited php.env file: 'session' => array ( 'save' => 'files', ), --> 'session' => array ( 'save' => '...


4

Thank you so much this also helped me fix my problem... I had used the free Softaculous Installer via my cPanel to install Magento v2.2.6 It said the installation was successful but when trying to access Magento I got the error "There has been an error processing your request". I found the detailed error messages in the ./var/reports directory and they ...


3

You might want to look at this Github issue here. Magento is compiling a list of product IDs to send as a cache header but the header ends up being too long because the header string includes all children of each of the configured items in the result set. This was happening for us on one specific listing page, but it's really any result that has too many ...


3

This is an very interesting project you found there, I saw several of this kind over the last I think 8 years. The performance gains are indeed quite good. In general Magento2 should support PPM (thats how they name it in their readme, better we keep it, else people confuse it with PHP-FPM) But, you may need to do some small modifications and add triggers ...


2

sure you just read how it works in here: https://httpd.apache.org/docs/2.4/mod/mod_proxy_fcgi.html then in apache frontend vhost config you add something like this: <VirtualHost 1.2.3.4:443> ServerName example.com ServerAlias www.example.com DocumentRoot /home/example/public_html/ <IfModule proxy_fcgi_module> <FilesMatch \...


2

<models> <ws_firstorder> <class>ws_firstorder/observer</class> </ws_firstorder> </models> is wrong. Assuming your observer file is Ws_Firstorder/Model/Observer.php and the class is called Ws_Firstorder_Model_Observer then it should be <class>Ws_Firstorder_Model</class> If you check var/log/...


1

This seems to be an old topic but I'm stumble over it quite often. In my case, first I made sure the ports are properly setup : Then make sure PHP mode is switched to CGI mode: Add your domain/host and make sure it is using the nginx web server in general tab, also for additional magento configurations you could use the nginx tab : At this point you ...


1

Php-fpm is a separate service....when working with Apache the 'traditional' convention was to use mod_php, which would basically inject Php into the Apache process threads....so with that setup, you only needed to start/restart/stop Apache and everything would be good....when working with Php-fpm, the webserver handles the incoming request on port 80/443 (...


1

edit /app/etc/env.php file 'session' => [ 'save' => 'files', 'save_path' => 'D:\wamp64\www\projectName\var\session' // put full directory path ], it worked fine!


1

To start your 1x Webserver is not a cluster, you will require 2x web server to start. You can use NFS but at a certain volume you could see a performance hit depending on your network. I would recommend using LSYNC or at a minimum RSYNC to keep your instances sync'd. Your single SQL server will handle volume to a certain level depending on its power. For ...


1

You might try checking for network connection limits. We've seen that happen before where something opens a TON of connections to Redis, and stops further connections, then goes away on its own. The error messages are deceptive because they won't flat out say that and it takes some poking around to actually figure that out. I.e. Redis can only have so many ...


1

These are two separate issues and I can't imagine fast CGI caching to have to do with either of them. Especially since they get fixed with a php-fpm reload. Fast CGI caching errors would get fixed with a reload of nginx. So you're probably looking at a problem with the opcode cache and this is very likely with 5.4 if the opcache module is enabled, with ion ...


Only top voted, non community-wiki answers of a minimum length are eligible