LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-11-2007, 01:15 PM   #1
amena
LQ Newbie
 
Registered: Apr 2007
Posts: 3

Rep: Reputation: 0
sever shutdown


can you help me with the instruction that shutdown the server using php
 
Old 04-11-2007, 02:38 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
exec("halt")...

Perhaps you would like to explain your setup, and what you are trying to do a bit better?
 
Old 04-11-2007, 02:39 PM   #3
x_terminat_or_3
Member
 
Registered: Mar 2007
Location: Plymouth, UK
Distribution: Fedora Core, RHEL, Arch
Posts: 342

Rep: Reputation: 38
Why, are you trying to do something naughty?
 
Old 04-11-2007, 03:20 PM   #4
amena
LQ Newbie
 
Registered: Apr 2007
Posts: 3

Original Poster
Rep: Reputation: 0
when i put the command in terminal it run correctly, but when i write it as php instruction it dosen,t run like that"echo `sudo init 0`;"
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why the sever goes down every weekend? QianChen Linux - Newbie 18 09-22-2008 07:34 PM
X sever crash for 2.6.20 georkost Linux - Kernel 9 05-30-2007 01:59 AM
SME sever emailssent Linux - Networking 5 11-01-2004 09:04 PM
Mail Sever emailssent Linux - Networking 7 10-09-2004 11:06 AM
file sever civicracer999 Linux - Networking 2 07-23-2004 11:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration