I’ve been trying to upload a web page containing PHP to cPanel. Is it necessary for the file to have the extension .html when uploading to cPanel?
When I upload the PHP file as it is, the page doesn’t open.
Any suggestions how to add a single PHP page to cPanel?
2
Answers
and you can upload it from upload menu
then you extrac it hope it help
File Manager
public_html folder
Upload File
Select PHP file
Navigate to site.com/file.php