Questions tagged [php53]
The php53 tag has no usage guidance.
64
questions
0
votes
1
answer
861
views
Apache 2.2.15 possible security risk?
I have an old server that is running a webshop in production. It is running CentOS / Apache 2.2.15 and PHP 5.3 (Build 22 Mar 2017). Are there any security risks associated with this setup? I have ...
1
vote
0
answers
782
views
How to install mysql extension for php 5.3?
I'm trying to get an old application running under CentOS 7.8 which only supports php 5.3. I already compiled and installed php 5.3 but I'm not able to get the mysql extension working. Here is what I ...
0
votes
1
answer
243
views
Why is the characterset changing if starting Glassfish using php_exec compared to starting it in the console?
I have created a PHP script to start/stop GlassFish server. In the PHP, I am using the shell_exec method to execute the start-domain and stop-domain commands.
To start the server
shell_exec("sudo -u ...
0
votes
2
answers
2k
views
how can I install PHP 5.3 on FreeBSD 11.2
I have an old app written in PHP 5.3 that is not to be upgraded and doesn't work with php56 and higher.
I'd like to install PHP 5.3 with most of the extensions on FreeBSD 11.2 box.
And then I'd like ...
0
votes
1
answer
514
views
OpenSSL-related linker error while building PHP 5.3.3
While trying to build PHP 5.3.3 on Debian jessie (save yourself some sanity by not asking why) with OpenSSL extension enabled, I encountered undefined reference to symbol 'X509_free@@OPENSSL_1.0.0' in ...
0
votes
1
answer
1k
views
how to download php53 on centos 5.3 ( i had installed php54 before)
I would like to install php53 on centos5.3 (had installed php54 before but removed) I did it as below.
sudo yum remove php php-common php-cli
sudo yum install php53
sudo yum install zabbix-web-mysql
...
0
votes
0
answers
2k
views
Starting PHP session sometimes take very long time
Sometime ago we have came upon interesting problem. Sometime (not everytime, lets pretend nearly each 100-200 hit) session_start() takes very long time. Up to 60 seconds. (longest one was 63, ...
0
votes
1
answer
475
views
Apache: MaxSpareServers vs. ServerLimit?
I'm currently investigating an issue with some of our servers where Apache processes end up eating a lot of memory to the point of hitting the swap file and causing the server to be unresponsive if ...
1
vote
2
answers
343
views
How can I install php53u-xml package (CentOS)?
How can I install php53u-xml package (CentOS)? Is there still a repository where this package is available? I cannot find this package nowhere.
Info about one of installed packages:
[root@us03659 ~]...
0
votes
1
answer
165
views
CentOS6.6 + Postfixadmin 2.3rc5 + PHP5.3, upgrade to PHP5.4
We're running PHP5.3.8 on a CentOS6.6 mailserver with Postfixadmin 2.3rc5.
The client only wanted a mailserver at first, but then wanted to move some other sites to this server.
Some of the sites need ...
1
vote
2
answers
7k
views
Trying to mirror a legacy PHP 5.3.29 app on CentOS 7 (strange I know!)
I'm wondering if any linux/php gurus out there could help. Long story short, i've been tasked with creating a mirror/backup of a website which is made in PHP 5.3.29 to mitigate any risks if the ...
1
vote
1
answer
2k
views
PHP-FPM max_requests parameter causes 502
On a setup using nginx with PHP-FPM v5.3.3, I noticed the following errors occurring frequently in the nginx' errors log:
Feb 16 15:00:22 mymachine www.example.com 2015/02/16 15:00:20 [error] 20254#0:...
0
votes
1
answer
52
views
How to test if a particular version of php executable is available on a server?
An automatic upgrade Bash script requires PHP executable 5.3+, how do I ensure that is the case in the upgrade script? I'd like the script to quit and generate some message into the log when php 5.3+ ...
0
votes
1
answer
709
views
Centos 6.5 -- backported upgrades/php.ini directives included in php 5.3.3
PHP 5.3.3 is the latest version of PHP available with the official CentOS 6.5 repos. As most of you know, calling it version '5.3.3' is slightly deceptive because critical bug fixes are actually back ...
-1
votes
1
answer
1k
views
PHP 5.3.3 wrecked up on CentOS 6.5 (32bit) after upgrade to 5.4 and downgrade to 5.3.3
please help me solve this php version problem.
I had Centos 6.5 (32bit) and php 5.3.3 pre-installed on it, right before I decided to wreck it!
The need to upgrade was this warning:
Warning: ...
0
votes
1
answer
550
views
How can I update php using zypper?
I'm currently running 5.3.17 and I'd like to update to the latest stable version. I've looked up a bunch of guides and they all have me doing it manually using wget. I'd like to do it all through ...
0
votes
2
answers
2k
views
Installing memcached deamon on Centos PHP conflicts
I have Centos 5.10 installed on my server and tried running the following command
yum install php53u-pecl-memcached.x86_64
Setting up Install Process
Resolving Dependencies
--> Running transaction ...
1
vote
1
answer
6k
views
Installing PHP 5.5.6: Can't start php-cgi.exe - MSVCR110.dll is missing
I'm trying to update from PHP 5.3 to PHP 5.5 after downloading the last version from here and I'm having this error:
Can't start php-cgi.exe - MSVCR110.dll is missing
I've read that I need to ...
0
votes
1
answer
1k
views
How to install different extensions when using multiple PHP versions
I have the following setup : Centos 6.4, Apache set up to work with WHM/ cpanel with it's version of PHP (5.4) and nginx running a separate version of PHP to handle everything else.
How can I do a ...
2
votes
2
answers
11k
views
Apache restart needed after php code change
When I change php code of an application I need to restart apache to make the new code effective.
$ sudo apachectl -l
Compiled in modules:
core.c
mod_log_config.c
mod_logio.c
itk.c
...
0
votes
3
answers
7k
views
Installing PHP 5.3 Pear on centos 5.8
I just created a VPS with 32 bit Centos 5.8 and installed php53 and a host of other php 5.3 packages. I would like to install memcached using yum but I get the following error
Resolving Dependencies
-...
0
votes
1
answer
647
views
PHP 5.3 for recent Debian versions, with security backports (for Legacy apps)
Is there any way, to get a PHP 5.3 package for recent debian versions (i.e. wheezy) which is still getting security support?
There are legacy projects which depend on register_globals() - and while ...
0
votes
0
answers
230
views
PHP5.2 and PHP5.3 Maxing CPU on IIS7.5 Server 2008 R2
I have a shared server running Server 2008 R2 with IIS7.5 - the server has about 200GB ram, Several hundred websites dual Xeon 8 core hyperthreaded processors, so CPU shouldn't be a problem; What is ...
-1
votes
1
answer
3k
views
PDO installation not working? [closed]
I have php version 5.3.22 on Centos Linux.
I currently have this in my phpinfo() output:
./configure' '--disable-fileinfo' '--disable-pdo'
If I run:
pecl install PDO
I get:
WARNING: "pecl/PDO" ...
0
votes
1
answer
755
views
php.ini - How to recover pdo.so?
I recently installed memcached. Everything worked swimmingly until I restarted the system. I have no idea what went wrong, but after the restart, some files were missing. Main main problem is that I ...
0
votes
1
answer
283
views
Downgrade php5-cgi using APT on Debian
I have lighttpd install with PHP5.4 installed
I need to downgrade it to 5.3.2 (possibly older/newer) but I can't install it
I tried this
apt-get install php5-cgi=5.3.2
but it says "E: Version '5.3....
0
votes
1
answer
783
views
Trying to configure CentOS 6 and PHP 5.3.15
I'm trying to replicate a production environment so It's very important that I run PHP 5.3.15. The problem is that my dev server is running Centos 6 and the package manager will only install PHP 5.3....
2
votes
1
answer
149
views
Having a ball re-selecting PHP make config settings...FreeBSD
I am installing PHP 5.3 and having accidentally hit enter when selecting options failed to enable a module.
After the installation make no longer gives me options but continues with saved options.
...
2
votes
1
answer
816
views
open_basedir problems with APC and Symfony2
I'm currently setting up a shared staging environment for one of our applications, written in PHP5.3 and using the Symfony2 framework.
If I only host a single instance of the application per server, ...
0
votes
2
answers
1k
views
Output php mail calls to log file
This question relates to the question found here:
Find the php script thats sending mails
Trying to do the exact same thing but can't get the log to output what I need. Not too experienced with ...
2
votes
1
answer
1k
views
CLI SAPI based daemon, PHP app with cronjobs support
I need to build an CLI SAPI based daemon, PHP app with cronjobs support for iOS platform. We have dedicated server.
What kind of PHP environment to run this type of PHP applications?
0
votes
3
answers
2k
views
Sendmail Errors when Sending via PHP
I'm trying to setup a new help desk program (Kayako), but I'm having problems relaying the mail to our mail server.
Here's the error I'm getting:
sendmail[2371]: NOQUEUE: SYSERR(apache): can not ...
1
vote
1
answer
4k
views
I want to install php 5.3.9 in ubuntu 12.04 via apt-get - what repository should I add?
I want to install php 5.3.9 in ubuntu 12.04 via apt-get.
apt-cache show php5-fpm
only lists 5.3.10-1ubuntu3.1 and 5.3.10-1ubuntu3. There is a critical bug in 5.3.10 ( https://bugs.php.net/bug.php?...
2
votes
0
answers
364
views
linode cloud server, symfony and phar
Okay, So I've recently got a linode cloud server running Ubuntu 12.04. I got it configured with the default symfony2.0 installation, but I've got a project that runs on the Symfony2.1 installation..
...
1
vote
1
answer
600
views
PHP upgraded to 5.3.8 - Can't install/upgrade extensions
I managed to upgrade php from 5.2.10 to 5.3.8 in CentOS 5.4. Some of the extensions were lost in the process (mbstring, mysql).
One quick run for:
yum list installed | grep php
Returns:
php.x86_64
...
2
votes
1
answer
2k
views
Can't start Apache after attempt to upgrade to PHP 5.3.8
After attempting to upgrade my PHP version on Windows 7, I cannot start Apache. I get this error message:
I used the Windows installer to upgrade to PHP 5.3.8 from 5.2, afterwards I was unable to ...
1
vote
2
answers
4k
views
php pages in a nginx + php-fpm server doesn't load
I've installed a nginx server and php-fpm in a CentOS 6 system (hosted in Amazon EC2) with the following this instructions:
http://emka.web.id/linux/centos-linux/2011/installing-nginx-with-php-and-...
0
votes
2
answers
1k
views
Installed php53 but still displaying php 5.1.6 in phpinfo()
I am running nginx 1.0 on centos 5.6. I had php 5.1.6 installed and running and then decided to uninstall it and switch to php 5.3. I ran the following commands:
[user@server]$ /etc/init.d/nginx stop
...
1
vote
1
answer
546
views
php53 in CentOS 5.6: which package?
I see (using GNOME Package Manager) that there are two PHP 5.3 packages available for CentOS 5.6. One of them is "php53-5.3.3-1.el5_6.1", and the other is ""php53-5.3.3-1.el5". What's the difference ...
0
votes
2
answers
388
views
php 5.3.6 is php-fpm included?
I just did a yum install of php on amazon linux beta. (it's similar to centos, jfyi)
php -v reveals its php 5.3.6. awesome so. Now I am trying to figure out if I can package install the php-fpm.
...
6
votes
3
answers
35k
views
CentOS 5: How to resolve php53 RPM dependency conflict with php-foo and php-common?
We are running a CentOS 5.6 system, and want to install php53 with php-mcrypt.
However, this introduces a dependency conflict between php-common & php53-common. Does anyone have a good workaround ...
4
votes
1
answer
4k
views
Install php 5.3.6 on ubuntu 10.04 64 bit
I dont want to build from source and was looking to find some repository where I can simply do an apt-get install php5 and get the latest version. Does anyone know of any reliable source I can use to ...
0
votes
3
answers
3k
views
Imagemagick apparently correctly configured, still won't work under IIS 7.5 + PHP 5.3.2
I have managed to get imagemagick working (tested using the command line example on their website)
It also appears that the php extension is correctly installed: I can see it listed in my phpinfo(); ...
1
vote
2
answers
2k
views
php sessions files incompatible? - php5.2 debian lenny vs php5.3 debian squeeze
php is truncating the session files to zero after migrating the session files from server one (debian lenny php 5.2) to the new server (debian squeeze php 5.3).
i create a session on server one with ...
0
votes
1
answer
1k
views
Building php-devel package from source (php 5.3)
I am building PHP 5.3 rpm packages for our custom CentOS 5 yum repo. I am fairly new to building rpms to be honest, but I have had moderate success downloading the SRPMS for a given package and ...
2
votes
2
answers
3k
views
Running mod_php and suPHP same time
I recently went from Debian Lenny with 5.2.x and was able to use mod_php for any php files that were not located in /home/ and suPHP for all the php files that were located in /home/.
I did this ...
1
vote
1
answer
324
views
IIS 6 produces a 404 error whenever I try to access a php file (PHP 5.3.5)
This seems to be a frequent issue of IIS users who are trying to setup php - I guess I'm not an exception here.
I followed serveral tutorials online for setting up PHP, and I am pretty sure that I ...
0
votes
1
answer
390
views
Proper Linux environment for php5.3?
I use CentOS 5.5 64bits, and I'd strongly prefer running php5.3 there (please focus on this), but if you have a safe recipe to run it on another distribution, I'll take it into consideration.
My ...
2
votes
1
answer
1k
views
Symfony 1.4.8 not working in PHP 5.3.4? [closed]
I have installed PHP version 5.3.4, and working on Symfony 1.4.8 with Propel as ORM. But while installing Symfony project, it is giving me error. When i use the command to build database it giving me ...
1
vote
2
answers
426
views
PostgreSQL Left join select VS Normal select
I was wondering which is faster - joining several selects into one join select or actually doing the separate selects is faster ?
I'm doing a task which has many tables(currently 4 but it'll increase ...