Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
On 01/19/07 09:30, Don Levey wrote: > I need to raise the > memory limit for php from 8MB to 16MB. Simple, right? Just change the > memory_limit parameter in /etc/php.ini from 8M to 16M, restart httpd, and > you're off. Well, not exactly. > > nor have I > found any other place which might override the setting Perhaps, rather than being overridden it is just not being found. For me the output from phpinfo() usually shows "Configuration File (php.ini) Path" as "/etc/php.ini". You have "/etc". As a matter of style I prefer to change php setting on a per application basis rather than in the global ini file. As a starting point I usually create a per application file under apache, like this: /etc/http/conf.d/myapp.conf It contains things like: Alias /myapp "/home/me/myapp/html/www" <Directory "/home/me/myapp/html/www"> # Apache config stuff # ... # PHP config stuff php_flag register_globals off php_value memory_limit 32M # ... </Directory> Good PHP people here: http://www.bostonphp.org/ -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |