Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:web:web-hosting:web-management:configure-php [2018/12/14 15:56]
dedibox [Error 500]
en:web:web-hosting:web-management:configure-php [2019/09/25 18:07] (current)
dedibox [Error 500]
Line 350: Line 350:
 You have to add the following line:  You have to add the following line: 
 <​code>​ <​code>​
-AddHandler php7-fcgi php+AddHandler ​${php7php
 </​code>​ </​code>​
 Once you have uploaded the .htaccess file, the directory in question will use PHP 7.1. Once you have uploaded the .htaccess file, the directory in question will use PHP 7.1.
Line 410: Line 410:
  
 === Error in a PHP Script === === Error in a PHP Script ===
-An error 500 can come from an error in the PHP code. In order to debug it, you can change the `error_reporting` and `display_errors` in a user.ini file as described in "[[configure_php#​configuration_of_php|Configuration of PHP]]"+An error 500 can come from an error in the PHP code. In order to debug it, you can change the `error_reporting` and `display_errors` in a user.ini file as described in "[[configure-php#​configuration_of_php|Configuration of PHP]]"
  
 === Timeout === === Timeout ===
Line 418: Line 418:
  
 If your CMS uses the phpmailer class (XOOPS, WAnewsletter for example) you will have to update it. If your CMS uses the phpmailer class (XOOPS, WAnewsletter for example) you will have to update it.
-Replace the phpmailer directory present in your CMS with  the latest version proposed here [[http://sourceforge.net/project/showfiles.php?​group_id=26031&​package_id=252700]].+Replace the phpmailer directory present in your CMS with  the latest version proposed here [[https://github.com/PHPMailer/PHPMailer]].