Hi guys, how can I disable opcache in docker setu...
# docker
a
Hi guys, how can I disable opcache in docker setup?
e
In your
deploy.*.yml
file:
Copy code
image:
    tag: spryker/php:7.4
    php:
        ini:
            "opcache.enable_cli": 0
            "opcache.enable": 0
a
I have disabled it but …
also in the output of phpinfo()
of course after changing the deploy file I reset the sdk and re-bootstrapped the thing 🤷🏻
e
Did you see if it's disabled?
php will still have the opcache, it will just be disabled, that's why you can see it on your screenshots
a
it says disabled
is there a way to just unload it
e
huh don't know how is there a reason to not want it on the project? If I remember correctly, opcache comes installed with php by default since 5.5
a
hmmm I am suspecting it is interfering with xdebug
e
I doubt that's the cause
a
so xdebug is not loading variables recursively .. even tho I have enabled unlimited depth
Copy code
xdebug.var_display_max_depth=-1
actually xdebug is acting wierd in general … so for example I cannot debug zed (because it seems like it is not accepting simultaneous connections) it is not showing nested vars
h
you mean ArrayObjects?
that's just working poorly with Spryker
you can do
Evaluate expression
and then run
$theTransferYouWantToCheckOut->getArrayCopy()
a
not only arrayobject any array is not working
I am used to array objects being so annoying
😅
it looks like a Hiccup in phpstorm .. I had to uninstall it and reinstall it … because just restarting the IDE won’t help
now it is showing max depth
I still need to see if debugging zed is working (hopefully 🙏🏻 )