[問題] PHP 5.2.13的怪問題..
請問一下,
有沒有人遇到一樣的PHP怪問題?
從FreeBSD 8.1 X64的ports安裝php52,php52-extension,phpMyadmin 3.3.3,
wordpress 3.0可是一執行就出現一堆下列的Error(apache 2.2的error log)
PHP Fatal error: Allowed memory size of 262144 bytes exhausted
(tried to allocate 122880 bytes) in /data/wordpress/wp-admin/admin.php on
line 111
PHP Fatal error: Allowed memory size of 262144 bytes exhausted (tried to
allocate 122880 bytes) in /data/phpMyAdmin/main.php on line 131,
referer: http://AA.BB.CC.DD/phpMyAdmin33/index.php?token=bd9c1c025db69a7fdfd4
a96f69c84308
已經試著在/usr/local/etc/php.ini內把memory_limit這參數調成如下,還是沒用:~
memory_limit = 8192M
有人知道該如何解嗎?
PHP版本如下:
PHP 5.2.13 with Suhosin-Patch 0.9.7 (cli) (built: Jun 29 2010 14:11:24)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
PHP相關有安裝的module如下(php -m)
[PHP Modules]
bcmath
bz2
calendar
ctype
curl
date
dba
dom
exif
fileinfo
filter
fribidi
ftp
gd
gettext
gmp
hash
iconv
json
ldap
libxml
mbstring
mcrypt
mhash
mysql
mysqli
ncurses
odbc
openssl
pcntl
pcre
pdf
PDO
pdo_sqlite
pgsql
posix
pspell
readline
recode
Reflection
session
shmop
SimpleXML
snmp
soap
sockets
SPL
SQLite
standard
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
wddx
xml
xmlreader
xmlrpc
xmlwriter
xsl
yaz
zip
zlib
[Zend Modules]
Thanks in advance!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.63.41.66
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章