English 中文(简体)
• 如何用警棍瞄准安装的最新的营地版本?
原标题:How to force apache point to latest php version installed?

I have a problem in my red hat server. previously it was installed with php 5.2.. Then i upgrade to php 5.3.8 with reimi repo.. if use phpinfo() it display 5.3.8 version. but from command line

php -v PHP 5.2.17 (cli) (built: Nov 18 2011 18:55:39) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies with Xdebug v2.1.2, Copyright (c) 2002-2011, by Derick Rethans

安装了包裹:

rpm -qa | grep php php-mysql-5.3.8-5.el5.remi.1 php-pdo-5.3.8-5.el5.remi.1 php-5.3.8-5.el5.remi.1 php-mbstring-5.3.8-5.el5.remi.1 php-pear-1.9.4-3.el5.remi php-cli-5.3.8-5.el5.remi.1 php-xml-5.3.8-5.el5.remi.1 php-common-5.3.8-5.el5.remi.1 php-gd-5.3.8-5.el5.remi.1

• 在指挥所时,可以把ache切点到第55.3号而不是5.2号。

最佳回答

你的CLI PHP与Web-Server毫无关系。 如果你见到文件S.Info()产出中的5.3.8,那么你会看你想要的东西。 您可以提升其购买力平价。

问题回答

暂无回答




相关问题
Using SimplePie with CodeIgniter and XAMPP

I am using CodeIgniter 1.7.2 with XAMPP 1.7.2 on a Windows computer. I am trying to make use of SimplePie. I followed all the instructions I could find: a copy of simplepie.inc is in my applications/...

Multiple Sites with common files

I have developed over 50 sites that all use the exact same files other than CSS and IMAGES, I currently duplicate the files each time I create a new site and upload different css and images. What ...

http server validation

I finish a litle http server, writing from scratch. I would like to be sure that my imlementation is conforme to the HTTP specifications. W3C give us tools for HTML/XML conformance, but i see nothing ...

热门标签