现在的位置: 首页 > 综合 > 正文

cookie重定向问题的解决!

2013年05月17日 ⁄ 综合 ⁄ 共 1388字 ⁄ 字号 评论关闭

使用CAS.php进行SSO登录,在windows下没有问题,在ubuntu总是提示cookie重定向错误!高手的解决方案如下:

(1)apt-cache search php5-curl,提示php5-curl - CURL module for php5

(2)sudo apt-get install php5-curl,安装该模块!

(3)确保虚拟目录准确,写入:

 

就可以看到/etc/php5/apache2/conf.d/curl.ini,经过搜索,

CURL is a library for getting files from FTP, GOPHER, HTTP server.


PHP5 is an HTML-embedded scripting language. Much of its syntax is borrowed
from C, Java and Perl with a couple of unique PHP-specific features thrown
in. The goal of the language is to allow web developers to write dinamically
generated pages quickly. This version of PHP5 was built with the Suhosin patch.

然后该SSO登录问题就可以解决拉!

抱歉!评论已关闭.