Questions tagged [php56]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
26 votes
3 answers
41k views

Permanently enable a SCL

Is there a way that I can permanently enable a SCL? I've installed rh-php56, and I would like to make sure that it is loaded every time I ssh into my machine. I am currently running CentOS 7.
Odyss3us's user avatar
  • 375
11 votes
1 answer
12k views

Best way to make RHSCL PHP available globally

I have installed RHSCL 2 using the following url: https://access.redhat.com/documentation/en-US/Red_Hat_Software_Collections/2/html/2.0_Release_Notes/chap-Installation.html using the RedHat ...
Ozzy's user avatar
  • 113
11 votes
4 answers
8k views

UnicodeDecodeError in Ubuntu while installing PHP5.6 from PPA

I have a clean VPS, with Ubuntu 14.04 LTS x64. And Tried the following: # Upgrade The Base Packages apt-get update apt-get upgrade -y # Add A Few PPAs To Stay Current apt-get install -y software-...
fiibaar's user avatar
  • 111
8 votes
4 answers
19k views

enabling ssl connection from wordpress to mysql

I have been searching on how to configure wordpress to connect to mysql db over ssl, however most of the example are about three to five years old e.g. this wordpress support topic my wordpress ...
Anadi Misra's user avatar
5 votes
0 answers
3k views

Invalid key length error when trying to connect phpmyadmin to remote MySql over SSL

I get these error messages when logging in to phpmyadmin instance Error during session start; please check your PHP and/or webserver log file and configure your PHP installation properly. Also ...
Anadi Misra's user avatar
3 votes
1 answer
2k views

How to solve package conflict in Centos 6

I am trying to upgrade from php 5.5 to 5.6, so far i've managed to upgrade to php5.6, setup suPHP 0.7, and add php-mysql extension. I used the webtatic repo to install php 5.6 I read on this page ...
Yvon Huynh's user avatar
2 votes
1 answer
59 views

If you are running php-from does tuning the apache mpm still do anything?

So I switched to php 5.6 with fpm. I see there are now only 4 apache processes but about 400 php-fpm56 processes. I've been tuning the php-fpm process (to little effect) by playing with the pm.xxxxx ...
Mark's user avatar
  • 211
1 vote
3 answers
5k views

How to disable some extensions in php 5.6?

I have installed php 5.6 in centos 6.7 server using yum --enablerepo=remi,remi-php56 install -y php-mysqlnd php-gd php-mbstring php-mcrypt php-xml php-fpm I have the following php extensions ...
Arnold's user avatar
  • 129
1 vote
1 answer
1k views

CentOS7 PHP 5.6 missing from ius-community repo

In the past I have installed the ius-community repo and then installed php56u like so: yum install https://centos7.iuscommunity.org/ius-release.rpm yum install php56u Now that I have come to do the ...
user69904's user avatar
  • 231
1 vote
1 answer
3k views

Unable to install PHP-GD on Centos 7 with PHP 5.6.40

I have a PHP 5.6.40 server on which I am trying to install/enable the GD image library....with no success. I've tried to install the following package yum install php-gd yum install php5-gd yum ...
James Stoddern's user avatar
1 vote
1 answer
116 views

/usr/lib/apache2/modules/libphp5.6.so is missing on Ubuntu 18

I installed PHP 5.6 with: apt install php5.6 Then I added a -s link in /etc/apache2/mods-enabled for php5.6.conf and php5.6.load When I restarted apache2 I got this error that wasn't there before: ...
PHP Guru's user avatar
  • 111
1 vote
2 answers
4k views

Dependency error when Install PHPMyAdmin

I have a small VPS that managed via ISPCONFIG3 and CENTOS, recently I try to update its PHP version from 5.4 to 5.6 and 7.2 for Wordpress installation. I had a lot of errors but finally done. after ...
Mohammad Ali Nekouie's user avatar
1 vote
1 answer
2k views

Package rh-php56 not available on CentOS 6 via centos-release-scl

Installing package rh-php56 in a CentOS 6 Docker image used to work using the methodology described here, but now I get the following error from yum: No package rh-php56 available. Querying yum, I ...
molecularbear's user avatar
1 vote
0 answers
1k views

SuExec with Apache2.4 + Php5.6 + mod_proxy_fcgi + php-fpm in Debian 8

I installed Apache2.4 + Php5.6 + mod_proxy_fcgi + php-fpm and other things like Mysql 5.5, Phpmyadmin and munin, no problem. Note: I activated also userdir and rewrite. Now I want to have more ...
Rey's user avatar
  • 11
1 vote
0 answers
573 views

CentOS PHP upgraded, now downloads all pages

I had to upgrade PHP to 5.6 to get access to a new function for locales and translation. I removed the old PHP and added the new PHP from the Remi repo as specified here. I restarted Apache and now ...
ashraj98's user avatar
  • 163
1 vote
1 answer
2k views

php/php-fpm can't find php.ini

