[Help] Web không hiển thị mã kiểm tra trên ubuntu

root@dc24:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=48 time=58.7 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=48 time=58.8 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=48 time=58.9 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=48 time=59.0 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=48 time=58.9 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=48 time=58.8 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=48 time=58.8 ms
64 bytes from 8.8.8.8: icmp_seq=8 ttl=48 time=58.9 ms
64 bytes from 8.8.8.8: icmp_seq=9 ttl=48 time=58.9 ms

root@dc24:~# ping archive.ubuntu.com
PING archive.ubuntu.com (91.189.91.13) 56(84) bytes of data.
64 bytes from ragana.canonical.com (91.189.91.13): icmp_seq=1 ttl=51 time=258 ms
64 bytes from ragana.canonical.com (91.189.91.13): icmp_seq=2 ttl=51 time=258 ms
64 bytes from ragana.canonical.com (91.189.91.13): icmp_seq=3 ttl=51 time=258 ms
64 bytes from ragana.canonical.com (91.189.91.13): icmp_seq=4 ttl=51 time=258 ms
64 bytes from ragana.canonical.com (91.189.91.13): icmp_seq=5 ttl=51 time=258 ms
64 bytes from ragana.canonical.com (91.189.91.13): icmp_seq=6 ttl=51 time=258 ms
64 bytes from ragana.canonical.com (91.189.91.13): icmp_seq=7 ttl=51 time=259 ms
 
chạy
apt-get update
Fetched 2,582 kB in 2min 34s (16.7 kB/s)
Reading package lists... Done

chạy
apt-get install php5-gd
Reading package lists... Done
Building dependency tree
Reading state information... Done
php5-gd is already the newest version.
The following packages were automatically installed and are no longer required:
linux-headers-3.16.0-46 linux-headers-3.16.0-46-generic
linux-image-3.16.0-46-generic linux-image-extra-3.16.0-46-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 37 not upgraded

kiểm tra có gd
root@dc24:~# php5 -m | grep -i gd
gd


mà kiểm tra bẳng phpinfo thì ko thấy có gd
 

DMGM

bạn reboot vps chưa
chạy
apt-get update
Fetched 2,582 kB in 2min 34s (16.7 kB/s)
Reading package lists... Done

chạy
apt-get install php5-gd
Reading package lists... Done
Building dependency tree
Reading state information... Done
php5-gd is already the newest version.
The following packages were automatically installed and are no longer required:
linux-headers-3.16.0-46 linux-headers-3.16.0-46-generic
linux-image-3.16.0-46-generic linux-image-extra-3.16.0-46-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 37 not upgraded

kiểm tra có gd
root@dc24:~# php5 -m | grep -i gd
gd


mà kiểm tra bẳng phpinfo thì ko thấy có gd
 

Na bong sun

Tk đã hết hạn sử dụng
dài 4 trang sau vài đêm bị mất ăn mất ngủ và cuối cùng đến con số 43 là thành công :troll2:
 

Thống kê

Chủ đề
100,756
Bài viết
467,591
Thành viên
339,853
Thành viên mới nhất
THPT Lí Thường Kiệt
Top