|Join Nairaland / LOGIN! / Trending / Recent / New|
Stats: 2,754,531 members, 6,543,214 topics. Date: Monday, 18 October 2021 at 06:08 AM
|How Do I Install And Run A Php Script On My Cpanel? by Princedapace(m): 7:12am On Aug 05, 2019|
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(m): 10:02am On Aug 05, 2019|
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(m): 10:21am On Aug 05, 2019|
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.
|Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health |
religion celebs tv-movies music-radio literature webmasters programming techmarket
Nairaland - Copyright © 2005 - 2021 Oluwaseun Osewa. All rights reserved. See How To Advertise. 37