xampp - localhost Wordpress site just downloads php file but won't serve the site itself

admin2025-06-03  4

I installed xampp and even downloaded a fresh wordpress from official site. It is running fine. But when i try to load my existing live site in localhost, it just downloads the php file but won't serve the site. What is it that i am missing? It runs fine in my friend's windows machine but not on my ubuntu. I even changed chmod permissions to the folder for it to be accessed.

I installed xampp and even downloaded a fresh wordpress from official site. It is running fine. But when i try to load my existing live site in localhost, it just downloads the php file but won't serve the site. What is it that i am missing? It runs fine in my friend's windows machine but not on my ubuntu. I even changed chmod permissions to the folder for it to be accessed.

Share Improve this question asked Feb 3, 2019 at 8:18 khkarthikkhkarthik 11 silver badge2 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

This is not a WordPress specific problem. And maybe a duplicate question of this https://stackoverflow/questions/12142172/apache-shows-php-code-instead-of-executing

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1748948778a315076.html

最新回复(0)