Skip to main content
3 votes
Accepted

Not able to install php5-mysql or php5-mysqlnd

If you are using the Docker PHP5-apache image, then the described behavior is most likely caused by the APT preferences file /etc/apt/preferences.d/no-debian-php. The contents of which appear to ...
GracefulRestart's user avatar
2 votes
Accepted

Can't compile PHP 5.6 in Debian 8

Please make sure you've installed the following packages: # apt-get install libxml2-dev libz-dev libbz2-dev libcurl4-openssl-dev libmcrypt-dev libpq-dev libxslt-dev I've tried the configuration ...
Matheus Santana's user avatar
1 vote
Accepted

Need to enable gd for an older version of PHP

Tried installing gd directly, but no longer available: $ sudo apt-get install php5-gd Reading package lists... Done Building dependency tree Reading state information... Done Package php5-gd is not ...
Yimin Rong's user avatar
1 vote
Accepted

php-fpm56 reaches timeout when run with systemd centos7

Answer was a missing flag at the configure --with-fpm-systemd
ikak's user avatar
  • 31
1 vote

I've been seeing a lot of this in my Apache access log

Somebody is trying SQL injection. If your code is safe, it should be okay. You can install apache modsecurity and create some rules to deny those kind of stuff or probably configure fail2ban to ...
darxmurf's user avatar
  • 1,236
1 vote

How to kill stuck php-fpm processes

try this: sudo kill -9 `sudo ps -ef | grep php-fpm | grep -v grep | awk '{print $2}'`
Bảo Nam's user avatar
  • 111
1 vote

How to Install the PHP SSH2 Extension on Ubuntu 14.04 running PHP 5.6?

PHP-5.X + PHP-7.X Installation Instructions cover the difference. It appear you must use a pecl install procedure when using PHP-5.X versions.
David Favor's user avatar
1 vote

How to Install the PHP SSH2 Extension on Ubuntu 14.04 running PHP 5.6?

To install ssh2 extension for PHP5 , run: sudo apt-get install gcc make autoconf libc-dev pkg-config php5-dev sudo pecl install ssh2-0.13 Or sudo pecl install https://pecl.php.net/get/ssh2-0.13....
GAD3R's user avatar
  • 69.9k
1 vote
Accepted

One PhpMyAdmin per virtualhost

I made this question in more than 1 stackexchange site because in 2 sites people told that was the wrong site, and I forgot this one. But the same question is solved here. Below is a copy of the ...
Jordi Huertas's user avatar
1 vote

PHP5.5 or PHP5.6 Availability for CentOS 7

Red Hat has been working on a set of repositories called Software Collections (SCL). CentOS 7 includes a similar set of repositories which make it easier to install PHP 5.6, 7.1, and other things not ...
Liczyrzepa's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible