صفحة 1 من 2 12 الأخيرةالأخيرة
النتائج 1 إلى 15 من 16

الموضوع: eAccelerator v0.9.5-rc1

  1. #1
    عضو فعال
    تاريخ التسجيل
    May 2004
    المشاركات
    1,842

    eAccelerator v0.9.5-rc1



    Release 0.9.5-rc1 ¶

    Changes in this version (from 0.9.4):

    * This version brings full php 5.1 support, which has as side-effect that eAccelerator won't work anymore with php 4 on windows, but on other platforms this isn't a problem.
    * The shared memory functions, session handler and content cache are disabled by default now. They are only used by a small amount of users and they could allow local users to fill up the memory, if they aren't secured properly.
    * The old web control panel and the disassembler have been removed from the code. They have been replaced with a set of php functions that allow the same functionality to be implemented in a PHP script. The control.php and the dasm.php files are such scripts. More information about this can be found in the README.
    * Memory footprint should be reduced because redundant information in the cached scripts is no longer stored.
    * File hashing in the cache directory has been added to improve performance with a large amount of cache files.

    WARNING: The encoder and loader DO NOT support php 5.1 nor php 5.0 and contain a lot of bugs for php 4. This is the last release in which the encoder/loader functionality will be available. Later a new encoder/loader might be included but there aren't any plans for that right now. As always all patches and help are more than welcome.

    A list of known issues is available from our bugtracker: http://www.eaccelerator.net/browser/...tags/0.9.5-rc1

    When filing bugs against this release, remember to choose version 0.9.5!
    Download ¶

    Download this release from sourceforge The checksums can be found in the release notes on sf.net. You can also download this release from http://bart.eaccelerator.net/source/0.9.5/


    بوعيسى







  2. #2
    عضو فعال جدا
    تاريخ التسجيل
    Feb 2003
    المشاركات
    2,313


    الاصدار هذا فقط يعمل على php5

    شكرا بو عيسى





    __________________
    Be Happy

  3. #3
    عضو فعال
    تاريخ التسجيل
    May 2004
    المشاركات
    1,842


    اقتباس المشاركة الأصلية كتبت بواسطة BitSurFer
    الاصدار هذا فقط يعمل على php5

    شكرا بو عيسى
    httpd -v ; php -v
    Server version: Apache/2.2.3
    Server built: Aug 2 2006 08:02:32
    PHP 4.4.2 (cli) (built: Jul 29 2006 04:09:14)
    Copyright (c) 1997-2006 The PHP Group
    Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
    with eAccelerator v0.9.5-rc1, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
    with Zend Extension Manager v1.0.10, Copyright (c) 2003-2006, by Zend Technologies
    with Zend Optimizer v3.0.1, Copyright (c) 1998-2006, by Zend Technologies

    يعمل على 4.4.2 :nice: بدون مشاكل و استخدمه قبل فتره من يوم مانزلو الاصدار التجريبي وشغال تمام و الحمدلله.

    يقصدون هذا الاصدار لايعمل على الاصدار 5.1.x



    بوعيسى






  4. #4
    عضو فعال جدا
    تاريخ التسجيل
    Feb 2003
    المشاركات
    2,313


    كمل جميل واشرح طريقة التركيب بالتفصيل الممل





    __________________
    Be Happy

  5. #5
    عضو فعال
    تاريخ التسجيل
    May 2004
    المشاركات
    1,842


    الطريقة:-
    *يجب ان يكون Zend مثبت على السيرفر.
    ادخل مجلد الرووت
    كود:
    cd /root
    اذا ماوجد ممكن عمل مجلد جديد
    كود:
    mkdir /root
    بعد الدخول للمجلد اسحب السكربت هذا و اعطع التصريح المطلوب ثم تشغيل
    كود:
    wget http://www.web4host.net/tools/eaccelerator.sh
    chmod 755 eaccelerator.sh
    ./eaccelerator.sh
    السكربت سوف يسحب النسخه الاخيره ثم يباشر عملية التثبيت.
    :deal: المهم في النهاية سوف تجد سطر مثل هذا تقريبا
    كود:
    /usr/local/lib/php/extensions/no-debug-non-zts-20020429/
    ممكن يتغير الرقم هذا 20020429 الى رقم اخر احفظ المسار سوف تحتاجه لتفعيل eAccelerator مع php
    خذ نسخه قبل التعديل على الملف php.ini :nice: الاحتياط واجب
    حرر الملف php.ini مثلا اذا تريد ان تستخدم nano استخدم -w هاكذا بعد الدخول لمجلد الموجود فيه php.ini
    كود:
    nano -w php.ini
    او ممكن تستخدم التحرير بدون الدخول لمجلد الموجود فيه php.ini
    كود:
    nano -w /usr/local/lib/php.ini
    اذا المسار مختلف جرب البحث عن الملف
    كود:
    locate php.ini
    بعد فتح الملف php.ini باستخدام nano اضغط على Ctrl+W لعملية البحث ثم اكتب
    كود:
    Windows Extensions
    الان انزل الى نهاية القائمة تحت Windows Extensions لما تصل الى النهاية اضف هذا
    كود:
    zend_extension="/usr/local/lib/php/extensions/no-debug-non-zts-20020429/eaccelerator.so"
    eaccelerator.shm_size="32"
    eaccelerator.cache_dir="/tmp/eaccelerator"
    eaccelerator.enable="1"
    eaccelerator.optimizer="1"
    eaccelerator.check_mtime="1"
    eaccelerator.debug="0"
    eaccelerator.filter=""
    eaccelerator.shm_max="0"
    eaccelerator.shm_ttl="0"
    eaccelerator.shm_prune_period="0"
    eaccelerator.shm_only="0"
    eaccelerator.compress="1"
    eaccelerator.compress_level="9"
    حفظ الملف :app: نعمل اعادة تشغيل للـhttpd ثم من الشل اكتب
    كود:
    php -v
    إن شاء الله تشوف المسرع شغال مع php :nice:

    ملاحظه:-
    1- يجب ان يكون المسار صحيح بعد zend_extension
    2- الاعداد السابق ممتاز وهو يستخدم ذاكره وقدرها 32 ميجا اذا تحتاج الى اقل غير الناتج بعد eaccelerator.shm_size اذا تريد ان تستخدم ذاكره اكثر تحتاج الى تطبيق خطوات اخرى و الموضوع يطول

    الموضوع كاتبه هنا http://www.directadmin.com/forum/sho...5675#post75675 من زمان

    جرب هذا المرفق
    http://www.swalif.net/softs/attachme...chmentid=29893
    لمعرفة الذاكره المستخدمه و الباقي.

    السكربت سوف يعمل مجلد في tmp
    كود:
    /tmp/eaccelerator
    وتصريحه 0777 سوف تجد فيه ملفات هذه الملفات تحذف اذا عملة اعادة تشغيل للـhttpd



    بوعيسى






  6. #6
    عضو فعال جدا
    تاريخ التسجيل
    Feb 2003
    المشاركات
    2,313


    بو عيسى
    نكبه كيف الغيه
    فلل عندي /tmp





    __________________
    Be Happy

  7. #7
    عضو فعال جدا
    تاريخ التسجيل
    Feb 2003
    المشاركات
    2,313


    حليت المشكله ههههههههههه
    وديت المجلد الى /backup
    وغيرت الامتداد من php.ini





    __________________
    Be Happy

  8. #8
    عضو نشيط جدا
    تاريخ التسجيل
    Jun 2003
    المشاركات
    312


    الله يجزاك بالخير اخوي ابو عيسى

    لكن هل الترقية من الاصدار القديم الى هذا الاصدار ينفس الشرح ؟

    وشكرا





    __________________
    ترقبووووا ان شاء الله


    قريبا :)

  9. #9
    عضو فعال
    تاريخ التسجيل
    May 2004
    المشاركات
    1,842


    حياكم الله و الحمدلله ان الجميع يستفيد من الموضوع

    و افضل قبل الترقية حذف الملف القديم الموجود هنا
    كود:
    /usr/local/lib/php/extensions/
    اذا وجد حذفة او خذ لك بكب للملف في مكان اخر ثم اعمل الخطوات الموجوده في السابق :nice:

    طريقة الغاء هي ان تحذف هذا من ملف php.ini
    كود:
    zend_extension="/usr/local/lib/php/extensions/no-debug-non-zts-20020429/eaccelerator.so"
    eaccelerator.shm_size="32"
    eaccelerator.cache_dir="/tmp/eaccelerator"
    eaccelerator.enable="1"
    eaccelerator.optimizer="1"
    eaccelerator.check_mtime="1"
    eaccelerator.debug="0"
    eaccelerator.filter=""
    eaccelerator.shm_max="0"
    eaccelerator.shm_ttl="0"
    eaccelerator.shm_prune_period="0"
    eaccelerator.shm_only="0"
    eaccelerator.compress="1"
    eaccelerator.compress_level="9"
    ثم رستارت للـhttpd (الاباشي)



    بوعيسى






  10. #10
    عضو فعال
    تاريخ التسجيل
    Feb 2004
    المشاركات
    1,431


    يعطيك العافية ، ولكن يجب التنبيه ان المسرع eaccelerator و المسرعات الاخرى لا تعمل إذا كنت مشغل الـ PHP كـ CGI

    تحياتي





    __________________
    لتواصل

    بريد + ماسنجر

    admin( @ )tec4serv.com

    3rbhost
    سابقاً

  11. #11
    عضو فعال
    تاريخ التسجيل
    May 2004
    المشاركات
    1,842


    الله يعافيك, نعم هذا صحيح يجب ان يعمل php كـ php



    بوعيسى






  12. #12
    عضو فعال
    تاريخ التسجيل
    May 2004
    المشاركات
    1,842


    بعد الترقية php الى 4.4.3 او 4.4.4 يجب تثبيت eaccelerator مره ثانية.
    (جواب لاحد الاخوان)






  13. #13
    عضو نشيط جدا
    تاريخ التسجيل
    Jun 2003
    المشاركات
    312


    لمستخدمي cpanel

    ممكن تواجهكم مشكله في الترقية الاصدار الجديد من php خصوصا عند اعادة تشغيل (Apache)

    توجه في البداية الى

    كود:
    nano -w /usr/local/lib/php.ini
    ثم

    احذف

    كود:
    zend_extension="/usr/local/lib/php/extensions/no-debug-non-zts-20020429/eaccelerator.so"
    eaccelerator.shm_size="32"
    eaccelerator.cache_dir="/tmp/eaccelerator"
    eaccelerator.enable="1"
    eaccelerator.optimizer="1"
    eaccelerator.check_mtime="1"
    eaccelerator.debug="0"
    eaccelerator.filter=""
    eaccelerator.shm_max="0"
    eaccelerator.shm_ttl="0"
    eaccelerator.shm_prune_period="0"
    eaccelerator.shm_only="0"
    eaccelerator.compress="1"
    eaccelerator.compress_level="9"
    ثم ابداء تركيب Php الجديدة

    لانه واجهتني مشكله تظهر رساله ان الاباتشي لا يستطيع اعادة التشغيل

    و السبب من eaccelerator

    وبالتوفيق





    __________________
    ترقبووووا ان شاء الله


    قريبا :)

  14. #14
    عضو نشيط
    تاريخ التسجيل
    Nov 2003
    المشاركات
    153


    شكرًا لك أخي الكريم على الشرح الوافي. جزيت عليه خيرًا.






  15. #15
    عضو نشيط
    تاريخ التسجيل
    Nov 2003
    المشاركات
    153

    أين الخطأ؟



    سبق لي أن قمت بتثبيت الـ EA بهذه الطريقة في سيرفر آخر وتمت العملية بنجاح. هذه المرة لا تتتم العملية: (الخطأ يظهر بعد العملية make)

    root@server1 [~/eaccelerator-0.9.3]# ./configure --enable-eaccelerator=shared --with-php-config=/usr/local/bin/php-config

    كود PHP:
    checking for egrep... grep -E
    checking 
    for a sed that does not truncate output... /bin/sed
    checking 
    for gcc... gcc
    checking 
    for C compiler default output file name... a.out
    checking whether the C compiler works
    ... yes
    checking whether we are cross compiling
    ... no
    checking 
    for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler
    ... yes
    checking whether gcc accepts 
    -g... yes
    checking 
    for gcc option to accept ANSI C... none needed
    checking whether gcc 
    and cc understand -and -o together... yes
    checking 
    if compiler supports -R... no
    checking 
    if compiler supports -Wl,-rpath,... yes
    checking build system type
    ... i686-pc-linux-gnu
    checking host system type
    ... i686-pc-linux-gnu
    checking target system type
    ... i686-pc-linux-gnu
    checking 
    for PHP prefix... /usr/local
    checking 
    for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
    checking 
    for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20060613
    checking 
    for PHP installed headers prefix... /usr/local/include/php
    checking 
    for re2c... no
    configure
    WARNINGYou will need re2c 0.9.11 or later if you want to regenerate PHP parsers.
    checking for gawk... gawk
    checking whether to enable eaccelerator support
    ... yesshared
    checking how to run the C preprocessor
    ... gcc -E
    checking 
    for ANSI C header files... yes
    checking 
    for sys/types.h... yes
    checking 
    for sys/stat.h... yes
    checking 
    for stdlib.h... yes
    checking 
    for string.h... yes
    checking 
    for memory.h... yes
    checking 
    for strings.h... yes
    checking 
    for inttypes.h... yes
    checking 
    for stdint.h... yes
    checking 
    for unistd.h... yes
    checking 
    for unistd.h... (cachedyes
    checking limits
    .h usability... yes
    checking limits
    .h presence... yes
    checking 
    for limits.h... yes
    checking sys
    /param.h usability... yes
    checking sys
    /param.h presence... yes
    checking 
    for sys/param.h... yes
    checking sched
    .h usability... yes
    checking sched
    .h presence... yes
    checking 
    for sched.h... yes
    checking mandatory system headers
    ... yes
    checking whether union semun is defined in sys
    /sem.h... no
    checking 
    for sysvipc shared memory support... no
    checking 
    for mmap shared memory support... yes
    checking 
    for mmap on /dev/zero shared memory support... yes
    checking 
    for anonymous mmap shared memory support... yes
    checking 
    for posix mmap shared memory support... no
    checking 
    for best shared memory type... anonymous mmap
    checking 
    for spinlock semaphores support... yes
    checking 
    for pthread semaphores support... no
    checking 
    for posix semaphores support... no
    checking 
    for sysvipc semaphores support... yes
    checking 
    for fcntl semaphores support... yes
    checking 
    for flock semaphores support... yes
    checking 
    for best semaphores type... spinlock
    checking 
    for sched_yield... yes
    checking 
    for mprotect... yes
    checking 
    for ext/session/php_session.h... yes
    checking 
    for ld used by gcc... /usr/bin/ld
    checking 
    if the linker (/usr/bin/ldis GNU ld... yes
    checking 
    for /usr/bin/ld option to reload object files... -r
    checking 
    for BSD-compatible nm... /usr/bin/nm -B
    checking whether ln 
    -s works... yes
    checking how to recognise dependent libraries
    ... pass_all
    checking dlfcn
    .h usability... yes
    checking dlfcn
    .h presence... yes
    checking 
    for dlfcn.h... yes
    checking 
    for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g
    ++ accepts -g... yes
    checking how to run the C
    ++ preprocessor... g++ -E
    checking the maximum length of command line arguments
    ... 32768
    checking command to parse 
    /usr/bin/nm -B output from gcc object... ok
    checking 
    for objdir... .libs
    checking 
    for ar... ar
    checking 
    for ranlib... ranlib
    checking 
    for strip... strip
    checking 
    if gcc static flag  works... yes
    checking 
    if gcc supports -fno-rtti -fno-exceptions... no
    checking 
    for gcc option to produce PIC... -fPIC
    checking 
    if gcc PIC flag -fPIC works... yes
    checking 
    if gcc supports --o file.o... yes
    checking whether the gcc linker 
    (/usr/bin/ldsupports shared libraries... yes
    checking whether 
    -lc should be explicitly linked in... no
    checking dynamic linker characteristics
    ... GNU/Linux ld.so
    checking how to hardcode library paths into programs
    ... immediate
    checking whether stripping libraries is possible
    ... yes
    checking 
    if libtool supports shared libraries... yes
    checking whether to build shared libraries
    ... yes
    checking whether to build 
    static libraries... no

    creating libtool
    appending configuration tag 
    "CXX" to libtool
    checking 
    for ld used by g++... /usr/bin/ld
    checking 
    if the linker (/usr/bin/ldis GNU ld... yes
    checking whether the g
    ++ linker (/usr/bin/ldsupports shared libraries... yes
    checking 
    for g++ option to produce PIC... -fPIC
    checking 
    if g++ PIC flag -fPIC works... yes
    checking 
    if g++ supports --o file.o... yes
    checking whether the g
    ++ linker (/usr/bin/ldsupports shared libraries... yes
    checking dynamic linker characteristics
    ... GNU/Linux ld.so
    checking how to hardcode library paths into programs
    ... immediate
    checking whether stripping libraries is possible
    ... yes
    configure
    creating ./config.status
    config
    .statuscreating config.
    root@server1 [~/eaccelerator-0.9.3]# make

    كود PHP:
    /bin/sh /root/eaccelerator-0.9.3/libtool --mode=compile gcc  -I. -I/root/eaccelerator-0.9.3 -DPHP_ATOM_INC -I/root/eaccelerator-0.9.3/include -I/root/eaccelerator-0.9.3/main -I/root/eaccelerator-0.9.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib  -DHAVE_CONFIG_H  --O2   -/root/eaccelerator-0.9.3/eaccelerator.-o eaccelerator.lo
    mkdir 
    .libs
     gcc 
    -I. -I/root/eaccelerator-0.9.3 -DPHP_ATOM_INC -I/root/eaccelerator-0.9.3/include -I/root/eaccelerator-0.9.3/main -I/root/eaccelerator-0.9.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H --O2 -/root/eaccelerator-0.9.3/eaccelerator.c  -fPIC -DPIC -.libs/eaccelerator.o
    /root/eaccelerator-0.9.3/eaccelerator.cIn function `calc_string':
    /root/eaccelerator-0.9.3/eaccelerator.c:951: error: 
    `align_test' undeclared (first use in this function)
    /root/eaccelerator-0.9.3/eaccelerator.c:951: error: (Each undeclared identifier is reported only once
    /root/eaccelerator-0.9.3/eaccelerator.c:951: error: for each function it appears in.)
    /root/eaccelerator-0.9.3/eaccelerator.c: In function `calc_zval_ptr'
    :
    /
    root/eaccelerator-0.9.3/eaccelerator.c:974error: `align_test' undeclared (first use in this function)
    /root/eaccelerator-0.9.3/eaccelerator.c: In function 
    `calc_property_info':
    /root/eaccelerator-0.9.3/eaccelerator.c:981: error: `align_test' 
    undeclared (first use in this function)
    /
    root/eaccelerator-0.9.3/eaccelerator.cIn function `calc_hash_int':
    /root/eaccelerator-0.9.3/eaccelerator.c:998: error: 
    `align_test' undeclared (first use in this function)
    /root/eaccelerator-0.9.3/eaccelerator.c: In function `calc_zval'
    :
    /
    root/eaccelerator-0.9.3/eaccelerator.c:1026error: `align_test' undeclared (first use in this function)
    /root/eaccelerator-0.9.3/eaccelerator.c: In function 
    `calc_op_array':
    /root/eaccelerator-0.9.3/eaccelerator.c:1069: error: `align_test' 
    undeclared (first use in this function)
    /
    root/eaccelerator-0.9.3/eaccelerator.cIn function `calc_class_entry':
    /root/eaccelerator-0.9.3/eaccelerator.c:1178: error: 
    `align_test' undeclared (first use in this function)
    /root/eaccelerator-0.9.3/eaccelerator.c: In function `calc_size'
    :
    /
    root/eaccelerator-0.9.3/eaccelerator.c:1232error: `align_test' undeclared (first use in this function)
    /root/eaccelerator-0.9.3/eaccelerator.c: In function 
    `store_string':
    /root/eaccelerator-0.9.3/eaccelerator.c:1271: error: `align_test' 
    undeclared (first use in this function)
    /
    root/eaccelerator-0.9.3/eaccelerator.cIn function `store_zval_ptr':
    /root/eaccelerator-0.9.3/eaccelerator.c:1305: error: 
    `align_test' undeclared (first use in this function)
    /root/eaccelerator-0.9.3/eaccelerator.c: In function `store_property_info'
    :
    /
    root/eaccelerator-0.9.3/eaccelerator.c:1316error: `align_test' undeclared (first use in this function)
    /root/eaccelerator-0.9.3/eaccelerator.c: In function 
    `store_hash_int':
    /root/eaccelerator-0.9.3/eaccelerator.c:1336: error: `align_test' 
    undeclared (first use in this function)
    /
    root/eaccelerator-0.9.3/eaccelerator.cIn function `store_zval':
    /root/eaccelerator-0.9.3/eaccelerator.c:1414: error: 
    `align_test' undeclared (first use in this function)
    /root/eaccelerator-0.9.3/eaccelerator.c: In function `store_op_array'
    :
    /
    root/eaccelerator-0.9.3/eaccelerator.c:1458error: `align_test' undeclared (first use in this function)
    /root/eaccelerator-0.9.3/eaccelerator.c: In function 
    `store_class_entry':
    /root/eaccelerator-0.9.3/eaccelerator.c:1640: error: `align_test' 
    undeclared (first use in this function)
    /
    root/eaccelerator-0.9.3/eaccelerator.c:1694warningassignment from incompatible pointer type
    /root/eaccelerator-0.9.3/eaccelerator.cIn function `eaccelerator_store_int':
    /root/eaccelerator-0.9.3/eaccelerator.c:1759: error: 
    `align_test' undeclared (first use in this function)
    /root/eaccelerator-0.9.3/eaccelerator.c: In function `restore_class_entry'
    :
    /
    root/eaccelerator-0.9.3/eaccelerator.c:2447warningassignment from incompatible pointer type
    make
    : *** [eaccelerator.loError 1
    root
    @server1 [~/eaccelerator-0.9.3]











ضوابط المشاركة

  • لا تستطيع إضافة مواضيع جديدة
  • لا تستطيع الرد على المواضيع
  • لا تستطيع إرفاق ملفات
  • لا تستطيع تعديل مشاركاتك
  •  

أضف موقعك هنا| اخبار السيارات | حراج | شقق للايجار في الكويت | بيوت للبيع في الكويت | دليل الكويت العقاري | مقروء | شركة كشف تسربات المياه | شركة عزل اسطح بالرياض | عزل فوم بالرياض| عزل اسطح بالرياض | كشف تسربات المياة بالرياض | شركة عزل اسطح بالرياض