What's new
Your Hosting Talk

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

How to Install PHP script in Cpanel

As you came to know by the header topic itself, this write-up will lead you to how to install the PHP script in cPanel effectively.

Steps to Install PHP Script​

1. First, you have to log in to cPanel.
2. There from the tools which is a visible, select file manager and open it.
3. You must search for the “public html” directory.
4. Click on the upload option, which will be available at the top.
5. Now click on the “select file” button and choose file.
6. Wait till it has not been uploaded totally.
7. Now, you will see the zip file wordpress inside the public HTML folder.
8. Now, you have to just right-click on the file and click on “Extract” to extract the zip folder.
9. Now, a pop-up will enter the path you wish to extract the files. Now click on “extract files”.
10. After the extraction. A pop-up window will appear with the extracted files shown in it. Just click on “Close” to close the pop-up.
11. Now, the next step is to create the database. To build your database, you have to go to the cPanel main page and click on MySQL database.
12. You can enter the name you want to give in the blank space below. Then click on “Create New Database” and click on “Create database” your database is now created.
13. Now, “Go back” to create a user.
14. Now, to create a user for “MYSQL,” go to “MYSQL Users” and type the username always ensure that the user name always has alphanumeric characters. Not only that, put a strong password.
15. After adding that, you must go forward by clicking on the “create user” button once you have successfully entered the username and password.
16. You must add the created user to the database for the script to work perfectly with the database. Now you have to scroll and come down to the same page. You will see an option of add user to database at the bottom. Select the user you have created from the first drop-down. Now select the database that you have created from the second drop-down. Now click on “Add” Button.
17. Select all the checkboxes in the “Manage user privileges” section and click on “Make changes”. Selecting “All privileges” will give the user full access to the database through the script.

Hurray, it's successfully been done!!!
 

Users who are viewing this thread

Back
Top