Welcome! Log In Create A New Profile

Advanced

Re: why nginx not support php new $class()

Валентин Бартенев
August 13, 2011 11:28AM
On Saturday 13 August 2011 16:51:34 chinafirefox wrote:
> Hi everyone:
>
> the error is
> 502 Bad Gateway
> nginx/0.7.65
>
> my php scripts:
>
> $RTR =& load_class('Router'); ---->pass
> .......
> $class = $RTR->fetch_class(); ---->pass
> ......
> $CI = new $class(); ---->nopass my breakpoint step here
>
> give me some advice ,friends,tks
>

Actually, nginx doesn't support php at all. Your problem may be related to
your php interpreter or application server, that you use to run php scripts.

--
Valentin V. Bartenev
http://vbart.info/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

why nginx not support php new $class()

chinafirefox August 13, 2011 08:51AM

Re: why nginx not support php new $class()

Валентин Бартенев August 13, 2011 11:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 64
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready