Follow along with the video below to see how to install our site as a web app on your home screen.
Note: this_feature_currently_requires_accessing_site_using_safari
If I knew what those were, I wouldnt ask bro. How do I put that <?php phpinfo(); ?> into that index.php that I got from cpagrip?Who know without seeing the PHP file.
I have a rock in my pocket what color is it?
What version of PHP are you running?
paste
<?php phpinfo(); ?>
into a .php filename
upload it to a server location (URI path) FTP sftp? nano, vi in ssh
then open it in a browser with your server's URL path to it.
(CHMOD the phpinfo file to 400 when you finish with it -- for security)
- is php available?
- and is cURL a permitted resource in PHP? <<< start here to see if you have the dependencies ...
I was able to do that and php version is PHP Version 5.6.40. Also I see cURL is enabled.Who know without seeing the PHP file.
I have a rock in my pocket what color is it?
What version of PHP are you running?
paste
<?php phpinfo(); ?>
into a .php filename
upload it to a server location (URI path) FTP sftp? nano, vi in ssh
then open it in a browser with your server's URL path to it.
(CHMOD the phpinfo file to 400 when you finish with it -- for security)
- is php available?
- and is cURL a permitted resource in PHP? <<< start here to see if you have the dependencies ...
Too much complication for a newbie to understand bro.Depends on the code in their PHP file
See if you can find the cpaGrip documentation for the file?
is there commentedI cannot see the file so have no idea.PHP:/* instructions in the file */
You curl some location, perhaps with some credentials, and the curl creates a content display (I am assuming). That, is not a DNS subdomain that is cloning or scraping content.
PHP should be global in the server's configuration and each virtual domain should have it enabled in WHM/cPanel (As I remember -- I stopped using cPanel 10 years ago.)
I read that *blurb* again and that PHP file should be placed in that subdomain's root that the webserver uses /home/user/ ?/public_html (as I remember the WHM set up). Or, you can path it from a subdirectory (folder) in that document root.
h t t p s ://sub.domain.com/ or h t t p s ://sub.domain.com/directory/ would be the URL to test in a browser.
index.php should be a default index. if you get a forbidden add the index.php to the end
Depends on the code in their PHP fileHow do I use the addon domain for my cpa grip offer?
/* instructions in the file */
I uploaded in public_html/a folder (that i created)What is in the php file exactly and where did you put it on your server?
I can't guess what is there... contact their support Monday.
No point in my guessing --the server has the dependencies -- that is established.