FTP is something different than the server which would run your PHP Files.

I would try to give an example

First create a simple PHP file and name in xyz.php
Put the following content into the file
PHP Code:
echo phpinfo();
Now open the filezilla and connect to your FTP server.
See if there is any folder named public_html / httpdocs or anything where you can host your php files for Apache server to run it.
After uploading the xyz.php file into the server use the browser to open the file


You should be able to see all the php configuration available on your server.

I hope it helps