I have a backup of an old website which is no longer live. The backup was saved as a zip file.
I have restored the website files to a share on a server which restores cgi-bin and public_html folders. The public_html folder contains the bulk of the data and also contains a file named index.php.
There is no index.html, just the index.php file. My problem is that when I open this file using a browser, the contents of the file are displayed.
Anyone know how I can view the website, please?
You’ll need a web server that can run PHP code.
PHP is a server-side scripting language, The idea is that clients are served the results generated by the script in index.php, not the actual contents of the file.
Thanks. I slowly came to realise this after doing more searching. I spent a few minutes trying to get IIS on my Win7 Pro machine to load it but had no joy, which is unsurprising as I know very little about this. Can IIS help me access this data? If so, I’ll do some more searching and try to find out how to do it.
You will need to load PHP in IIS.
You must be logged in to reply to this topic.
Create a free account today to participate in forum conversations, comment on posts and more.