Not able to run PHP file in preview mode without DNS
Hi friends,
I have setup a new VPS and installed cpanel. Everything works fine but when i wanted to test PHP file on my server before transffering all the files on this VPS I have got error message
"Not supported" on prevew mode e.g. 22.22.22.22/~username/test.php.
How to excute php file on my server in preview mode. I want to check everyting in website preview mode before moving all the files on this new VPS. I have not updated DNS with this new IP. I want to make sure everything works fine before final moving to this server.
Can you guys help me in this regards please. Thanks in advance.
-
Hello, The "Not Supported" message will occur when using the "CGI" handler with Apache Mod_Userdir. You will need to use another handler (e.g. suphp) if you want to utilize Apache Mod_Userdir. Documentation on selecting PHP handlers with EasyApache 4 is available at: hosts (file) - Wikipedia, the free encyclopedia Thank you. 0
Please sign in to leave a comment.
Comments
1 comment