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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...