I have setup windows servers before so manually editing the http.conf and php.ini shouldn't pose a problem.
I know how to find and edit them via SSH.

However I am wondering if there is a way to do it via WHM and or cPanel, and if so if that means its unsafe to edit them via SSH.