I copied a wordpress installation into my html-folder on my server var/www/html
, but it does not show up in my browser afterwards, instead it shows a apache test-page which is located in var/www/error
.
If I copy a file named index.html
into html-folder, it indeed shows up when I visit my website. To test PHP i have created a index.php
on /var/www/html/test/
now once i go to mydomainname/test/index.php
then it shows only PHP soruce code. Apache and PHP are installed on my CentOS, also restarted apache after that. Can you help?