Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - lefaek

Pages: [1]
1
PHP / PHP files are downloaded instead of parsing
« on: March 03, 2018, 01:10:02 PM »
Hello
i installed cwp to fresh vps server. My problem is that all php files are not running. Instead they are downloaded.
I tried fix permission and rebuild hosts but nothing.
The permissions seems ok. Because i can run other files in same folder
eg. mysite.com/index.html is running but if you click mysite.com/index.php or other php file, the browser just download that file
I tried different versions of php (5.6, 7, 7.2) but nothing. install apache only and other versions with nginx+ varnish but still same problem. I add some apachehandlers to httpd.conf but nothing
(p.s. i always erase browser cache and cookies and restart apache and other services before any test)
Any help please

Pages: [1]