fuzmic Posted June 26, 2019 Share Posted June 26, 2019 Hi gurusI have no problem if i download files & mysql db from Hostgator and run it from wamp.However if i download from Heliohost.org, running the related 'Virtual Host', it will just cause a download as a file which is actually the index.php of webpage.I have already disabled the .htaccess which is have extra line of<IfModule mime_module>AddType application/x-httpd-ea-php56 .php .php5 .phtml</IfModule>Hope to learn why. Thank You Quote Link to comment Share on other sites More sharing options...
Krydos Posted June 26, 2019 Share Posted June 26, 2019 Usually if your index.php downloads instead of displaying it means you have an error in your .htaccess. What is the url of the page that isn't working? Quote Link to comment Share on other sites More sharing options...
fuzmic Posted June 26, 2019 Author Share Posted June 26, 2019 Krydos mate Thanks The .htaccess in the root directory has only one lineRewriteEngine on I have also have no .htaccess but still don't work There a few more .htaccess eg libraries\vendor\ .. but they are the same as other local .htaccess that work. by url i assume you mean the virtual host; i use the following in the conf <VirtualHost *:80>ServerName p2u.localDocumentRoot "c:/wamp64/www/p2u"<Directory "c:/wamp64/www/p2u/">Options +Indexes +Includes +FollowSymLinks +MultiViewsAllowOverride AllRequire local</Directory></VirtualHost> Quote Link to comment Share on other sites More sharing options...
fuzmic Posted June 27, 2019 Author Share Posted June 27, 2019 Guys One question: is any thing added to the files unique from HelioHost? Quote Link to comment Share on other sites More sharing options...
fuzmic Posted June 27, 2019 Author Share Posted June 27, 2019 (edited) Guys for some reason when i browse from ucbrowser it works, thereafter also work in chrome - on one day after.I don't know why perhaps i force clean cache in the site files. From old memory similar event did happen due to content in .htaccess. Edited June 27, 2019 by fuzmic Quote Link to comment Share on other sites More sharing options...
Krydos Posted June 30, 2019 Share Posted June 30, 2019 So, everything is working now? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.