PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : آپاچی 2 آره یا نه؟



cyrax
October 1st, 2008, 07:01
سلام
من روی سرورم از آپاچی 1 استفاده میکنم و اون رو آپدیت نکردم چون از خیلی ها شنیدم آپاچی 2 زیاد خوب نیست
حالا میخواستم بدونم واقعا آپاچی 2 مناسب نیست؟ یا میتونم ازش توی سرورم استفاده کنم
متشکرم

Vahid
October 1st, 2008, 12:21
خیلی ها شنیدم آپاچی 2 زیاد خوب نیستمثلا کیا؟
من متنی رو برات میزارم که با دلیل بهت ثابت میکنه آپاچ 2 بهتر از 1 هست


in response to the on going flame war pertaining to the stability and usability of apache 2 in comparison to apache 1 i've decided to conduct a series of benchmarks to try to determine exactly how the two apaches compare. The purpose of the test was to determine which server is faster at serving static html pages, who's real-time compression implementation is better and of course which is more suited for running php applications. The full details of the test are available below, but here is a quick summary of the results.

1) apache 2 is about 4% faster then apache 1 at serving static pages.

2) apache 2's mod_deflate is over 60 percent faster then apache 1's mod_gzip at real time compression of static html pages.

3) serving php via apache 2 is 27 percent slower then via apache 1 dso and 31 percent slower then apache 1 static.

How the test was conducted?

For the purpose of the test i've used clean installations of php 4.3.10 compiled with the following common flags "--disable-cgi --disable-cli --without-pear". The sapi options ranged from --with-apxs (apache 1 dso), --with-apxs2 (apache 2 dso apache2handler), --with-apache (apache 1 static).

The apache1 was compiled with --enable-module=so and --enable-module=rewrite, --activate-module=src/modules/php4/libphp4.a was added for static build php build. Apache 2 was compiled with --with-mpm=prefork --enable-rewrite --enable-so --enable-deflate. During the compilation of all software -o2 optimization flag was used.

Apache configuration used are the stock configs from the regular build, with modifications to add php and mod_gzip (apache 1) support and making apache 2 bind to port 8080.

The "victim" server was celeron 1ghz with 768 megs of ram running linux 2.6.8-rc2. For each test a total of 10 runs were performed each making 10000 requests, concurrency level ranging from 10 to 100 requests. The test software used is ab (apache bench) revision 1.73.

Here is a pdf with a chart of the raw results and a graph for comparison purposes. The raw results, test scripts, etc... Can be found in this archive.

موفق باشید

cyrax
October 1st, 2008, 12:55
با سی پنل آپاچی رو آپدیت کنم مشکلی پیش نمیاد؟

Vahid
October 1st, 2008, 14:01
نه مشکلی پیش نمیاد
روش ساده ایی هم هست با سی پنل اپدیت کردن و خودش همه کارار رو میکنه
دستور اپدیت

update apache



overview

you can upgrade apache by using this interface. The options checked on your screen reflect the default options, and not the currently active ones. Dynamic modules that were previously compiled into apache will not be removed. If you wish to remove any apache module you should remove it from httpd.conf and restart apache.


steps

1 to access the software menu, click on software, on the main screen of your webhost manager interface.
2 click on update apache.
3 select any options you require apache to be compiled with by selecting the check box next to the option you need.
4 click on start build.


troubleshooting


if you have installed third party modules that are not listed below, you will probably need to recompile them after apache is rebuilt. You may experience an unusable apache that produces segmentation faults until the old modules are recompiled or removed.

KamranOnline
October 3rd, 2008, 18:49
از طریق منوی Apache Update که در cPanel 11 اضافه شده فقط حواست به انتخاب ماژول ها و سیستم های مختلف بکن که با هم conflic نداشته باشه

Danial_Hiv
October 4th, 2008, 01:11
100% apache 2

cyrax
December 22nd, 2008, 21:51
من یه بار این کار رو کردم که به مشکل بر خوردم
اما چون وی پی ان داشتم همون لحظه انلاین یک تیکت زدم به پشنیبانی سی پنل و فوری مشکلم رو رفع کردن
خیلی پشتیبانی قویی دارن

Vahid
December 23rd, 2008, 10:28
من یه بار این کار رو کردم که به مشکل بر خوردم
اما چون وی پی ان داشتم همون لحظه انلاین یک تیکت زدم به پشنیبانی سی پنل و فوری مشکلم رو رفع کردن
خیلی پشتیبانی قویی دارن
شما میتونی توسط EasyApache (Apache Update) که توی کنترل پنل WHM هست یه راحتی آپاچ رو آپدیت کنی:yes: