در آینده اگه میخواید آموزشی بزارید توی خود فروم بدید نه جای دیگه
How To Update Apache
# service httpd stop
# service mysql stop
# service cpanel stop
You can also stop other services, but these have the highest memory usage. You can check available memory with the "free" command:
# free -m
You'll need at least 150-200 MB free.
Once you have freed enough memory, you can run the EasyApache utility.
# /scripts/easyapache
First screen, you'll see an option to load several "pre-configured" settings. In general, you'll want to use your existing configuration, Previously Saved Config.
Up and down arrows will scroll, the tab key will switch between sections, and space bar will select/deselect.
Select the version of Apache you wish to run, 1.3/2.0/2.2.
PHP Version
One the next screen, you'll have the option to select the PHP version you want. Version 4 has been discontinued by the PHP Group (no more updates, including security fixes, will ever be provided), so version 5 is very highly recommended. It offers significant speed improvements over prior versions. You may select either or both. If you want to run multiple versions of PHP, please read the Running Two PHP Versions Guide first.
On the Short Options List, you can select the basic options to configure. Be aware that these options can break your Apache configuration if you do not configure them properly. Be careful!
You can now save and build Apache.
Once you've compiled Apache and there are no errors or problems, you can restart the services you previously disabled:
# service cpanel restart
# service mysql restart
# service httpd restart