caracteres diferentes [RESOLVIDO]

1. caracteres diferentes [RESOLVIDO]

Edivando José Alves
edivandoflf

(usa Ubuntu)

Enviado em 24/06/2010 - 16:56h

Quando eu utilizava o windows, usava o xampp para estudar PHP. Mudei meu sistema para linux,
instalei o apache2, mysql,... Enfim configurei o servidor para rodar o PHP.
Só que ao mostra os caracteres o browser mostra diferente.
Ex.
usuário ele mostra assim: Usuário.
botão: botão
parabens: Parabéns

O que devo fazer?
Será que é alguma configuração do apache?


  


2. Re: caracteres diferentes [RESOLVIDO]

3. diretorio não existe

Edivando José Alves
edivandoflf

(usa Ubuntu)

Enviado em 24/06/2010 - 17:13h

li o artigo mas este arquivo não existe no meu computador
/etc/httpd/conf/httpd.conf

diretorio /httpd não existe.


4. Re: caracteres diferentes [RESOLVIDO]

André
andrezc

(usa Debian)

Enviado em 24/06/2010 - 18:20h

Experimente verificar se o diretório existe :

/etc/httpd2

caso exista, é esse ai ;)


5. Re: caracteres diferentes [RESOLVIDO]

Edivando José Alves
edivandoflf

(usa Ubuntu)

Enviado em 24/06/2010 - 18:56h

Também não tem esse diretório.


6. Re: caracteres diferentes [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 24/06/2010 - 20:24h

/etc/httpd
/etc/http2
/etc/apache
/etc/apache.d

Ja vi todos estes =), depende do sistema.Um destes tem que ter ai.


7. Re: caracteres diferentes [RESOLVIDO]

Edivando José Alves
edivandoflf

(usa Ubuntu)

Enviado em 26/06/2010 - 10:01h

So tem esses diretorios

