To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > Misc Help > Linux/Unix Help

Linux/Unix Help Help with server-side Linux and Unix issues

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-18-2002, 03:43 AM   #1
searain
Senior Member
 
Join Date: Aug 2002
Posts: 666
apache httpd retart

i killall httpd process, how to restart it?
searain is offline   Reply With Quote
Old 10-18-2002, 03:53 AM   #2
nashirak
Senior Member
 
Join Date: Jul 2001
Posts: 305
Dont know how its setup under yours, but try:

/etc/init.d/apache restart

(as root)

could also be

/etc/init.d/httpd restart

You might also try the same thing with the stop, then start option.

Hope this Helps!
nashirak is offline   Reply With Quote
Old 10-18-2002, 04:22 AM   #3
searain
Senior Member
 
Join Date: Aug 2002
Posts: 666
broken link and not full format html page get "download file window"

after i update the php.ini and srw.conf, i killall httpd

and then i got this error

all broken link instead of show me "this page is not available", they show me "download file window".

also

a not full format html page, such as without <html></html>

just a simple

<?php echo("hello world"); ?>

will also show me the "download file window".

even i restart the apache server will not solve the new problems.
searain is offline   Reply With Quote
Old 10-18-2002, 09:58 AM   #4
nashirak
Senior Member
 
Join Date: Jul 2001
Posts: 305
You dont have to killall. Anytime you want to stop apache cleanly just
/etc/init.d/apache stop
(as root at the command line)

Sounds to me like PHP is installed wrong. Go into your http.conf and make sure the following is done.

1) LoadModule $PATH/libphp4.so

(where path is where the apache modules are usually kept, hint look at all the other modules in that file, good bet PHP is in the same directory path)

2) Make sure that you have added the following

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

Now try.

Hope this Helps!
nashirak is offline   Reply With Quote
Old 10-20-2002, 12:01 AM   #5
Ace_Online
Junior Member
 
Join Date: Aug 2002
Location: Atlanta
Posts: 18
I always do "./usr/local/apache/bin/apachectl restart" to restart apache if this is what you are reffering to.
Ace_Online is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Forum Jump


All times are GMT -4. The time now is 01:29 PM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.