why nginx not support php new $class()
Валентин Бартенев
ne at vbart.ru
Sat Aug 13 13:54:43 UTC 2011
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/
More information about the nginx
mailing list