Path/php5 di Ubuntu 9,04 ?

Pertanyaan umum seputar distribusi Ubuntu yang menjadi distro wajib members ubuntu-indonesia.com
User avatar
Wadahrerasan
Posts: 44
Joined: 18 Mar 2010, 00:33
Location: Salatiga

Path/php5 di Ubuntu 9,04 ?

Postby Wadahrerasan » 23 Mar 2010, 03:40

Yang bener dimana sih letak path php5 thu.. coba cari di google banyak yng bilang di /usr/bin/php aku coba cari ga ada folder php5 ataupun file php5...ga pake lampp lho

Pingin belajar crontab njalanin file php.. Mohon Pencerahannya Saudara2ku pecinta ubuntu.... ^_^
User avatar
Sudoers
Site Admin
Posts: 1
Joined: 03 Nov 2009, 17:43

Re: Path/php5 di Ubuntu 9,04 ?

Postby Sudoers » 23 Mar 2010, 08:19

pake perintah dibawah ini bro buat memastikan dissitem kamu.
# locate php5

klo yg dimaksud file aplikasinya ya benar di /usr/bin
klo konfigurasinya di /etc/php5 dll.
pake perintah diatas aja buat meyakinkan.
User avatar
aptfast
Posts: 3847
Joined: 03 Jan 2010, 23:38
Location: Jakarta, Indonesia
Contact:

Re: Path/php5 di Ubuntu 9,04 ?

Postby aptfast » 23 Mar 2010, 08:29

wew, PHP dijalankan pake crontab...
baru tau...
mantab...

ijin nyimak gan... :D
User avatar
c0jack
Posts: 743
Joined: 12 Jan 2010, 10:33
Location: Jogjakarta, Indonesia
Contact:

Re: Path/php5 di Ubuntu 9,04 ?

Postby c0jack » 23 Mar 2010, 08:48

bisa bro, kan ada php-cli


regards,
c0jack
User avatar
Wadahrerasan
Posts: 44
Joined: 18 Mar 2010, 00:33
Location: Salatiga

Re: Path/php5 di Ubuntu 9,04 ?

Postby Wadahrerasan » 23 Mar 2010, 11:43

Aneh ni pak, aku install php5 pake

apt-get install php5

aku cari file aplikasinya di /usr/bin kok ga ada

kan kl ga salah kl mau nambah crontab

"crontab ***** path/php path/fileygmaudijalankan.php"
User avatar
Sudoers
Site Admin
Posts: 1
Joined: 03 Nov 2009, 17:43

Re: Path/php5 di Ubuntu 9,04 ?

Postby Sudoers » 23 Mar 2010, 11:47

coba ls -l /usr/bin/php5
User avatar
Wadahrerasan
Posts: 44
Joined: 18 Mar 2010, 00:33
Location: Salatiga

Re: Path/php5 di Ubuntu 9,04 ?

Postby Wadahrerasan » 23 Mar 2010, 11:51

# ls -l /usr/bin/php5
ls: cannot access /usr/bin/php5: No such file or directory
User avatar
Sudoers
Site Admin
Posts: 1
Joined: 03 Nov 2009, 17:43

Re: Path/php5 di Ubuntu 9,04 ?

Postby Sudoers » 23 Mar 2010, 11:56

error ato gagal neh install php5?
coba dicek ulang bro paket php5nya munkin ada yg tertinggal ato error..
User avatar
Wadahrerasan
Posts: 44
Joined: 18 Mar 2010, 00:33
Location: Salatiga

Re: Path/php5 di Ubuntu 9,04 ?

Postby Wadahrerasan » 23 Mar 2010, 12:03

wokey bro, aku coba remove n install ulang lagi php5 nya...wait for second..
User avatar
Wadahrerasan
Posts: 44
Joined: 18 Mar 2010, 00:33
Location: Salatiga

Re: Path/php5 di Ubuntu 9,04 ?

Postby Wadahrerasan » 23 Mar 2010, 12:03

^_^
User avatar
lisnux
Posts: 1763
Joined: 02 Jan 2010, 16:26
Location: Samarinda
Contact:

Re: Path/php5 di Ubuntu 9,04 ?

Postby lisnux » 23 Mar 2010, 15:00

Ditempatku ada lho
muhlis@ubuntu:~$ ls /usr/bin/php5
/usr/bin/php5
User avatar
Wadahrerasan
Posts: 44
Joined: 18 Mar 2010, 00:33
Location: Salatiga

Re: Path/php5 di Ubuntu 9,04 ?

Postby Wadahrerasan » 23 Mar 2010, 20:40

installnya pake apa bro?apt-get install php5? ubuntu berapa? kok tempatku ga ada ya... bingung deh..^_^
User avatar
lisnux
Posts: 1763
Joined: 02 Jan 2010, 16:26
Location: Samarinda
Contact:

Re: Path/php5 di Ubuntu 9,04 ?

Postby lisnux » 23 Mar 2010, 21:35

installnya pake synaptic, aku masih pake jaunty. Image
User avatar
blackshirt
Posts: 2336
Joined: 02 Jan 2010, 17:00
Location: Solo dan Kebumen
Contact:

Re: Path/php5 di Ubuntu 9,04 ?

Postby blackshirt » 24 Mar 2010, 09:23

binary php5, biasanya berasal dari paket php5-cli, coba install php5-cli dan liat dengan

Code: Select all

$dpkg --listfiles php5-cli

maka seharusnya akan muncul list yang salah satunya /usr/bin/php5..
User avatar
Wadahrerasan
Posts: 44
Joined: 18 Mar 2010, 00:33
Location: Salatiga

Re: Path/php5 di Ubuntu 9,04 ?

Postby Wadahrerasan » 24 Mar 2010, 13:59

Yup mas,kemarin aku cari dari synapticnya aku install php5-clinya..baru aku whereis...muncul /usr/bin/php5 ..Makasih
User avatar
lisnux
Posts: 1763
Joined: 02 Jan 2010, 16:26
Location: Samarinda
Contact:

Re: Path/php5 di Ubuntu 9,04 ?

Postby lisnux » 24 Mar 2010, 14:39

Berarti udah fix neh ...
User avatar
Wadahrerasan
Posts: 44
Joined: 18 Mar 2010, 00:33
Location: Salatiga

Re: Path/php5 di Ubuntu 9,04 ?

Postby Wadahrerasan » 24 Mar 2010, 15:11

yuppy..thanks yaw
User avatar
lisnux
Posts: 1763
Joined: 02 Jan 2010, 16:26
Location: Samarinda
Contact:

Re: Path/php5 di Ubuntu 9,04 ?

Postby lisnux » 24 Mar 2010, 20:54

Jadi ditutup ya :D

Return to “Pertanyaan Umum”

Who is online

Users browsing this forum: No registered users and 13 guests