Chapters
30 Chapters
|
2:45:48
|
Login to bookmark this video
-
Course Code
Subscribe to download the code!Compatible PHP versions: >=5.5.9
Subscribe to download the code!Compatible PHP versions: >=5.5.9
-
This Video
Subscribe to download the video!
Subscribe to download the video!
-
Subtitles
Subscribe to download the subtitles!
Subscribe to download the subtitles!
-
Course Script
Subscribe to download the script!
Subscribe to download the script!
15.
Cache Permissions
Scroll down to the script below, click on any sentence (including terminal blocks) to jump to that spot in the video!
Subscribe to jump to this part in the video!
Keep on Learning!
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
This tutorial is built using an older version of Symfony, but the core concepts of Ansible are still valid. New versions of Ansible may contain some features that we don't use here.
What PHP libraries does this tutorial use?
// composer.json
{
"require": {
"php": ">=5.5.9",
"symfony/symfony": "3.1.*", // v3.1.4
"doctrine/orm": "^2.5", // v2.7.2
"doctrine/doctrine-bundle": "^1.6", // 1.6.4
"doctrine/doctrine-cache-bundle": "^1.2", // 1.3.0
"symfony/swiftmailer-bundle": "^2.3", // v2.3.11
"symfony/monolog-bundle": "^2.8", // 2.11.1
"symfony/polyfill-apcu": "^1.0", // v1.2.0
"sensio/distribution-bundle": "^5.0", // v5.0.12
"sensio/framework-extra-bundle": "^3.0.2", // v3.0.16
"incenteev/composer-parameter-handler": "^2.0", // v2.1.2
"doctrine/doctrine-migrations-bundle": "^1.2", // v1.2.0
"snc/redis-bundle": "^2.0", // 2.0.0
"predis/predis": "^1.1", // v1.1.1
"composer/package-versions-deprecated": "^1.11" // 1.11.99
},
"require-dev": {
"sensio/generator-bundle": "^3.0", // v3.0.8
"symfony/phpunit-bridge": "^3.0", // v3.1.4
"doctrine/data-fixtures": "^1.1", // 1.3.3
"hautelook/alice-bundle": "^1.3" // v1.4.1
}
}
10 Comments
Hello!
Thanks for tutorial. It's great!
But, on this chapter I stacked.
Ansible works perfect, but my project does not work. In firefox browser I see
next error: "We can’t connect to the server at www.mootube.l".
May be I missed something?
I have a Ubuntu distribution 18.04, and the same on vagrant.
Hey Damir,
Did you add www.mootube.l to your hosts? I mean that /etc/hosts file. Also, please, keep in mind that "www.mootube.l" and "mootube.l" are different hosts, and you should add them both to your /etc/hosts
Cheers!
Hey Victor,
I have one modul writing "mootube.l" server name. How can i write "www.mootue.l" ? If I copy and paste modul, I just rewrite all lines with "mootube.l".
Hey Damir,
I suppose you just need to use "mootube.l" instead of "www.mootube.l" - the easiest solution. So, literally, use the exact same domain in the browser URL as you use in your Ansible playbooks, as I understand it should be http://mootube.l for you (not http://www.mootube.l)
Cheers!
Hey Victor,
I don't know, what was the problem. I just added in file /etc/hosts of my host machine vagrant's IP with "mootube.l" domain name, and it's works. Will see is it works in future :). May be I will find problem later.
Thanks.
Hey Damir,
Yeah, you had to do this, and we mention this somewhere in this course, so probably you just missed it. Glad it works finally!
Cheers!
hello i have a problem with a script im working on... and i really need your help with it.. my email is patorikky@gmail.com....just send me an email so that we can engage in a discussion from there....or you can send me a whatsapp text +2349025627930 it'll be easier for us to communicate there
Hey Junior,
I'm sorry, but we do not provide support via WhatsApp, etc. And unfortunately we do not have a bandwidth for providing support in your personal projects, we can answer only questions related to the screencasts. If you have a question related to our screencasts, please, post the comment below the video where you have the problem.
I hope this helps!
Cheers!
Hi Guys: Which course talk about making annotations cache in APC?
Thanks
Hey Jian,
Unfortunately, we don't have such course, but we talk about APC in this screencast: https://knpuniversity.com/s... . However, if you're on PHP >=5.5 - you probably want to use OPcache instead of APC.
Cheers!
"Houston: no signs of life"
Start the conversation!