I would say it depends on what you want to work :
- Javascript is (mostly) client-side, like HTML/CSS and the other trhings you talked about
- It's mostly use to enhance existing web pages
- PHP is server-side
- It's used to generate web-pages
Working server-side (with PHP, for instance) generally means you'll have to learn more than just the one language you're thinking about.
For instance, to develop a web-application, you'll generally need :
- To learn the language, of course (PHP, here)
- To master a Framework (Symfony, Zend Framework, CodeIgniter, ...) -- nowadays, we generally don't develop an application without a solid Framework
- To have some at least basic knowledge of databases and SQL -- and for a complex application, you'll need more than basic knowledge
- To know some stuff about the general system that the application is running on (Linux, its filesystem, notions about the HTTP protocol, Apache, ...)
In the end, Javascript and PHP are definitly not meant to create the same kind of things : depending on what you want to do, you'll learn one or the other -- or both -- but it all depends on what you want to do ;-)