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 ...
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 ...
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 ...
1
vote
Accepted
php-fpm56 reaches timeout when run with systemd centos7
Answer was a missing flag at the configure
--with-fpm-systemd
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 ...
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}'`
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.
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....
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
php5 × 54apache-httpd × 17
centos × 16
php × 12
linux × 8
php7 × 8
debian × 7
mysql × 6
ubuntu × 5
software-installation × 3
arch-linux × 2
rhel × 2
apt × 2
yum × 2
compiling × 2
raspbian × 2
webserver × 2
phpmyadmin × 2
mysql-connection × 2
ssh × 1
systemd × 1
permissions × 1
security × 1
process × 1
sudo × 1