skip to Main Content

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


  1. you can zip your file first

    and you can upload it from upload menu
    then you extrac it hope it help

    Login or Signup to reply.
  2. File Manager

    public_html folder

    Upload File

    Select PHP file

    Navigate to site.com/file.php

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search