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.
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.
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?
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.
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?
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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now