On my RHEL server, I could see using which php
command that the location of PHP installation is /usr/bin/php
. I am wondering where do I put my php files and should I access it like <myservername>/php/<location of php file>
?
/var/www/mysite.com/*
Could you put some description?
What I understood from your reply is that I could place my php file inside www
folder?
How do I access it? Thanks
Well you need a webserver and host/dns setup to serve/view the php file output.
It’s there. How can I verify ? This was done by installation team so I am not aware of it.
Surely the installation team can verify it for you?
Is there a way I can verify? That’s why asking for help here.
What exactly are you trying to verify?
What do you get if you go to http://localhost
in your browser?
Based on not so much clear explanation above, I am assuming I would have to place my php(let’s say test.php
) file inside www
folder. Assuming this is the right location, how do I access this file which is located at the following location var/www/
?
I am working on server so localhost won’t work in my case I suppose. Trying to figure out what how would I access that php file, is it something like https://<myserver>/ ?????
Then you have to use the IP or domain name of your server.
Yes. Then what comes after https://<myserver>/
to access that php file?
The name of the PHP script https://<myserver>/file.php
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.