[FUG-BR] problemas com uebimiau
Carlos Anderson Jardim
cajardim em valesaude.com.br
Terça Outubro 31 17:15:56 BRST 2006
Sandro Consoli escreveu:
> boa tarde pessoal
>
> estou com um problema aq
>
> instalei o php4, apache2, tudo certinho, quando eu instalei o uebimiau,
> para acessar a pagina pela primeira vez me apareceu isso:
>
>
>> security=true; $smarty->secure_dir=array("./"); $smarty->compile_dir =
>> $temporary_directory;
>> $smarty->assign("umLanguageFile",$selected_language.".txt");
>> $smarty->assign("umEmail",$f_email); $jssource = " ";
>> //$smarty->debugging = true;
>> $smarty->assign("umServerType",strtoupper($mail_server_type));
>> switch(strtoupper($mail_server_type)) { case "DETECT": break; case
>> "ONE-FOR-EACH": $aval_servers = count($mail_servers);
>> $smarty->assign("umAvailableServers",$aval_servers);
>> if(!$aval_servers) die("You must set at least one server in
>> \$mail_servers, please review your config.php"); if ($aval_servers ==
>> 1) { $strServers = "@".$mail_servers[0]["domain"]." "; } else {
>> $strServers = "@".$mail_servers[$i]["domain"]."\r"; } $strServers .=
>> "\r"; } $smarty->assign("umServer",$strServers); break; case
>> "ONE-FOR-ALL": break; default: die("Unknown server mode, please see
>> config.php"); } $smarty->assign("umUser",$f_user);
>> $smarty->assign("umPass",$f_pass); $smarty->assign("umJS",$jssource);
>> $avallangs = count($languages); if($avallangs == 0) die("You must
>> provide at least one language"); $avalthemes = count($themes);
>> if($avalthemes == 0) die("You must provide at least one theme");
>> $smarty->assign("umAllowSelectLanguage",$allow_user_change_language);
>> $func($textout); if($allow_user_change_language) { $def_lng =
>> (is_numeric($lid))?$lid:$default_language; $langsel =
>> "".$lang["name"]."\r"; } $langsel .= "\r";
>> $smarty->assign("umLanguages",$langsel); }
>> $smarty->assign("umAllowSelectTheme",$allow_user_change_theme);
>> if($allow_user_change_theme) { $def_tem =
>> (is_numeric($tid))?$tid:$default_theme; $themsel =
>> "".$theme["name"]."\r"; } $themsel .= "\r";
>> $smarty->assign("umThemes", $themsel); }
>> $smarty->display("$selected_theme/login.htm");
>>
>>
>>
>> o que pode ser isso, ja tentei de tudo nessa maquina e nada, será que
>> alguem pode me dar uma força
>>
>>
>>
>> valeu
>>
>> Sandro
>
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>
Sandro, blz?
Voce tem que ativar o php4 no /usr/local/etc/apache2/httpd.conf:
LoadModule php4_module libexec/apache2/libphp4.so
# PHP 4
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Reinicia o apache!!!
e pronto :D
Att.
--
--------------------------------
Carlos Anderson Jardim
Tecnologia da Informacao - Redes e Internet
Santa Casa de São José dos Campos
Linux User #403727
FUG-BR User #381
Tel.: (12) 3925-1873 - 3925-1925
--
Esta mensagem foi verificada pelo sistema de antivírus e
acredita-se estar livre de perigo.
Mais detalhes sobre a lista de discussão freebsd