drwxr-xr-x 3 root root 4096 2010-06-17 18:25 acpi
-rw-r--r-- 1 root root 2981 2010-04-29 09:18 adduser.conf
-rw-r--r-- 1 root root 46 2010-06-17 17:26 adjtime
drwxr-xr-x 2 root root 4096 2010-06-17 19:03 alternatives
-rw-r--r-- 1 root root 395 2010-03-04 23:29 anacrontab
drwxr-xr-x 7 root root 4096 2010-06-26 09:42 apache2
drwxr-xr-x 6 root root 4096 2010-04-29 09:22 apm
drwxr-xr-x 3 root root 4096 2010-04-29 09:26 apparmor
drwxr-xr-x 7 root root 4096 2010-06-22 20:08 apparmor.d
drwxr-xr-x 4 root root 4096 2010-04-29 09:27 apport
drwxr-xr-x 6 root root 4096 2010-06-24 20:02 apt
-rw-r----- 1 root daemon 144 2010-03-04 23:35 at.deny
drwxr-xr-x 3 root root 4096 2010-04-29 09:26 avahi
-rw-r--r-- 1 root root 1939 2010-04-18 22:51 bash.bashrc
-rw-r--r-- 1 root root 51761 2010-04-14 10:32 bash_completion
drwxr-xr-x 2 root root 4096 2010-06-22 20:05 bash_completion.d
-rw-r--r-- 1 root root 344 2010-04-22 11:04 bindresvport.blacklist
-rw-r--r-- 1 root root 321 2010-03-22 14:50 blkid.conf
lrwxrwxrwx 1 root root 15 2010-06-17 13:42 blkid.tab -> /dev/.blkid.tab
drwxr-xr-x 2 root root 4096 2010-04-29 09:26 bluetooth
-rw-r--r-- 1 root root 7135 2010-04-15 08:34 bogofilter.cf
drwxr-xr-x 2 root root 4096 2010-04-29 09:25 bonobo-activation
-rw-r--r-- 1 root root 33 2010-04-29 09:27 brlapi.key
drwxr-xr-x 2 root root 12288 2010-04-29 09:27 brltty
drwxr-xr-x 2 root root 4096 2010-04-29 09:27 byobu
drwxr-xr-x 3 root root 4096 2010-04-29 09:18 ca-certificates
-rw-r--r-- 1 root root 6332 2010-04-29 09:18 ca-certificates.conf
drwxr-xr-x 2 root root 4096 2009-11-10 13:12 calendar
drwxr-s--- 2 root dip 4096 2010-04-29 09:26 chatscripts
drwxr-xr-x 2 root root 4096 2010-04-29 09:27 checkbox.d
drwxr-xr-x 2 root root 4096 2010-04-29 09:26 compizconfig
drwxr-xr-x 2 root root 4096 2010-04-29 09:27 computer-janitor.d
drwxr-xr-x 5 root root 4096 2010-04-29 09:20 ConsoleKit
drwxr-xr-x 2 root root 4096 2010-06-17 13:53 console-setup
drwxrwxr-x 4 couchdb couchdb 4096 2010-04-29 09:26 couchdb
drwxr-xr-x 2 root root 4096 2010-06-22 20:10 cron.d
drwxr-xr-x 2 root root 4096 2010-06-22 20:05 cron.daily
drwxr-xr-x 2 root root 4096 2010-04-29 09:18 cron.hourly
drwxr-xr-x 2 root root 4096 2010-04-29 09:26 cron.monthly
-rw-r--r-- 1 root root 724 2010-04-14 20:29 crontab
drwxr-xr-x 2 root root 4096 2010-04-29 09:27 cron.weekly
-rw-r--r-- 1 root root 54 2010-04-29 09:30 crypttab
drwxr-xr-x 4 root lp 4096 2010-06-17 18:26 cups
drwxr-xr-x 2 root root 4096 2010-06-22 20:21 dbconfig-common
drwxr-xr-x 5 root root 4096 2010-04-29 09:25 dbus-1
-rw-r--r-- 1 root root 2969 2010-04-09 11:33 debconf.conf
-rw-r--r-- 1 root root 12 2010-04-23 06:45 debian_version
drwxr-xr-x 2 root root 4096 2010-06-22 20:05 default
drwxr-xr-x 4 root root 4096 2010-04-29 09:25 defoma
-rw-r--r-- 1 root root 600 2010-01-27 07:26 deluser.conf
drwxr-xr-x 2 root root 4096 2010-04-29 09:18 depmod.d
drwxr-xr-x 4 root root 4096 2010-04-29 09:18 dhcp3
drwxr-xr-x 2 root root 4096 2010-04-29 09:30 dictionaries-common
drwxr-xr-x 3 root root 4096 2010-06-17 14:08 dkms
drwxr-xr-x 3 root root 4096 2010-04-29 09:22 doc-base
drwxr-xr-x 4 root root 4096 2010-04-29 09:18 dpkg
drwxr-xr-x 3 root root 4096 2010-04-29 09:22 emacs
-rw-r--r-- 1 root root 79 2010-04-29 09:18 environment
drwxr-xr-x 2 root root 4096 2010-04-29 09:25 esound
-rw-r--r-- 1 root root 8661 2010-03-04 09:40 ffserver.conf
drwxr-xr-x 4 root root 4096 2010-04-29 09:22 firefox
drwxr-xr-x 3 root root 4096 2010-04-29 09:22 firefox-3.0
drwxr-xr-x 4 root root 4096 2010-04-29 09:21 fonts
drwxr-xr-x 3 root root 4096 2010-04-29 09:25 foomatic
-rw-r--r-- 1 root root 611 2010-06-17 13:42 fstab
-rw-r----- 1 root fuse 216 2010-01-26 21:26 fuse.conf
-rw-r--r-- 1 root root 2987 2010-04-22 11:04 gai.conf
drwxr-xr-x 2 root root 4096 2010-04-29 09:28 gamin
drwxr-xr-x 6 root root 4096 2010-04-29 09:20 gconf
drwxr-xr-x 2 root root 4096 2010-04-29 09:26 gdb
drwxr-xr-x 6 root root 4096 2010-04-29 09:28 gdm
drwxr-xr-x 3 root root 4096 2010-04-29 09:25 gnome
drwxr-xr-x 2 root root 4096 2010-04-29 09:26 gnome-app-install
drwxr-xr-x 2 root root 4096 2010-04-29 09:27 gnome-system-tools
drwxr-xr-x 3 root root 4096 2010-04-29 09:20 gnome-vfs-2.0
-rw-r--r-- 1 root root 10852 2007-04-27 23:27 gnome-vfs-mime-magic
drwxr-xr-x 2 root root 4096 2010-04-29 09:26 gre.d
drwxr-xr-x 2 root root 4096 2010-04-29 09:26 groff
-rw-r--r-- 1 root root 882 2010-06-24 14:47 group
-rw------- 1 root root 870 2010-06-21 16:33 group-
drwxr-xr-x 2 root root 4096 2010-06-17 18:29 grub.d
-rw-r----- 1 root shadow 733 2010-06-24 14:47 gshadow
-rw------- 1 root root 725 2010-06-21 16:33 gshadow-
drwxr-xr-x 2 root root 4096 2010-06-17 18:25 gtk-2.0
drwxr-xr-x 2 root root 4096 2010-06-20 20:38 gufw
drwxr-xr-x 3 root root 4096 2010-04-29 09:23 hal
-rw-r--r-- 1 root root 4794 2010-04-22 16:14 hdparm.conf
-rw-r--r-- 1 root root 92 2010-04-23 06:45 host.conf
-rw-r--r-- 1 root root 16 2010-06-17 13:53 hostname
-rw-r--r-- 1 root root 294 2010-06-24 15:14 hosts
-rw-r--r-- 1 root root 580 2010-04-29 09:25 hosts.allow
-rw-r--r-- 1 root root 880 2010-04-29 09:25 hosts.deny
drwxr-xr-x 2 root root 4096 2010-04-29 09:27 hp
drwxr-xr-x 3 root root 4096 2010-04-29 09:24 ifplugd
drwxr-xr-x 2 root root 4096 2010-06-22 20:08 init
drwxr-xr-x 2 root root 4096 2010-06-22 20:08 init.d
drwxr-xr-x 5 root root 4096 2010-04-29 09:18 initramfs-tools
-rw-r--r-- 1 root root 1721 2010-01-18 05:15 inputrc
drwxr-xr-x 3 root root 4096 2009-11-05 05:56 insserv
-rw-r--r-- 1 root root 885 2009-11-05 05:56 insserv.conf
drwxr-xr-x 2 root root 4096 2009-11-05 05:56 insserv.conf.d
drwxr-xr-x 2 root root 4096 2010-04-29 09:18 iproute2
-rw-r--r-- 1 root root 24 2010-04-23 07:11 issue
-rw-r--r-- 1 root root 17 2010-04-23 07:11 issue.net
drwxr-xr-x 4 root root 4096 2010-06-17 19:03 java-6-sun
drwxr-xr-x 2 root root 4096 2010-06-22 20:19 javascript-common
drwxr-xr-x 2 root root 4096 2010-04-29 09:19 kbd
drwxr-xr-x 4 root root 4096 2010-06-21 17:14 kde3
drwxr-xr-x 5 root root 4096 2010-06-17 14:07 kernel
-rw-r--r-- 1 root root 167 2010-06-17 13:55 kernel-img.conf
-rw-r--r-- 1 root root 1309 2010-04-19 06:06 kerneloops.conf
drwxr-xr-x 2 root root 4096 2010-04-29 09:18 ldap
-rw-r--r-- 1 root root 69194 2010-06-22 20:21 ld.so.cache
-rw-r--r-- 1 root root 34 2010-04-29 09:18 ld.so.conf
drwxr-xr-x 2 root root 4096 2010-06-17 18:06 ld.so.conf.d
-rw-r--r-- 1 root root 267 2010-04-23 06:45 legal
-rw-r--r-- 1 root root 3587 2009-11-15 21:55 lftp.conf
-rw-r--r-- 1 root root 20 2010-03-06 10:37 libao.conf
drwxr-xr-x 2 root root 4096 2010-03-06 12:45 libpaper.d
-rw-r--r-- 1 root root 2570 2010-03-04 09:28 locale.alias
-rw-r--r-- 1 root root 714 2010-06-17 18:08 localtime
drwxr-xr-x 5 root root 4096 2010-06-21 16:33 logcheck
-rw-r--r-- 1 root root 10788 2010-01-26 14:09 login.defs
-rw-r--r-- 1 root root 599 2010-03-07 00:00 logrotate.conf
drwxr-xr-x 2 root root 4096 2010-06-22 20:08 logrotate.d
drwxr-xr-x 2 root root 4096 2010-02-23 07:51 lsb-base
-rw-r--r-- 1 root root 3239 2009-12-04 08:46 lsb-base-logging.sh
-rw-r--r-- 1 root root 102 2010-04-23 06:45 lsb-release
-rw-r--r-- 1 root root 15752 2009-07-25 12:13 ltrace.conf
-rw-r--r-- 1 root root 111 2010-04-01 04:28 magic
-rw-r--r-- 1 root root 111 2010-04-01 04:28 magic.mime
-rw-r--r-- 1 root root 27964 2010-06-17 19:11 mailcap
-rw-r--r-- 1 root root 449 2010-01-15 21:05 mailcap.order
-rw-r--r-- 1 root root 5173 2010-03-02 07:31 manpath.config
drwxr-xr-x 2 root root 4096 2010-06-18 20:28 menu
drwxr-xr-x 2 root root 4096 2010-06-18 20:29 menu-methods
-rw-r--r-- 1 root root 22275 2010-01-15 21:05 mime.types
-rw-r--r-- 1 root root 801 2010-04-19 01:30 mke2fs.conf
drwxr-xr-x 2 root root 4096 2010-04-29 09:26 modprobe.d
-rw-r--r-- 1 root root 198 2010-06-17 13:54 modules
drwxr-xr-x 4 root root 4096 2010-04-29 09:28 mono
lrwxrwxrwx 1 root root 13 2010-06-17 13:42 motd -> /var/run/motd
drwxr-xr-x 2 root root 4096 2010-06-17 18:53 mplayer
-rw-r--r-- 1 root root 803 2010-06-26 09:24 mtab
-rw------- 1 root edivando 0 2010-06-17 14:04 mtab.fuselock
-rw-r--r-- 1 root root 624 2009-11-13 15:45 mtools.conf
drwxr-xr-x 3 root root 4096 2010-06-22 20:08 mysql
-rw-r--r-- 1 root root 8453 2010-02-01 23:30 nanorc
-rw-r--r-- 1 root root 2064 2006-11-23 16:33 netscsid.conf
drwxr-xr-x 6 root root 4096 2010-04-29 09:18 network
drwxr-xr-x 5 root root 4096 2010-04-29 09:27 NetworkManager
-rw-r--r-- 1 root root 91 2010-04-23 06:45 networks
-rw-r--r-- 1 root root 513 2010-04-29 09:27 nsswitch.conf
drwxr-xr-x 2 root root 4096 2010-04-29 09:27 obex-data-server
drwxr-xr-x 2 root root 4096 2009-12-04 21:45 ODBCDataSources
-rw-r--r-- 1 root root 0 2009-12-04 21:45 odbc.ini
drwxr-xr-x 2 root root 4096 2010-06-17 18:53 openal
drwxr-xr-x 2 root root 4096 2010-06-17 18:30 openoffice
drwxr-xr-x 2 root root 4096 2010-04-29 09:17 opt
-rw-r--r-- 1 root root 552 2010-04-13 19:01 pam.conf
drwxr-xr-x 2 root root 4096 2010-06-17 18:30 pam.d
drwxr-xr-x 2 root root 4096 2010-04-29 09:21 pango
-rw-r--r-- 1 root root 3 2010-06-17 13:54 papersize
-rw-r--r-- 1 root root 1776 2010-06-24 14:47 passwd
-rw------- 1 root root 1739 2010-06-21 16:33 passwd-
drwxr-xr-x 2 root root 4096 2010-04-29 09:27 pcmcia
drwxr-xr-x 5 root root 4096 2010-04-29 09:26 perl
drwxr-xr-x 4 root root 4096 2010-06-22 20:10 php5
drwxr-xr-x 2 root root 4096 2010-06-22 20:21 phpmyadmin
drwxr-xr-x 5 root root 4096 2010-04-29 09:22 pm
-rw-r--r-- 1 root root 7649 2010-04-29 09:27 pnm2ppa.conf
drwxr-xr-x 5 root root 4096 2010-04-29 09:20 polkit-1
-rw-r--r-- 1 root root 350 2010-06-17 13:54 popularity-contest.conf
drwxr-xr-x 8 root dip 4096 2010-04-29 09:27 ppp
lrwxrwxrwx 1 root root 22 2010-06-17 18:27 printcap -> /var/run/cups/printcap
-rw-r--r-- 1 root root 497 2010-04-29 09:18 profile
drwxr-xr-x 2 root root 4096 2010-04-29 09:27 profile.d
-rw-r--r-- 1 root root 2626 2009-12-03 13:11 protocols
drwxr-xr-x 2 root root 4096 2010-04-29 09:27 pulse
drwxr-xr-x 2 root root 4096 2010-04-29 09:18 python
drwxr-xr-x 2 root root 4096 2010-04-29 09:18 python2.6
drwxr-xr-x 2 root root 4096 2010-06-21 17:14 qt3
-rw-r--r-- 1 root root 1023 2009-06-08 18:34 rarfiles.lst
drwxr-xr-x 2 root root 4096 2010-06-22 20:06 rc0.d
drwxr-xr-x 2 root root 4096 2010-06-22 20:06 rc1.d
drwxr-xr-x 2 root root 4096 2010-06-22 20:06 rc2.d
drwxr-xr-x 2 root root 4096 2010-06-22 20:06 rc3.d
drwxr-xr-x 2 root root 4096 2010-06-22 20:06 rc4.d
drwxr-xr-x 2 root root 4096 2010-06-22 20:06 rc5.d
drwxr-xr-x 2 root root 4096 2010-06-22 20:06 rc6.d
-rwxr-xr-x 1 root root 306 2010-04-29 09:18 rc.local
drwxr-xr-x 2 root root 4096 2010-04-29 09:27 rcS.d
-rw-r--r-- 1 root root 373 2009-12-18 04:12 rearj.cfg
drwxr-xr-x 3 root root 4096 2010-04-29 09:22 resolvconf
-rw-r--r-- 1 root root 116 2010-06-26 09:52 resolv.conf
-rwxr-xr-x 1 root root 268 2009-11-09 19:50 rmt
-rw-r--r-- 1 root root 887 2009-12-03 13:11 rpc
-rw-r--r-- 1 root root 1217 2010-02-24 15:26 rsyslog.conf
drwxr-xr-x 2 root root 4096 2010-04-29 09:26 rsyslog.d
drwxr-xr-x 2 root root 4096 2010-04-29 09:27 samba
drwxr-xr-x 3 root root 4096 2010-04-29 09:27 sane.d
-rw-r--r-- 1 root root 3663 2009-11-10 15:06 screenrc
-rw-r--r-- 1 root root 1107 2010-01-26 14:09 securetty
drwxr-xr-x 4 root root 4096 2010-04-29 09:18 security
-rw-r--r-- 1 root root 8596 2010-02-15 14:17 sensors3.conf
drwxr-xr-x 2 root root 4096 2010-04-29 09:25 sensors.d
-rw-r--r-- 1 root root 18832 2009-12-03 13:11 services
drwxr-xr-x 3 root root 4096 2010-04-29 09:25 sgml
-rw-r----- 1 root shadow 1192 2010-06-24 14:48 shadow
-rw------- 1 root root 1070 2010-06-21 16:33 shadow-
-rw-r--r-- 1 root root 181 2010-04-29 09:26 shells
drwxr-xr-x 2 root root 4096 2010-04-29 09:26 skel
drwxr-xr-x 3 root root 4096 2010-04-29 09:20 sound
drwxr-xr-x 4 root root 4096 2010-04-29 09:27 speech-dispatcher
drwxr-xr-x 2 root root 4096 2010-06-17 18:25 ssh
drwxr-xr-x 4 root root 4096 2010-04-29 09:18 ssl
-r--r----- 1 root root 609 2010-06-17 13:53 sudoers
drwxr-xr-x 2 root root 4096 2010-04-29 09:18 sudoers.d
-rw-r--r-- 1 root root 19 2010-02-04 14:35 su-to-rootrc
-rw-r--r-- 1 root root 2028 2009-12-16 16:34 sysctl.conf
drwxr-xr-x 2 root root 4096 2010-04-29 09:18 sysctl.d
drwxr-xr-x 2 root root 4096 2010-04-29 09:18 terminfo
-rw-r--r-- 1 root root 18 2010-06-17 18:08 timezone
-rw-r--r-- 1 root root 645 2010-03-07 02:58 ts.conf
-rw-r--r-- 1 root root 1260 2008-05-30 03:22 ucf.conf
drwxr-xr-x 3 root root 4096 2010-04-29 09:18 udev
drwxr-xr-x 3 root root 4096 2010-04-29 09:26 ufw
-rw-r--r-- 1 root root 300 2010-03-24 07:16 updatedb.conf
drwxr-xr-x 3 root root 4096 2010-06-17 18:30 update-manager
drwxr-xr-x 2 root root 4096 2010-06-17 18:30 update-motd.d
drwxr-xr-x 2 root root 4096 2010-04-13 17:52 update-notifier
drwxr-xr-x 2 root root 4096 2010-06-17 18:52 vga
drwxr-xr-x 2 root root 4096 2010-04-29 09:18 vim
drwxr-xr-x 3 root root 4096 2010-06-17 19:10 vlc
drwxr-xr-x 2 root root 4096 2010-04-29 09:26 w3m
-rw-r--r-- 1 root root 4496 2010-01-06 11:02 wgetrc
-rw-r--r-- 1 root root 1343 2007-01-09 15:39 wodim.conf
drwxr-xr-x 2 root root 4096 2010-04-29 09:27 wpa_supplicant
drwxr-xr-x 11 root root 4096 2010-06-17 14:03 X11
drwxr-xr-x 6 root root 4096 2010-04-29 09:27 xdg
drwxr-xr-x 2 root root 4096 2010-04-29 09:26 xml
drwxr-xr-x 2 root root 4096 2010-04-29 09:28 xul-ext
drwxr-xr-x 2 root root 4096 2010-04-29 09:26 xulrunner-1.9.2
-rw-r--r-- 1 root root 645 2010-04-15 04:59 zsh_command_not_found







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts