Jump to content

[Solved] How to enable PHP?


tmzafar

Recommended Posts

I created a test.php file to see if it's enabled, but i alays get an "Internal Server Error" and i also checked the permission tp 644. 

I created a new folder and inserted the php file ith the same permission and there i get "Forbidden

You don't have permission to access this resource.Server unable to read htaccess file, denying access to be safe". 

Then i inserted a plain php echo in html, but the code gets commented out. 

 

How do i know that PHP is enabled and can vie php files?

Link to comment
Share on other sites

The permissions changes didn't save it looks like...your test.php was still 664 (note the center 6...) even though you tried to change it to 644.

 

As soon as I changed it, the script worked fine: https://www.websoftops.de/test.php

I am somehow unable to change the permission after i renamed and uploaded the php file again. This time i tried saving it with 644. Could you please check?

Link to comment
Share on other sites

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...