HelioHost Posted April 16, 2019 Posted April 16, 2019 Username: gbarrios, Server: Ricky, Main domain: procesos.heliohost.org Regards. I?m setting up a site in wich I use a postgre database and PHP. This is thescript that I'm using to achieve it:$active_group = 'default';$query_builder = TRUE; $db['default'] = array('dsn' => '','hostname' => 'localhost:5432','username' => 'gbarrios_webmaster','password' => '**********','database' => 'gbarrios_procesos','dbdriver' => 'postgre','dbprefix' => '','pconnect' => FALSE,'db_debug' => (ENVIRONMENT !== 'production'),'cache_on' => FALSE,'cachedir' => '','char_set' => 'utf8','dbcollat' => 'utf8_general_ci','swap_pre' => '','encrypt' => FALSE,'compress' => FALSE,'stricton' => FALSE,'failover' => array(),'save_queries' => TRUE);When I try to enter the site, I receive the following message:Internal Server Error The server encountered an internal error or misconfiguration and was unableto complete your request. Please contact the server administrator at webmaster@procesos.heliohost.orgto inform them of the time this error occurred, and the actions youperformed just before this error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered whiletrying to use an ErrorDocument to handle the request. Could you tell me please, what's wrong with the code.
wolstech Posted April 16, 2019 Posted April 16, 2019 Have you made sure your file permissions are set to 644? PHP files only work with 644 permissions. The code itself looks fine. If it was a database issue, I'd expect a database connection error instead of a 500 error.
Recommended Posts