Jump to content

Recommended Posts

Posted

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.

Posted

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?

Posted

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.

Posted

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?

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...