Hi all. I'm attempting to setup yii on a new Centos 5 server and I get the following message.
$_SERVER variable Failed $_SERVER does not have HTTP_USER_AGENT.
Does anyone know how to enable this var? I'm turning up a blank in my searches.
Also is this var strictly required?
Thanks!
Page 1 of 1
yii requirements - $_SERVER variable Failed $_SERVER does not have HTTP_USER_AGENT.
#2
Posted 04 November 2010 - 02:54 PM
rrbot, on 04 November 2010 - 12:33 PM, said:
Hi all. I'm attempting to setup yii on a new Centos 5 server and I get the following message.
$_SERVER variable Failed $_SERVER does not have HTTP_USER_AGENT.
Does anyone know how to enable this var? I'm turning up a blank in my searches.
Also is this var strictly required?
Thanks!
$_SERVER variable Failed $_SERVER does not have HTTP_USER_AGENT.
Does anyone know how to enable this var? I'm turning up a blank in my searches.
Also is this var strictly required?
Thanks!
Got it. I turned safe mode off and it fixed the problem.
#3
Posted 28 July 2012 - 04:49 PM
I have the same problem 
my server is a test vps on my home node
centos 5 , using local IP 10.0.0.102 on virtual min
I found that the safe mode is already off
I resolved this issue by executing php scripts by CGI wrapper
instead of FCGId
my regards
my server is a test vps on my home node
centos 5 , using local IP 10.0.0.102 on virtual min
I found that the safe mode is already off
I resolved this issue by executing php scripts by CGI wrapper
instead of FCGId
my regards
Share this topic:
Page 1 of 1

Help












