[Redhatlinux] How do I delete the previous apache and change the new version?
Source: Internet
Author: User
[Redhatlinux] How do I delete the previous apache and change the new version? -- Linux general technology-Linux technology and application information. For details, refer to the following section. Newly Installed Redhat, all installed components. You can Upgrade php and apache to support some discuz functions when installing the DZ Forum recently. You cannot Upgrade apache and php,
Then rpm-qa httpd and rpm-qa php are able to see that the version is very low and the version is really to be upgraded.
You can find some update Methods on the Internet, but after the operation, even the httpd service cannot be started. The system prompts that the service has not been registered for authentication ,.
I am very depressed. I can't operate it all now. Do I have to reinstall the linux system?
Should the Nlinux system be able to upgrade the software?
Let's take a look at the commands I have used:
Downloaded httpd-2.2.4.tar.gz
[Root @ localhost du] # tar-zxvf httpd-2.2.4.tar.gz
[Root @ localhost du] # httpd-2.2.4 cd
[Root @ localhost httpd-2.2.4] #./configure -- prefix =/usr/local/apache2 -- enable-so -- enable-speling -- enable-rewrite
-- Enable-forward
# Make
# Make install
[Root @ localhost httpd-2.2.4] #
[Root @ localhost httpd-2.2.4] # chkconfig -- add httpd
Service httpd does not support chkconfig
In this case, apache cannot be started. How can this problem be solved?
Why is there no restart command after service httpd restart as before? httpd can be found in ntsysv in the past,
There is no such thing !!!!!!!! Urgent
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service