I'm having an issue where php and php-fpm can't find php.ini. I installed 5.6.13 from source. The question PHP doesn't load php.ini is very similar but the solutions there haven't helped me. ...
DrBojingle's user avatar
1 vote
1 answer
1k views

PHP-CGI.exe running rampant. Which website?

We have a Windows 2008 64-bit server running IIS 7 and serving about 40 different websites. Over the last few days we've seen a few php-cgi.exe processes consistently utilizing high CPU usage. The ...
Shawn Berg's user avatar
0 votes
1 answer
2k views

Original php mysql extension for php56

First a note: Yes, I'm well aware this extension in deprecated and has a ton of security flaws, I'm duplicating a clients active server in docker for recovery and migration (after client's server was ...
Philippe's user avatar
  • 109
0 votes
1 answer
107 views

Install both php5-imagick and php7.4-imagick on the same Debian machine? [closed]

When I try to install php7.4-imagick Debian removed the php5-imagick Is there a way to keep them both - so when I run php5 it can use the php5-imagick version and when I run the php7.4 it will use it'...
Dani's user avatar
  • 541
0 votes
1 answer
946 views

php-mcrypt (remi) error while upgrading from php 5.4 to 5.6 on CentOS 7

I'm trying to upgrade php on CentOS 7 from 5.4 to 5.6. When I run yum install php php-mcrypt php-cli php-gd php-curl php-mysql php-ldap php-zip php-fileinfo I get this dependency error. There ...
Ergec's user avatar
  • 608
0 votes
1 answer
2k views

centos 7 conflict error while trying to install php-mssql

I am trying to install php-mssql on centos 7 to connect to a remote mssql server, but when i run 'yum install php-msssql'. I am getting a conflict error Error: php56w-common conflicts with php-common-...
jarus's user avatar
  • 145
0 votes
1 answer
1k views

Php 5.6.5 won't work very well

Today I installed Php 5.6.5 on my server running Debian 7 Wheezy and Apache2. First, I added these repositories to my /etc/apt/sources.list file: http://packages.dotdeb.org wheezy-php56 http://...
Maury's user avatar
  • 11
0 votes
0 answers
718 views

PHP-FPM pools of a domain are working non stop

My server OS is centOS. I use Apache for httpd. Every site runs PHP by own user. One of my sites (let's say that 504domain.com) gives 504 gateway error constantly. Restarting Apache makes the site ...
borayeris's user avatar
  • 213
0 votes
1 answer
650 views

WAMP Stack/Silverstripe, High TTFB but fast PHP execution? Where can I look for answers?

My production server is Windows Server 2012 R2, Apache 2.4, PHP 5.6, and MariaDB (unsure of version, probably irrelevant). I have a customized site running on Silverstripe 3.5. Lately, I'm getting ...
p0lar_bear's user avatar
0 votes
1 answer
157 views

PHP - different environments when run from command line vs. circus

We have a situation where we're using circusd to manage processes and somehow, PHP is loading different libraries (specifically curl) when called from circus versus the command line. From command ...
Jeremy Wilson's user avatar
0 votes
0 answers
34 views

I cannot get data from the same database on different hosts with different versions of mysql-server

I have a web site that has moved to a new server. I moved the site to a web-server running apache24 and php56. It came from a server with apache24 and php55. When I use the old external (different ...
Lexib0y's user avatar
  • 227
0 votes
1 answer
952 views

memcached on RedHat build PHP 5.6

I am trying to setup memcached on a server running RedHat PHP 5.6.25 I have successfully installed memcache but cannot find how to install memcached - is there a package available? If not how can I ...
bhttoan's user avatar
  • 650
0 votes
0 answers
267 views

AWS apache optimization

Not sure if it is fit for ServerFault... We have an e-commerce website, which we are planning to host on AWS. The CMS engine is Drupal7. I have plans to use 2 m4.xlarge (4 vCPU 16GiB) autoscaled ...
Amitabh Ghosh's user avatar
0 votes
0 answers
563 views

Apache/PHP only uses 50% of CPU in Windows Server 2012

In windows server 2012 with 2 CPUs I have apache 2.4 with PHP 5.6 and when I put a load on the web server a cumulative 50% of total CPU power is used. No matter what I do, I cannot get the total over ...
Roofus McDuffle's user avatar
0 votes
1 answer
300 views

Ubuntu 14.04 PPA previous minor version of PHP 5.6

I'm currently running PHP 5.6.6 installed on Ubuntu using the PPA provided by Ondřej Surý https://launchpad.net/~ondrej/+archive/ubuntu/php5-5.6 This is managed using Chef which isn't really relevant ...
Nick's user avatar
  • 121
-1 votes
1 answer
1k views

Update PHP 5.3 to PHP 5.6 on Debian Squeeze

I wonder if anybody has successfully updated PHP 5.3 to PHP 5.6 yet on Debian squeeze and would kindly share how this can be done. My server's current system is running since 7+ years. Debian GNU/...
bobble bubble's user avatar