ãããVPSãCentOSãPHP5.1 ãã PHP5.3 ã«åã¤ã³ã¹ãã¼ã«
PHPã®åã¤ã³ã¹ãã¼ã«
ãããVPSï¼ããã©ã«ãã®CentOSï¼ ã§ãyum ã§ããããPHPããã¹ã¦å
¥ãçµãã£ãå¾ã«ãªã£ã¦ããã
ããã¾ã£ããPHP5.1ãããã¡ã ãã
ã¨æ°ã¥ãã¦ãä¸åº¦PHPãã¢ã³ã¤ã³ã¹ãã¼ã«ãã¦ããææ°ç(5.3)ãå
¥ãããæéåã£ãã®ã§ã¡ã¢ã
ãã¡ãªæé
yum remove php
ã ã¨
yum install php53
ãã¦ã
php53-common conflicts with php-common
ã®ã¨ã©ã¼ãåºã¦ãã¾ããããªãã
ã¤ã³ã¹ãã¼ã«æåããæé
yum remove php php-* yum -y install php53
åèã«ããURL
php.iniã§ã¤ã¾ã£ãã¨ãã
soã®ç½®ãå ´ææå®ãæ¸ãå¤ããã
extension_dir="/usr/lib64/php/modules/"
extension=gd.so extension=mysql.so extension=pdo_mysql.so zend_extension=xdebug.so xdebug.remote_enable=On xdebug.remote_host=localhost xdebug.remote_port=9000 xdebug.remote_handler=dbgp
pearã®ããã±ã¼ã¸ã memory_limit ã大ãããã¦ããã®ã«ã¤ã³ã¹ãã¼ã«ã§ããªã
/usr/bin/pear ãä¸è¨ã®ããã«ä¿®æ£ãããï¼ã¡ã¢ãªã¬ã¼ããå¤ããï¼è§£æ±ºããã
#!/bin/sh exec /usr/bin/php -C -d include_path=/usr/share/pear \ -d output_buffering=1 \ /usr/share/pear/pearcmd.php "$@"
ãã¡ãâã¨åã話ã¨æããã¾ãã
http://ameblo.jp/araiguma-braun/entry-10903497501.html