In addition to the basics (php, mysql or some other database, whatever else you plan on using)- also learn design patterns and a good testing framework like phpunit tor something. Look up a programming approach called "Test Driven Development". That does not have to be the exact way you develop but you will learn a lot of development habits from that school of thought.