Problem with PHP 5.2.0

This is a discussion on Problem with PHP 5.2.0 within the PHP General forums, part of the PHP Programming Forums category; Hi. I just installed PHP 5.2.0 and I'm running into some strange problems. I have a rather ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-13-2006
bluefx13@gmail.com
 
Posts: n/a
Default Problem with PHP 5.2.0

Hi. I just installed PHP 5.2.0 and I'm running into some strange problems.

I have a rather large program which uses sockets, pcntl, posix, pdo
(mysql), and is fully object oriented. The program is rather large and
is about 75,000 lines of code.

When I run the application with PHP 5.1.6, I can execute commands in
around 0.6 to 0.8 seconds, uses less then 1% cpu power, and takes around
14 megs of ram.

I installed PHP 5.2.0 and when I execute a command (through my
application), it takes 9 to 12 seconds to complete, it uses 100% cpu
power, and eats about 180 megs of ram.

Nothing changed other then installing PHP 5.2.0. I have reinstalled
5.1.6 and everything is back to normal. I have compiled both versions
the exact same way with the same command line options.

Are there any outstanding issues with PHP 5.2.0? Anyone have any similar
problems?

I don't want to go through my source code to find where 5.2.0 is hanging
so I'm hoping there is a known issue already documented out there.

Here is config line:

../configure --prefix=/usr/local/php5 --libdir=/usr/local/php
--with-config-file-path=/usr/local/php --with-zlib --with-mcrypt
--enable-cli --without-pear --enable-libgcc --with-curl --enable-sockets
--enable-pcntl --enable-posix --enable-sigchild --disable-cgi
--with-pdo-mysql --with-imap-ssl=/usr/local/imap-2006c1 --with-openssl
--enable-ftp


Any help would be appreciated.

Thanks,
John W.
Reply With Quote
  #2 (permalink)  
Old 11-14-2006
Kevin Waterson
 
Posts: n/a
Default Re: [PHP] Problem with PHP 5.2.0

This one time, at band camp, "bluefx13@gmail.com" <bluefx13@gmail.com> wrote:

> Hi. I just installed PHP 5.2.0 and I'm running into some strange problems.


xdebug

Kevin

--
"Democracy is two wolves and a lamb voting on what to have for lunch.
Liberty is a well-armed lamb contesting the vote."
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:51 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0