Questions tagged [php5]
65 questions
9
votes
2 answers
Upgrading PHP 5.3.3 to 5.4.4 in CentOS 6.4
I'm using CentOS 6.4 (centos-release-6-4.el6.centos.10.x86_64). I'm trying to upgrade the php version from 5.3.3 to 5.4.4 by using:
yum upgrade php-mysql php-devel php-gd php-pecl-memcache php-pspell php-snmp php-xmlrpc php-xml
and
yum upgrade…
Andres SK
- 245
5
votes
1 answer
PHP 5.3.10 on Debian Jessie
By default in Debian Jessie, I get PHP 5.6 installed by using apt-get install php5 .
The problem is that the project that I'm working on has severely deprecated functions to the point that the project isn't working properly, and I have failed to…
xIcarus
- 203
5
votes
1 answer
Making Apache use compiled PHP instead of bundled package on Debian
My ultimate goal is to install OwnCloud on my Debian box, a 64-bit squeeze.
My setup is pretty simple. I have installed OpenPanel which in turn installs all of the required LAMP modules via APT-GET. This installs PHP5.3.7 on my system, and points…
Milad Naseri
- 173
3
votes
0 answers
iconv error for PHP 5.3 when compiling
I get this error:
-lm -lxml2 -lz -liconv -lm -lxslt -lxml2 -lz -licucore -lm -o sapi/cgi/php-cgi
Undefined symbols for architecture x86_64:
"_libiconv_open", referenced from:
_convert in encodings.o
"_libiconv", referenced from:
…
rtacconi
- 231
3
votes
1 answer
100 % cpu usage debian 32 bit due to apache processes
So there is a VPS with openvz virtualization, with debian 6.0 32 bit
The problem is appearing approx. 1 week ago. The automatic security monitoring system is shutting down the vps that i'm running due to cpu overload!
I am linking the…
rsz
- 143
3
votes
3 answers
Unable to find php binary
PHP is running fine with apache on my server. I want to use it from command line but I am unable to find the binary:
root@....:~# whereis php
php:
root@....:~# whereis php5
php5: /etc/php5 /usr/lib/php5 /usr/share/php5
There is no binary in the…
JP19
3
votes
2 answers
php 5.6.20 - /etc/php5/conf.d directory missing
I can't find /etc/php5/conf.d directory in my system.
Do they change catalog structure ?
I already read /usr/share/doc/php5-common/README.Debian.gz
There is information about linking /etc/php5/$SAPI/conf.d to central directory /etc/php5/conf.d…
beginner
- 69
2
votes
2 answers
How to install latest stable release of PHP on Ubuntu 14.04
I've installed PHP on Ubuntu14.04 as shown in this link. I currently have PHP 5.5.9 installed, but the current stable release is 5.5.12, is there any way to install current stable release on Ubuntu 14.04 ?
Mahesh.D
- 158
2
votes
3 answers
Can't link Xdebug to PHP 5.4
Today I installed/updated my previous php 5.3.x to 5.4.11. Did it accordingly how do I upgrade from php 5.3 to php 5.4.6 in ubuntu?
Install was successful, but it seemed to me, that xdebug was outdated due to a warning message when viewing php -v to…
Eugene
- 169
2
votes
1 answer
Going crazy with php5apache2_4.dll not found
I have a computer with Win XP SP3 and I was going to install a WAMP system on it.
I already had a pwerfectly working WAMP (Uniform Server, it is a portable wamp that works on usb stick) on another computer (Win7) so I simply copied the whole folder…
Terix
- 353
2
votes
0 answers
Apache2 and PHP5 repository down?
I've recently been trying to get PHP and Apache on my Raspberry Pi as to make it a web server but when I try to apt-get them from their respective repositories, it gives me a bunch of '404 not found'. On this page:…
Cole
- 17
2
votes
0 answers
how do I enable debug logging in php5-ldap
I have phabricator running on Ubuntu behind nginx and php5-fpm, and now trying to figure out why ldap logins fail.
Is there a way to enable verbose logging of the php-ldap code? What file is the log printed to?
Boycott Russia
- 131
2
votes
1 answer
How to execute home directory shell script file in php
How to execute /home/scripts/test.sh file in php
Previously i have placed 'test.sh' file in the /usr/bin and calling in my php file like this
exec('test.sh ' . escapeshellarg($testString));
But for security reasons i moved .sh file to…
vvr
- 135
2
votes
0 answers
TLS 1.2 not working with forced curl
I have 2 identical ubuntu 12.04 servers behind Amazon ELBs. One server is able to connect using TLS v1.2 while the other server is not able to make a curl request using TLS v1.2
Below is the code I have used for checking connectivity and versions. A…
Adhitha Dias
- 21
2
votes
1 answer
Steps to install php mysql on centos 6.8
I have a server with centos 6.8
I am trying to install
php 5.5.
mysql 5.5
php-mbstring
But it shows error message as:
Error: php55w-common conflicts with php-common-5.3.3-48.el6_8.x86_64
Please tell me step by step guide to install.
Francis
- 21