PHP
·
发表于 5年以前
·
阅读量:8418
1. ×¼±¸cpanelר¹(C)php
# cd /var/cpanel/easy/apache/custom_opt_mods
# wget http://docs.cpanel.net/twiki/pub/EasyApache/EasyApacheCustomModules/custom_opt_mod-PHP5217.tar.gz
# tar -xzvf custom_opt_mod-PHP5217.tar.gz
2. ͨ¹ýeasyApacheÖØ×°
ËÑË÷easyApache£¬È»ºoÒ»²½²½¿´Í¼¡£
easyApache
cPanel°²×°php5.2.17
cPanel°²×°php5.2.17
cPanel°²×°php5.2.17
cPanel°²×°php5.2.17
È»ºoºÍÍu³£Ò»ÑuÒ»²½²½ÍuÏÂ×ß¼´¿ÉÍe³É¡£
3. phpÀ(C)Õ¹ÅaÖÃ
ÒoΪÕa²»ÊÇcPanelÔÉuµÄ°²×°£¬ËuÒÔûÓÐphpµÄÀ(C)չѡÏi£¬Ëu»a¸u¾ÝphpѹËo°uÄÚµÄĬÈÏÅaÖòÎÊý°²×°¡£Èç¹uÄaÐeÒªÖ§³Ö¶iÍaÑ¡Ïi£¬ÀýÈçgdºÍftp£¬ÈçϲÙ×÷£º
--with-gd
--enable-ftp
Ò»ÐÐÒ»¸o£¬Ëu»a½aÎo³É¨Cwith-gd ¨Cenable-ftp£¬È»ºoÕuºÏµ½configureºoÃae¡£
±¸×¢:°²×°Ä£¿eµÄ½¨ÎÒûÓÐʵ¼Ê²aÊÔ£¬ÒoΪĬÈÏ°²×°ÒÔ¼°Âu×aÁËÅoÓѵÄÒªÇo£¬cPanel°²×°ËٶȺÜÂý£¬ËuÒÔÎÒ²»ÔÚ²aÊÔÁË¡£