searain
10-18-2002, 03:43 AM
i killall httpd process, how to restart it?
|
Click to See Complete Forum and Search --> : apache httpd retart searain 10-18-2002, 03:43 AM i killall httpd process, how to restart it? nashirak 10-18-2002, 03:53 AM 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! searain 10-18-2002, 04:22 AM 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. nashirak 10-18-2002, 09:58 AM 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! Ace_Online 10-20-2002, 12:01 AM I always do "./usr/local/apache/bin/apachectl restart" to restart apache if this is what you are reffering to. PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved. |