This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

500 Error after upgrading to php 5.6
#1
500 Error after upgrading to php 5.6
I manually removed PHP via 
Code:
yum remove php*
Then installed php 5.6 like so
Code:
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
Code:
yum install php56w php56w-opcache
 Check my php version via php -v output:
Code:
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/suhosin.so' - /usr/lib64/php/modules/suhosin.so: undefined symbol: php_register_info_logo in Unknown on line 0
PHP 5.6.31 (cli) (built: Sep 14 2017 18:12:46)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
   with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

I am now receiving a 500 error when I attempt to access my Sentora panel or Webmail. As well as any script using php. I needed to update to php 5.6 to run a specific eCommerce script. 
All help is appreciated, thank you!
Thanks given by:
#2
RE: 500 Error after upgrading to php 5.6
Install again suhosin using:

https://github.com/sentora/sentora-insta...n_patch.sh

You are not adviced to do what you did and we are not supporting... Any way install back suhosin and it will be back.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Thanks given by:
#3
RE: 500 Error after upgrading to php 5.6
(10-05-2017, 06:39 PM)Me.B Wrote: Install again suhosin using:

https://github.com/sentora/sentora-insta...n_patch.sh

You are not adviced to do what you did and we are not supporting... Any way install back suhosin and it will be back.

M B


I have done this, here is my php -v now
Code:
PHP 5.6.31 (cli) (built: Sep 14 2017 18:12:46)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
    with Suhosin v0.9.37-dev, Copyright (c) 2007-2014, by SektionEins GmbH
 
I am still getting a 500 error when trying to access Sentora, and any other php based scripts.

Sorry for the troubles I did not know I would be unable to update PHP from 5.4 to 5.6 with ease. Any more help would be greatly appreciated!
Thanks given by:
#4
RE: 500 Error after upgrading to php 5.6
Check your logs. As you had before an error saying can't find suhosin now it's fixed.
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Thanks given by:
#5
RE: 500 Error after upgrading to php 5.6
(10-06-2017, 05:10 AM)Me.B Wrote: Check your logs. As you had before an error saying can't find suhosin now it's fixed.



Here are my HTTPD error logs for today:

Code:
[Thu Oct 05 13:50:33.056119 2017] [mpm_prefork:notice] [pid 7820] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Oct 05 13:50:34.262245 2017] [suexec:notice] [pid 23671] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Oct 05 13:50:34.293096 2017] [auth_digest:notice] [pid 23671] AH01757: generating secret for digest authentication ...
[Thu Oct 05 13:50:34.293823 2017] [lbmethod_heartbeat:notice] [pid 23671] AH02282: No slotmem from mod_heartmonitor
[Thu Oct 05 13:50:34.328634 2017] [mpm_prefork:notice] [pid 23671] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.6.31 configured -- resuming normal operations
[Thu Oct 05 13:50:34.328684 2017] [core:notice] [pid 23671] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Thu Oct 05 13:54:12.419451 2017] [mpm_prefork:notice] [pid 23671] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Oct 05 13:54:23.374410 2017] [suexec:notice] [pid 23713] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Oct 05 13:54:23.401478 2017] [auth_digest:notice] [pid 23713] AH01757: generating secret for digest authentication ...
[Thu Oct 05 13:54:23.402136 2017] [lbmethod_heartbeat:notice] [pid 23713] AH02282: No slotmem from mod_heartmonitor
[Thu Oct 05 13:54:23.437355 2017] [mpm_prefork:notice] [pid 23713] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.6.31 configured -- resuming normal operations
[Thu Oct 05 13:54:23.437400 2017] [core:notice] [pid 23713] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Thu Oct 05 14:27:03.492200 2017] [mpm_prefork:notice] [pid 23713] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Oct 05 14:27:12.662556 2017] [suexec:notice] [pid 26521] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Oct 05 14:27:12.706422 2017] [auth_digest:notice] [pid 26521] AH01757: generating secret for digest authentication ...
[Thu Oct 05 14:27:12.707427 2017] [lbmethod_heartbeat:notice] [pid 26521] AH02282: No slotmem from mod_heartmonitor
[Thu Oct 05 14:27:12.754800 2017] [mpm_prefork:notice] [pid 26521] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.6.31 configured -- resuming normal operations
[Thu Oct 05 14:27:12.754846 2017] [core:notice] [pid 26521] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Thu Oct 05 14:29:25.323662 2017] [mpm_prefork:notice] [pid 26521] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Oct 05 14:32:55.885694 2017] [suexec:notice] [pid 795] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Oct 05 14:32:56.033076 2017] [auth_digest:notice] [pid 795] AH01757: generating secret for digest authentication ...
[Thu Oct 05 14:32:56.038864 2017] [lbmethod_heartbeat:notice] [pid 795] AH02282: No slotmem from mod_heartmonitor
[Thu Oct 05 14:32:56.369406 2017] [mpm_prefork:notice] [pid 795] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.6.31 configured -- resuming normal operations
[Thu Oct 05 14:32:56.369437 2017] [core:notice] [pid 795] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND
[Thu Oct 05 15:01:46.627448 2017] [mpm_prefork:notice] [pid 795] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Oct 05 15:03:19.986542 2017] [suexec:notice] [pid 818] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Oct 05 15:03:20.089227 2017] [auth_digest:notice] [pid 818] AH01757: generating secret for digest authentication ...
[Thu Oct 05 15:03:20.090207 2017] [lbmethod_heartbeat:notice] [pid 818] AH02282: No slotmem from mod_heartmonitor
[Thu Oct 05 15:03:20.493296 2017] [mpm_prefork:notice] [pid 818] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.6.31 configured -- resuming normal operations
[Thu Oct 05 15:03:20.493357 2017] [core:notice] [pid 818] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'

I am in no way familiar with what any of these errors mean, i'm still a novice.
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Repo update error hostingms 3 5 ,421 02-14-2024, 09:20 AM
Last Post: TGates
apt-get install mod_ssl ERROR CMs222 9 25 ,698 11-11-2022, 09:14 PM
Last Post: zustudios
Sentora debug and error files johnnyp 0 1 ,161 10-27-2022, 06:16 PM
Last Post: johnnyp

Forum Jump:


Users browsing this thread: 1 Guest(s)