php and path-info

ts77

Well-Known Member
#1
hey there,

I've just seen that path-info isn't working with my own built php-install.

In the docs I've found
--disable-path-info-check
as being required.
The configure output says that this *disables* path-info ... .

whats the point with that?
until now I could use my own php-install which worked with other webservers through fast-cgi without problems. do I really need to build another one?



thanks,

thomas
 

mistwang

LiteSpeed Staff
#2
Yes, you need to rebuild your PHP binary if use PATH_INFO.
"--disable-path-info-check" is an awkward workaround for those web servers not passing correct PATH_INFO and PATH_TRANSLATED envs.
LiteSpeed follows CGI specs more strickly and do not need this work around.
 
Top