fuzmic Posted October 3, 2017 Posted October 3, 2017 Hi guys I am not sure if i had added an .htaccess file in my folder or did your system do it. Please advice. THANK YOU. Quote
wolstech Posted October 3, 2017 Posted October 3, 2017 The system does this for a variety of reasons. Using certain functions in cpanel will create one for example. Quote
fuzmic Posted October 4, 2017 Author Posted October 4, 2017 Thank you Wolstech for the clarification. This file will cause mylocalhost not to start, so i just got to drop it within the localhost. What happens if i rename it to htaccess (not .htaccess) in the root folder in the tommy host? Quote
wolstech Posted October 4, 2017 Posted October 4, 2017 Renaming it will just disable it. The exact effects depend on what's in it. If you want, post the contents of it inside code tags here and I'll look. Quote
fuzmic Posted October 5, 2017 Author Posted October 5, 2017 Bro the content is as follows # php -- BEGIN cPanel-generated handler, do not edit# Set the “ea-php56†package as the default “PHP†programming language.<IfModule mime_module> AddType application/x-httpd-ea-php56 .php .php5 .phtml</IfModule># php -- END cPanel-generated handler, do not edit What you make of this ifModule? What in your system or what i do, cause this to be included? Quote
Krydos Posted October 5, 2017 Posted October 5, 2017 That .htaccess was created by the multiphp button in your cpanel. If you change the version of php you're using it will change the contents of that file. If you delete it your account will use the default php which is 5.6 Quote
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.