How Do I Install And Run A Php Script On My Cpanel? - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › How Do I Install And Run A Php Script On My Cpanel? (1633 Views)
| How Do I Install And Run A Php Script On My Cpanel? by Princedapace(op): 7:12am On Aug 05, 2019 |
Greetings I'm new to this thing and I would be grateful if anyone can tell me what I need to do. I got an API which I was told is a php script for scraping. It is just the code that is available. No direction on how to instal and execute it. All they said it just copy and paste it on your cpanel. I have done that but I still can't see how it works. I created a new .php file in my public root of my website, then copied the code and paste there and save. What else do I need to do? |
| Re: How Do I Install And Run A Php Script On My Cpanel? by RealLordZeus(m): 8:34am On Aug 05, 2019 |
Such script are usually dependent on other files but have u visited the url also! I:e yoursitename.com/url_of_the_scipt.php. Does it output any error |
| Re: How Do I Install And Run A Php Script On My Cpanel? by Princedapace(op): 10:02am On Aug 05, 2019 |
RealLordZeus:Thank you for the help. Lol, pls pardon me, Im totally new with this thing. Lol, but Im determined to make it work. Pls, how do I see the url of the script? I uploaded it directly on my site cpanel using file manager upload. And it is sitting on my website root folder. |
| Re: How Do I Install And Run A Php Script On My Cpanel? by RealLordZeus(m): 10:10am On Aug 05, 2019 |
Princedapace:Move/upload to public_html folder, then go to yoursite.com/file.php I'm assuming the name of the script is file.php |
| Re: How Do I Install And Run A Php Script On My Cpanel? by Princedapace(op): 10:21am On Aug 05, 2019 |
RealLordZeus:Oh, thank u very much. I think it is working as i could see a webpage that appeared. lol. Thank u brotherly. Let me now learn how the script works to use it for scraping. |
Buy Any Plugin Or Script On Envato & Codecanyon • Can Someone With Access To My Cpanel Make Changes To My Admin Dashboard? • Please How Do I Install Nulled Xenforo Script On My Hosting Server? • 2 • 3 • 4
What Does Someone Need To Know To Build Apps Like This? • Got Invited For A Senior Frontend Developer Interview. • I Need Help With Javafx Tableview Code.