Learning something from scratch is almost always an arduous affair— you just have no concept where to kick stuff off or where to begin. I loathed to know about C++'s syntax idiosyncrasies when all I wanted to know was some darn programming ideas. This is less than an optimal scenario, as I'm sure you can agree.
Watch out for the Naysayers
If you're reading this, you're likely to have a lot of Googled choices about which language to learn and how to learn. And you must have undoubtedly run into a ton of papers about how much better language X is than PHP-and quickly PHP will die through obscurity. Haters will hate, as the common saying goes! As you understand, PHP was at the helm of the internet and that's for a very excellent reason. It is a mature language, it has excellent documentation and a huge amount of teaching resources along with a wide range of utilities constructed around it. And let's not forget that PHP has spawned the sheer proliferation of hosts and frameworks. Like the hosting of Heroku?
Try a full-stack framework
Now that you've been with a lightweight structure, the alternative route can now be checked— a complete stack framework. Typically, a complete stack framework ships with many more characteristics including code generators, ORMs, and an integrated server. The reason you need to check these out later is that a lot of' magic' is happening. It's hard to really dig into the better featured ones without a solid understanding of how lightweight frameworks function, since you're mostly going to be lost and won't know how things work with php programming.
Be involved and up to date
The web development sector rarely finds itself in a state of equilibrium everything is constantly evolving. Every day, new methods and instruments are launched and it is essential that you not only read about them, but also begin to contribute. Find some kind of glimpse in some frame? Send a patch. Have you added some fresh features? Patch away! Not only do they gain you good karma, they also gain precious points on your CV.