Giter VIP home page Giter VIP logo

Comments (2)

BitOne avatar BitOne commented on July 22, 2024

Hi Sylvain,

Thanks for the feedback. But as stated in the documentation, we use APC for user cache, not for opcode cache (the part that is not compatible with PHP 5.5).

So you should be able to use APCu as a drop-in replacement. Some of our devs are working on PHP 5.5 with APC user cache without any problem (Ubuntu 13.10), and withtout even notice that something changed as Ubuntu automatically replace php-apc package by php-apcu package for PHP 5.5.

Can you test with APCu and give us some more information about your environment, so I can update the documentation on the pre-requisites ?

And by the way, what are the problem you have with APC and PHP 5.4 ? It works pretty well, and we have several installation in production with it without any problem.

Thanks !

from pim-community-dev.

sylvainraye avatar sylvainraye commented on July 22, 2024

Hello Benoit,

Regarding using PHP 5.4 and APC, I had several issues with Magento on Ubuntu 12.04 in december for a live server, it was problems with include and require functions, Zend library files were not found because I use capistrano to deploy my code and it uses symlinks in several places, the source came from that I think. I read somewhere at this time similar issues and incompatibilities with PHP 5.4 and APC, for this reason I kept that in mind. There is now a patch for Magento and PHP 5.4, I didn't had the opportunity to test it but I don't think that it resolves those symlink issues. Maybe PHP 5.4 and APCu it's better.

Now I am trying on dev environment PHP 5.5 because there is an integrated OpCode cache and should replace APC. After those several years of Magento experience, for me performance is one of my priority. As I expect to get a demo environment on a live server with Magento, Akeneo and OroCRM. I take the opportunity to make that work with PHP 5.5 and see if it makes sense and can go further with that.

I did a vagrant box and a puppet provision which will be similar to my live server:

  • Ubuntu 12.04 LTS
  • Apache 2.4.7 (I had to adapt all .htaccess, deny from all is not supported anymore)
  • PHP 5.5.9
  • MySQL 5.5.35

Thanks about APCu, I forgot this new module for PHP. I added it and now it works well.

from pim-community-dev.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.