السلام عليكم
انا بحاول بقدر المستطاع اشرحها لك انا ركبته قبل كدا وهوه وبرنامج suphp لتحديد اليوزر
الطريقه بالبلدى كدا الاول تتدخل الشل بالروت وبعدين تعمل مجلد بأسم البرنامج وتتدخله وبعدين تنزله السورس فى الملف وتفكه وبعدين تنادى على مسار الphp تخليه مع مسارك وحته كونفج بالشروط المكتوبه وعمل وبعدين عمل تركيب ثم تروح لملف الphp.ini اللى عاده ما يكون هنا (/usr/local/lib/php.ini) وتبحث عن الكلمه دى (;Windows Extensions) وتمسحها وتتضيف الكلام ده (zend_extension="/mmcache/turck-mmcache-2.4.6/modules/mmcache.so"
mmcache.shm_size="16"
mmcache.cache_dir="/tmp/mmcache"
mmcache.enable="1"
mmcache.optimizer="1"
mmcache.check_mtime="1"
mmcache.debug="0"
mmcache.filter=""
mmcache.shm_max="0"
mmcache.shm_ttl="0"
mmcache.shm_prune_period="0"
mmcache.shm_only="0"
mmcache.compress="1"
) ده لو انت مركب زيند لو مش مركبه تبدله بالكلام ده (extension="/mmcache/turck-mmcache-2.4.6/modules/mmcache.so"
mmcache.shm_size="16"
mmcache.cache_dir="/tmp/mmcache"
mmcache.enable="1"
mmcache.optimizer="1"
mmcache.check_mtime="1"
mmcache.debug="0"
mmcache.filter=""
mmcache.shm_max="0"
mmcache.shm_ttl="0"
mmcache.shm_prune_period="0"
mmcache.shm_only="0"
mmcache.compress="1")
وبعدين تروح الtmp وتعمله مجلد وتعطيه ترخيص 777 وحته ريسارت اباتشى والف مبرووووووووك
علشان تشوف انك بروف تاخد ملف (mmcache.php ) وتروح بيه فى اى حته عندك فى السرفر ممكن تتقرا من الويب فى موقعك مثلا (/home/userpublic_html) لما تتطلبه المفروض ده اللى يظهر
(Turck MMCache 2.4.6
MMCache support enabled
Caching Enabled true
Optimizer Enabled true
Memory Size 33,554,392 Bytes
Memory Available 23,737,176 Bytes
Memory Allocated 9,817,216 Bytes
Cached Scripts 110
Removed Scripts 0
Cached Keys 0
)
بس وكدا خلص
الكلام بطريقه فنيه بئا
كود PHP:
cd /
mkdir mmcache
cd mmcache
wget [url]http://unc.dl.sourceforge.net/sourceforge/turck-mmcache/turck-mmcache-2.4.6.tar.gz[/url]
tar xvzf turck-mmcache-2.4.6.tar.gz
cd turck-mmcache-2.4.6
export PHP_PREFIX="/usr/local"
$PHP_PREFIX/bin/phpize
./configure --enable-mmcache=shared --with-php-config=$PHP_PREFIX/bin/php-config
make
make install
pico /usr/local/lib/php.ini
then press Ctrl + W to find and tpye (;Windows Extensions ) then replace it with that lines ( zend_extension="/mmcache/turck-mmcache-2.4.6/modules/mmcache.so"
mmcache.shm_size="16"
mmcache.cache_dir="/tmp/mmcache"
mmcache.enable="1"
mmcache.optimizer="1"
mmcache.check_mtime="1"
mmcache.debug="0"
mmcache.filter=""
mmcache.shm_max="0"
mmcache.shm_ttl="0"
mmcache.shm_prune_period="0"
mmcache.shm_only="0"
mmcache.compress="1" )
if u have zend installed in no replace it with ( extension="/mmcache/turck-mmcache-2.4.6/modules/mmcache.so"
mmcache.shm_size="16"
mmcache.cache_dir="/tmp/mmcache"
mmcache.enable="1"
mmcache.optimizer="1"
mmcache.check_mtime="1"
mmcache.debug="0"
mmcache.filter=""
mmcache.shm_max="0"
mmcache.shm_ttl="0"
mmcache.shm_prune_period="0"
mmcache.shm_only="0"
mmcache.compress="1" )
mkdir /tmp/mmcache
chmod 0777 /tmp/mmcache
/sbin/service httpd restart
cp -r /mmcache/mmcache.php /home/user/public_html
chmod 755 /home/user/public_html/mmcache.php
u should be able to see ur work result
وسلام عليكم
لا تنسانا من صالح دعائك اان كان كلامى صحيح
__________________
Mohamed Zaki
http://ng4host.net
ليس اليتيم الذى قد مات والدة .: :. ان اليتيم يتيم العـلـم والأدب