ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-dev
php-dev
#50109 [NEW]: Low memory after installing mysql mod php5
by M Dot Ghadam At Gmail Dot Com other posts by this author
Nov 6 2009 7:54PM messages near this date
#50110 [Opn]: Static (File Scope) Variables | #50109 [Opn->Bgs]: Low memory after installing mysql mod php5
From:             m dot ghadam at gmail dot com
Operating system: Debian Lenny
PHP version:      5.3.0
PHP Bug Type:     MySQL related
Bug description:  Low memory after installing mysql mod php5

Description:
------------
Hi there,

I have a VPS.
I have installed "Lighttpd, php5cgi, mysql-server, mysql-client, 
libmysqlclient15-dev"

I have optimized the MySQL Server (/etc/mysql/my.cnf).
All these together just take 30 mb Memory.
Lighttpd use just 12mb memory And everything is very good.

But,
When I install php5 mod MySQL :
apt-get install php5-mysql
Then the Lighttpd memory increases to 90mb !!!

Any Solutions?
I am using updated Debian Lenny, MySQL5, php5.

Thanks!


-- 
Edit bug report at http://bugs.php.net/?id=50109&edit=1
-- 
Try a snapshot (PHP 5.2):            http://bugs.php.net/fix.php?id=50109&r=trysnapshot52
Try a snapshot (PHP 5.3):            http://bugs.php.net/fix.php?id=50109&r=trysnapshot53
Try a snapshot (PHP 6.0):            http://bugs.php.net/fix.php?id=50109&r=trysnapshot60
Fixed in SVN:                        http://bugs.php.net/fix.php?id=50109&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50109&r=needdocs
Fixed in release:                    http://bugs.php.net/fix.php?id=50109&r=alreadyfixed
Need backtrace:                      http://bugs.php.net/fix.php?id=50109&r=needtrace
Need Reproduce Script:               http://bugs.php.net/fix.php?id=50109&r=needscript
Try newer version:                   http://bugs.php.net/fix.php?id=50109&r=oldversion
Not developer issue:                 http://bugs.php.net/fix.php?id=50109&r=support
Expected behavior:                   http://bugs.php.net/fix.php?id=50109&r=notwrong
Not enough info:                     http://bugs.php.net/fix.php?id=50109&r=notenoughinfo
Submitted twice:                     http://bugs.php.net/fix.php?id=50109&r=submittedtwice
register_globals:                    http://bugs.php.net/fix.php?id=50109&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=50109&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=50109&r=dst
IIS Stability:                       http://bugs.php.net/fix.php?id=50109&r=isapi
Install GNU Sed:                     http://bugs.php.net/fix.php?id=50109&r=gnused
Floating point limitations:          http://bugs.php.net/fix.php?id=50109&r=float
No Zend Extensions:                  http://bugs.php.net/fix.php?id=50109&r=nozend
MySQL Configuration Error:           http://bugs.php.net/fix.php?id=50109&r=mysqlcfg
Thread:
M Dot Ghadam At Gmail Dot Com
jani

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved