I followed these instructions and tried to install switchable PHP versions. But after switching to 5.6, web does not work and I see only this:

Error screen

But when I again switch back to 7.0, everything works fine.

Where is the problem?

error.log:

[Fri Sep 14 06:26:01.989335 2018] [mpm_prefork:notice] [pid 9621] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Fri Sep 14 06:26:01.989378 2018] [core:notice] [pid 9621] AH00094: Command line: '/usr/sbin/apache2'
[Fri Sep 14 14:34:31.205211 2018] [mpm_prefork:notice] [pid 9621] AH00169: caught SIGTERM, shutting down
[Fri Sep 14 14:34:32.378475 2018] [mpm_prefork:notice] [pid 14323] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Fri Sep 14 14:34:32.378639 2018] [core:notice] [pid 14323] AH00094: Command line: '/usr/sbin/apache2'
[Fri Sep 14 14:34:41.958284 2018] [mpm_prefork:notice] [pid 14323] AH00169: caught SIGTERM, shutting down
[Fri Sep 14 14:34:43.207179 2018] [mpm_prefork:notice] [pid 14395] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Fri Sep 14 14:34:43.207334 2018] [core:notice] [pid 14395] AH00094: Command line: '/usr/sbin/apache2'
[Fri Sep 14 14:34:57.924706 2018] [mpm_prefork:notice] [pid 14395] AH00169: caught SIGTERM, shutting down
[Fri Sep 14 14:34:59.107659 2018] [mpm_prefork:notice] [pid 14461] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Fri Sep 14 14:34:59.107740 2018] [core:notice] [pid 14461] AH00094: Command line: '/usr/sbin/apache2'
[Fri Sep 14 14:35:22.594956 2018] [mpm_prefork:notice] [pid 14461] AH00169: caught SIGTERM, shutting down
[Fri Sep 14 14:35:23.821267 2018] [mpm_prefork:notice] [pid 14554] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Fri Sep 14 14:35:23.821360 2018] [core:notice] [pid 14554] AH00094: Command line: '/usr/sbin/apache2'
[Fri Sep 14 14:43:24.365173 2018] [mpm_prefork:notice] [pid 14554] AH00169: caught SIGTERM, shutting down
[Fri Sep 14 14:43:39.910085 2018] [mpm_prefork:notice] [pid 15134] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Fri Sep 14 14:43:39.910187 2018] [core:notice] [pid 15134] AH00094: Command line: '/usr/sbin/apache2'
[Fri Sep 14 14:44:13.086601 2018] [mpm_prefork:notice] [pid 15134] AH00169: caught SIGTERM, shutting down
[Fri Sep 14 14:44:14.254920 2018] [mpm_prefork:notice] [pid 15220] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Fri Sep 14 14:44:14.255007 2018] [core:notice] [pid 15220] AH00094: Command line: '/usr/sbin/apache2'
[Fri Sep 14 14:44:41.310491 2018] [mpm_prefork:notice] [pid 15220] AH00169: caught SIGTERM, shutting down
[Fri Sep 14 14:44:42.544462 2018] [mpm_prefork:notice] [pid 15324] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Fri Sep 14 14:44:42.544558 2018] [core:notice] [pid 15324] AH00094: Command line: '/usr/sbin/apache2'
[Fri Sep 14 14:45:11.859285 2018] [mpm_prefork:notice] [pid 15324] AH00169: caught SIGTERM, shutting down
[Fri Sep 14 14:45:13.010481 2018] [mpm_prefork:notice] [pid 15430] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Fri Sep 14 14:45:13.010622 2018] [core:notice] [pid 15430] AH00094: Command line: '/usr/sbin/apache2'
[Fri Sep 14 14:45:21.782593 2018] [mpm_prefork:notice] [pid 15430] AH00169: caught SIGTERM, shutting down
[Fri Sep 14 14:45:23.084701 2018] [mpm_prefork:notice] [pid 15501] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Fri Sep 14 14:45:23.084799 2018] [core:notice] [pid 15501] AH00094: Command line: '/usr/sbin/apache2'
[Fri Sep 14 14:58:29.905524 2018] [mpm_prefork:notice] [pid 15501] AH00169: caught SIGTERM, shutting down
[Fri Sep 14 14:58:31.118739 2018] [mpm_prefork:notice] [pid 16166] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Fri Sep 14 14:58:31.118850 2018] [core:notice] [pid 16166] AH00094: Command line: '/usr/sbin/apache2'
[Fri Sep 14 15:03:46.014471 2018] [mpm_prefork:notice] [pid 16166] AH00169: caught SIGTERM, shutting down
[Fri Sep 14 15:03:47.160376 2018] [mpm_prefork:notice] [pid 16255] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Fri Sep 14 15:03:47.160531 2018] [core:notice] [pid 16255] AH00094: Command line: '/usr/sbin/apache2'
[Fri Sep 14 15:03:56.274633 2018] [mpm_prefork:notice] [pid 16255] AH00169: caught SIGTERM, shutting down
[Fri Sep 14 15:03:57.553042 2018] [mpm_prefork:notice] [pid 16324] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Fri Sep 14 15:03:57.553146 2018] [core:notice] [pid 16324] AH00094: Command line: '/usr/sbin/apache2'
[Fri Sep 14 15:19:50.725191 2018] [mpm_prefork:notice] [pid 16324] AH00169: caught SIGTERM, shutting down
  • A 500 error should be easy to spot by looking in the logs of your web server (usually called error.log for apache and nginx). – Mr Shunz Sep 14 at 13:10
  • I recently edited my post and added there screen from error.log. I don't really understand what is written there so can you help me? – Lochness Sep 14 at 13:32
  • We need copied texts not images please – George Udosen Sep 14 at 14:00

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.