after we setup a server with custombuild 2 and nginx as webserver
2 website that use same system get following erro when they try to access a specefic php file
here is the nginx doamin error log
my problem is this part
11323 FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 58017344 bytes) in /home/username/domains/doamin.com/public_html/source/includes/database.php on line 68" while reading response header from upstream, client: ip x.x.x.x , server: doamin.com, request: "GET /admin.php HTTP/1.1", upstream: "fastcgi://unix:/usr/local/php53/sockets/username.sock:", host: "doamin.com"
and the other part taht may be not iportant
2013/06/07 23:36:32 [error] 3654#0: *11323 open() "/home/username/domains/doamin.com/public_html/favicon.ico" failed (2: No such file or directory), client: ip x.x.x.x, server: doamin.com, request: "GET /favicon.ico HTTP/1.1", host: "doamin.com"
^C2013/06/07 23:36:35 [error] 3653#0: *11585 FastCGI sent in stderr: "PHP message: PHP Parse error: syntax error, unexpected ',' in /home/username/domains/doamin.com/public_html/source/includes/template.php(106) : eval()'d code on line 106" while reading response header from upstream, client: ip x.x.x.x, server: doamin.com, request: "GET /viewer.php?file=47403489437604481699.gif HTTP/1.1", upstream: "fastcgi://unix:/usr/local/php53/sockets/username.sock:", host: "doamin.com", referrer: "http://doamin/cat/pouyajava5"
2013/06/07 23:36:35 [error] 3656#0: *11576 FastCGI sent in stderr: "PHP message: PHP Parse error: syntax error, unexpected ',' in /home/username/domains/doamin.com/public_html/source/includes/template.php(106) : eval()'d code on line 106" while reading response header from upstream, client: ip x.x.x.x, server: doamin.com, request: "GET /viewer.php?file=47403489437604481699.gif HTTP/1.1", upstream: "fastcgi://unix:/usr/local/php53/sockets/username.sock:", host: "doamin.com", referrer: "http://domain/cat/pouyajava5"
2013/06/07 23:36:35 [error] 3656#0: *11583 FastCGI sent in stderr: "PHP message: PHP Parse error: syntax error, unexpected ',' in /home/username/domains/doamin.com/public_html/source/includes/template.php(106) : eval()'d code on line 106" while reading response header from upstream, client: ip x.x.x.x, server: doamin.com, request: "GET /viewer.php?file=58567384264604816436.gif HTTP/1.1", upstream: "fastcgi://unix:/usr/local/php53/sockets/username.sock:", host: "doamin.com", referrer: "http://doamin/cat/pouyajava5"
2013/06/07 23:36:36 [error] 3653#0: *11779 FastCGI sent in stderr: "PHP message: PHP Parse error: syntax error, unexpected ',' in /home/username/domains/doamin.com/public_html/source/includes/template.php(106) : eval()'d code on line 106" while reading response header from upstream, client: ip x.x.x.x, server: doamin.com, request: "GET /viewer.php?file=58567384264604816436.gif HTTP/1.1", upstream: "fastcgi://unix:/usr/local/php53/sockets/username.sock:", host: "doamin.com", referrer: "/cat/pouyajava5"
i set memory_limit=512M on
/usr/local/php53/lib/php.ini
i get thi sfile from result of
php --ini
please give me your suggestion
2 website that use same system get following erro when they try to access a specefic php file
here is the nginx doamin error log
my problem is this part
11323 FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 58017344 bytes) in /home/username/domains/doamin.com/public_html/source/includes/database.php on line 68" while reading response header from upstream, client: ip x.x.x.x , server: doamin.com, request: "GET /admin.php HTTP/1.1", upstream: "fastcgi://unix:/usr/local/php53/sockets/username.sock:", host: "doamin.com"
and the other part taht may be not iportant
2013/06/07 23:36:32 [error] 3654#0: *11323 open() "/home/username/domains/doamin.com/public_html/favicon.ico" failed (2: No such file or directory), client: ip x.x.x.x, server: doamin.com, request: "GET /favicon.ico HTTP/1.1", host: "doamin.com"
^C2013/06/07 23:36:35 [error] 3653#0: *11585 FastCGI sent in stderr: "PHP message: PHP Parse error: syntax error, unexpected ',' in /home/username/domains/doamin.com/public_html/source/includes/template.php(106) : eval()'d code on line 106" while reading response header from upstream, client: ip x.x.x.x, server: doamin.com, request: "GET /viewer.php?file=47403489437604481699.gif HTTP/1.1", upstream: "fastcgi://unix:/usr/local/php53/sockets/username.sock:", host: "doamin.com", referrer: "http://doamin/cat/pouyajava5"
2013/06/07 23:36:35 [error] 3656#0: *11576 FastCGI sent in stderr: "PHP message: PHP Parse error: syntax error, unexpected ',' in /home/username/domains/doamin.com/public_html/source/includes/template.php(106) : eval()'d code on line 106" while reading response header from upstream, client: ip x.x.x.x, server: doamin.com, request: "GET /viewer.php?file=47403489437604481699.gif HTTP/1.1", upstream: "fastcgi://unix:/usr/local/php53/sockets/username.sock:", host: "doamin.com", referrer: "http://domain/cat/pouyajava5"
2013/06/07 23:36:35 [error] 3656#0: *11583 FastCGI sent in stderr: "PHP message: PHP Parse error: syntax error, unexpected ',' in /home/username/domains/doamin.com/public_html/source/includes/template.php(106) : eval()'d code on line 106" while reading response header from upstream, client: ip x.x.x.x, server: doamin.com, request: "GET /viewer.php?file=58567384264604816436.gif HTTP/1.1", upstream: "fastcgi://unix:/usr/local/php53/sockets/username.sock:", host: "doamin.com", referrer: "http://doamin/cat/pouyajava5"
2013/06/07 23:36:36 [error] 3653#0: *11779 FastCGI sent in stderr: "PHP message: PHP Parse error: syntax error, unexpected ',' in /home/username/domains/doamin.com/public_html/source/includes/template.php(106) : eval()'d code on line 106" while reading response header from upstream, client: ip x.x.x.x, server: doamin.com, request: "GET /viewer.php?file=58567384264604816436.gif HTTP/1.1", upstream: "fastcgi://unix:/usr/local/php53/sockets/username.sock:", host: "doamin.com", referrer: "/cat/pouyajava5"
i set memory_limit=512M on
/usr/local/php53/lib/php.ini
i get thi sfile from result of
php --ini
please give me your suggestion