Questions tagged [php5]
54 questions
33
votes
4 answers
Unix system(“unzip archive.zip”) Extracting Zip Files Silently
How do I silently extract files, without displaying status?
Adedoyin Akande
- 471
- 1
- 5
- 10
9
votes
2 answers
Installing PHP 5.3 on Debian Stretch (9)
I'm migrating a very old server (Debian etch) to Debian Stretch and every single app developed has PHP issues, it was expected. Some can be fixed, some can not (as several drupal 6 sites).
In the future ever single app will be served under PHP7.0…
raguchi
- 159
- 1
- 1
- 8
6
votes
2 answers
Strange telnet client behavior when not specifying a port
On Debian Jessie, using php5.6 and telnet version:
$ dpkg -l | grep telnet
ii telnet 0.17-36 amd64 The telnet client
I have written a php script to listen on port 23 for incoming tcp connections.…
mulllhausen
- 2,648
- 9
- 36
- 42
5
votes
4 answers
Can't finish php5-cli update
I get the following error after doing sudo apt-get upgrade:
Setting up php5-cli (5.5.9+dfsg-1ubuntu4.6) ...
ucfr: Attempt from package php5-cli to take /etc/php5/cli/php.ini away from package php5-fpm
ucfr: Aborting.
dpkg: error processing package…
jherran
- 3,869
- 3
- 22
- 34
3
votes
1 answer
Zabbix install PHP 7 PHP 5.6 conflict on Centos7
I am attempting to install Zabbix 3.2 on Centos7 running PHP7.
Link to the walkthrough
The command:
yum -y install zabbix-get zabbix-server-mysql zabbix-web-mysql zabbix-agent
The output:
Loaded plugins: fastestmirror, langpacks, replace
Loading…
Kayne Khoury
- 39
- 1
- 2
3
votes
2 answers
Getting Minor Version Mismatch Error with Php and Mysql
I randomly started getting this error when trying to instantiate a new mysqli instance in php script:
mysqli::mysqli(): Headers and client library minor version mismatch.
Headers:50541 Library:50626
I'm a little bit confused because when I run…
MrWizdl
- 61
- 1
- 1
- 6
3
votes
1 answer
Replacement for php5-auth-pam to authenticate website login against local users
I am working on a login for a PHP-based website where users should be successfully logged in if they enter a valid username and password for a local account on the system. Looking around, it seems like the traditional way of doing this was by using…
tlng05
- 141
- 5
3
votes
1 answer
Possible mcrypt spelling error?
While attempting to start a project with Laravel, the following warning is produced multiple times:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20121212/mcryot.so' - /usr/lib/php5/20121212/mcryot.so: cannot open shared…
Adam Leis
- 63
- 6
2
votes
1 answer
php-fpm56 reaches timeout when run with systemd centos7
I compiled my own PHP 5.6.40 (with fpm) with ICU4C 64_2 on CentOS 7 using the following flags:
./configure CXXFLAGS="-std=c++11 -DU_USING_ICU_NAMESPACE=1" \
--prefix=/usr/local/php56 \
--program-suffix=56 \
--enable-fpm \
…
ikak
- 31
- 3
2
votes
2 answers
How to Install the PHP SSH2 Extension on Ubuntu 14.04 running PHP 5.6?
I run sudo apt-get install libssh2-1-dev libssh2-php I get:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libssh2-php is already the newest version.
libssh2-1-dev is already the newest version.
0 upgraded,…
Rayhan Muktader
- 121
- 1
- 2
2
votes
1 answer
apt-get remove php5 without installing apache2
How can I uninstall/purge php5 without reinstalling apache2?
I have removed apache2 and now I want to remove php5, but the system wants me to reinstall apache2 to uninstall php5. Why?
# aptitude why php5
BB phpmyadmin Depends libapache2-mod-php5 |…
clarkk
- 1,727
- 6
- 31
- 43
2
votes
2 answers
How to Upgrade PHP from 5.4.16 to >= PHP 5.6.5 / PHP 7 on Centos 7?
I am using centos 7 and it came with php 5.4.16. Now i have to install moodle moodle 3.2 which requires at least PHP 5.6.5.
I tried installing php from remi and IUS repositories but no luck. All i get is error: conflict with the previous install.
If…
Vamshi
- 123
- 1
- 1
- 4
2
votes
2 answers
PHP5.5 or PHP5.6 Availability for CentOS 7
Is php5.5 or php5.6 Available for CentOS 7?
TwitchedOut
- 23
- 4
2
votes
0 answers
Fatal error: Call to undefined function gzopen() in /etc/apache2/htdocs/sites/all/modules/smart_ip/includes/smart_ip.utility.inc on line 454
I'm using centos 6.7, http 2.4.17, mysql 5.1, php 5.5.30. web page is working fine but at bottom it is giving below error.
Fatal error: Call to undefined function gzopen() in…
SunLynx
- 101
- 2
- 10
2
votes
1 answer
I keep getting error: PHP Startup - libphp5.so missing? PHP seems to run fine with Apache
My linux distro is Arch Linux. I first noticed this error when trying to send emails using the PHP mail() function. Testing with a simple mail-test.php file with the mail() function sends the email when called from the command line, but will not…
PancakeMaker
- 21
- 1
- 3