en Jump to content
gh0stshell

HHVM & Prestashop

Recommended Posts

Created a new site and it runs on HHVM. When I upload prestashop and get to the last step it always fails at creating file something and never gets past 0%. If I choose another PHP version like Fast CGI etc... the install goes through just fine. I would like to use HHVM like all the other sites are using and working fine on my server.

 

Prestashop = 1.7.1/1.7.2

HHVM 3.15.3

Apache 2.2

 

If I install using a working version of PHP and then switch to HHVM the site works, but once a customer logs in the logout stops working unless they clear their cookies which an annoyance to log out of a site.

Edited by gh0stshell

Share this post


Link to post
Share on other sites

You can't use PrestaShop with HHVM. PrestaShop depends on destructors being called at the end of execution. HHVM just skips them. That's why cookies don't work.

 

You can force the execution of destructors, but it didn't make any difference in my experience.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More