The php5.3 tag has no wiki summary.
6
votes
4answers
4k views
Nginx + PHP 5.3.3 (with php-fpm) - memory usage?
I recently bought Xen VPS (linode.com) with Debian 5.0 Lenny (i386), 512MB RAM. At the moment I have only three small websites (built with Drupal) with about 600 users per day in total running on this ...
3
votes
4answers
4k views
Can I run PHP 5.3 and PHP 5.2 on the same server with Apache?
I just curious if there's a way I can set up my development box so that I can have some sites running PHP 5.3 and some with PHP 5.2, and that I can switch between them fairly painlessly.
3
votes
1answer
3k 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 ...
2
votes
1answer
439 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 ...
2
votes
4answers
610 views
How to install a sandboxed version of PHP 5.3 (so I can still use an older version of PHP)?
Our development server is running Ubuntu with PHP 5.2.14. I need PHP 5.3 to try out the Behat library. How can I install PHP 5.3 to satisfy Behat, but keep PHP 5.2.14 as the default PHP version (so ...
2
votes
1answer
95 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?
2
votes
0answers
240 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
2answers
312 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 ...
1
vote
2answers
1k 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 ...
1
vote
2answers
308 views
What would be better in my case - apache, nginx or lighttpd?
I'm writing a PHP site that's expected to get about 200-300 concurrent users browsing it.
When initializing the application will load about 30 PHP classes, some 10 maybe 15 images and a couple of css ...
1
vote
1answer
1k 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 ( ...
1
vote
1answer
237 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:
...
1
vote
2answers
2k 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
1answer
230 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 ...
1
vote
2answers
5k views
Windows7 IIS7: zips don't have php5isapi.dll Can I use php.dll instead?
The page: How to Install PHP 5.2 on IIS 7and Windows Vista (and a few others) reference a mysterious php5isapi.dll which is not in the Windows install, or the zip files:
php-5.3.2-Win32-VC9-x86.zip - ...
1
vote
1answer
102 views
is it safe for the Apache to be the owner of the session directory (php)
Since I have upgraded to php 5.3 I have issues with the session GC.
Seems he can't access the directory which is owned by root, Although I see sessions are being created there.
Is it safe to change ...
1
vote
1answer
134 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, ...
1
vote
2answers
584 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:
...
1
vote
1answer
675 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 ...
0
votes
1answer
4k views
Can't find Role Services in Windows 7
I'm trying to install PHP on Windows 7 Home Premium using these instructions:
Using FastCGI to Host PHP Applications on IIS 7
and a 1/3 of the way down on the page I have to do this:
Server ...
0
votes
1answer
113 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 ...
0
votes
2answers
163 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.
...
0
votes
3answers
815 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(); ...
0
votes
1answer
586 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 ...
0
votes
1answer
712 views
Php 5.3.3. Access log
I'm using php-fpm.
In 5.3.2 when I'm opening phpinfo page in access log I get:
ip - - [26/Aug/2010:16:35:32 +0400] "GET /phpinfo.php HTTP/1.1" 200 13322 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; ...
0
votes
1answer
3k views
How to install PHP5.3 and SQLite3 on Ubuntu 8.04
I got a Ubuntu Hardy VPS and I am trying to install PHP5.3 with SQLite.
I added the dotdeb PHP5.3 repository and succeeded in installing PHP5.3. But I need to install SQLite as well. When I'm trying ...
0
votes
1answer
190 views
Duplicate PHP installations
Started with 5.2.6 installed, then proceeded to install 5.3.1, but instead of overwriting, SSH php is now running 5.3.1, whereas the web server still servers content with the 5.2.6 installation.
Any ...
0
votes
1answer
425 views
Is xdebug compatible with a custom install of php 5.3?
sudo apt-get install php5-xdebug
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
...
0
votes
0answers
6 views
phpdox composer not including vendor directory
I'm tring to install phpdox https://github.com/theseer/phpdox using composer. I've successfully installed it locally, but when I try on my server (centos 5.9) composer declares all is ok, but running ...
0
votes
0answers
16 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 ...
0
votes
1answer
66 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
1answer
34 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 ...
0
votes
1answer
127 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 ...
0
votes
0answers
70 views
Configuring PHP with Sybase on IIS
I have a Windows 2003 box with IIS 6 and PHP 5.3.1 installed on it. I need to connect to a Sybase DB, but I currently don't have the drivers installed on the machine.
How would I go about installing ...
0
votes
3answers
260 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 ...
0
votes
1answer
356 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 ...
0
votes
2answers
2k views
Upgrade PHP to 5.3 on CentOS 5 and Plesk 9.0.1
I have a VPS that currently runs CentOS 5 and Plesk 9.0.1.
Right now the server runs PHP 5.1 but I really need to start running PHP 5.3. Is there a repository out there that would allow me to upgrade ...
0
votes
1answer
586 views
site timing out when under heavy load
My client sends out eblasts at 8am monday/wed/friday. Between 8:15-8:45 the site becomes extremely slow and many users sessions timeout.
My setup:
Mediatemple VE 2gb dedicated ram (3 burst)
Ubuntu ...
0
votes
1answer
277 views
HTTP Requests Fails for WordPress sites after upgrading from PHP 5.2 to PHP 5.3
I've upgraded from Ubuntu 9.10 to 10.04 beta 1 and PHP got upgraded from 5.2 to 5.3
Now all my WordPress & Magento sites arent working.
I tried retrieving the URL headers from the command line, ...
-1
votes
1answer
54 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: ...
-2
votes
1answer
65 views
Confusing message getting php5 source [closed]
I got the following message on my Turnkey linux machine while trying to get the source code for my current version of PHP5:
root@lamp:~# apt-get source php5
Reading package lists... Done
Building ...
-2
votes
1answer
31 views
php mail with header does not send in CentOs 6.3 [closed]
mail() work fine but when I add header as 4th parameter in mail() function mail does not send.
include("MPDF54/mpdf.php");
$mpdf=new mPDF('utf-8','A4','','' , 0 , 0 , 0 , 0 , 0 , 0);
$content2 = ...

