Jump to content

Internal Server Error


james
 Share

Recommended Posts

Hello everyone,

I am new to pw and like to try it on a shared hosting. The server has no domain pointing to but is reachable http://web92.login-48.hoststar.ch

Installation is done and the install.php says: ProcessWire requires PHP version 5.3.8 or newer. You are running PHP 5.2.17:

http://web92.login-48.hoststar.ch/install.php

The support of the hosting company proposed to ad this

Action php /cgi-php55/php
AddHandler php55 .php
to the top of my .htaccess file.
 
I tried all the hints in .htaccess against the 500 errors. None worked. I alwys get "Internal Server Error" as soon as I have the .access file in place. You may check http://web92.login-48.hoststar.ch/phpinfo.php
 
As I know my hoster is a reseller of Hetzner Germany.
 
Is there a way to to use this server for my first steps?
 
Your help is verry appreciated!
james
 
 
Link to comment
Share on other sites

Hi, have you tried this? In the PW htaccess at the bottom, there are 2 rules. Try to comment out the one and comment the other.

 # -----------------------------------------------------------------------------------------------

  # Pass control to ProcessWire if all the above directives allow us to this point.
  # For regular VirtualHosts (most installs)
  # -----------------------------------------------------------------------------------------------
  RewriteRule ^(.*)$ index.php?it=$1 [L,QSA]
 
  # -----------------------------------------------------------------------------------------------
  # 500 NOTE: If using VirtualDocumentRoot: comment out the one above and use this one instead.
  # -----------------------------------------------------------------------------------------------
  # RewriteRule ^(.*)$ /index.php?it=$1 [L,QSA]
Link to comment
Share on other sites

Hi James - welcome to PW, and to the forums. :)

Have you perhaps had a look at this support article: https://www.hoststar.ch/en/node/2613 ?

Thanks Mike for your fast help. Good hint!

I tried with no success ticking the PHP 5.5 / 5.6. It does not change anything. A .htaccess file with just this:

Action php /cgi-php55/php

AddHandler php55 .php
show up as: "PHP version 5.5.19" with the install.php
 
Any idea what to try next?
Thanks!
Link to comment
Share on other sites

Hi, have you tried this? In the PW htaccess at the bottom, there are 2 rules. Try to comment out the one and comment the other.

 # -----------------------------------------------------------------------------------------------

  # Pass control to ProcessWire if all the above directives allow us to this point.
  # For regular VirtualHosts (most installs)
  # -----------------------------------------------------------------------------------------------
  RewriteRule ^(.*)$ index.php?it=$1 [L,QSA]
 
  # -----------------------------------------------------------------------------------------------
  # 500 NOTE: If using VirtualDocumentRoot: comment out the one above and use this one instead.
  # -----------------------------------------------------------------------------------------------
  # RewriteRule ^(.*)$ /index.php?it=$1 [L,QSA]

yes, this I tried before I asked here.

Link to comment
Share on other sites

The installer says there's another htaccess file there - just rename it to something else (like old.htaccess) and refresh the installer. You should be good to go.

as soon as the pw .htaccess is in place, I get the "internal server error". I will ask the hoster for help how to get this running. And post back. Thanks

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...