As everyone else has said above, PHP is as secure as you make it. If this is your first time using PHP, I'd guess that you know of the best ways to keep your PHP application completely secure, so I'd suggest seeing what systems that are already built that you could use. For example, if you need to build an online shop, there's systems like Magento built in PHP that have a whole community behind them. Likewise, WordPress is great for blogs, Drupal and Joomla are great for CMS sites, and the list goes on.
If you choose something already built with PHP then you can have a look at how things are done with PHP to help you learn the language. And then when you feel your skills are ready, you can change the code to suit your own specific needs.