Customer
Comments
-
Thanks! Really helpful
-
Most of that is covered in our PHP Tuning guide, here: https://docs.platform.sh/languages/php/tuning.html#configure-opcache The opcache file check is on by default to support applications that gene...
-
I setup things like that, but I find myself having to redeploy, because deployments seems to be using the previous file versions Any idea what could be causing this?
-
My app is a typical Symfony one. I didn’t do anything special with how the templates are used/compiled. I run cache:clear at build and deploy, just like in your template.
-
Yes: compiled Twig templates. Could it be a case of not triggering a new build, just a deploy Maybe. But what does pushing code to Platform.sh do? Isn’t it supposed to trigger a new build?
-
Could it be a case of not triggering a new build, just a deploy, and so you don’t get updated code? I assume by Symfony templates you mean compiled Twig templates. (Sorry for the delay; Discourse’...
-
After investigating a bit, I found that sometimes Symfony templates are not updated correctly and still using their previous (probably cached) version. Can you help me with that? Thanks!
-
Yes, a code push that changes files in that application will trigger a new build; you can see in the console output if it’s building, and if there are any error messages along the way. I’m 98.3% ce...
-
I think I’m having the same issue. The twig files files are being regenerated by cache:clear in my deploy hook. I can see that in var/cache/prod I have the correct version. But the files being serv...
-
Thanks @matthias-van-woensel for this how-to. Looks like the msphpsql repository tags versions with “v” prefix : # installs mssql by compiling from source (pass specific version to compile) bash .d...