Warning: preg_match: internal pcre_fullinfo() error -3 in /usr/local/apache2/htdocs/test2.php on line 7
Bad month, please re-enter.
代码如下:
<?php
if(isset($_GET['month'])&&$_GET['year'])
{
$month = $_GET['month'];
$year = $_GET['year'];if (!preg_match("/^[0-9]{1,2}$/", $month)) die("Bad month, please re-enter.");
if (!preg_match("/^[0-9]{4}$/", $year)) die("Bad year, please re-enter.");
exec("cal $month $year", $result);
print "<PRE>";
foreach ($result as $r) { print "$r<BR>"; }
print "</PRE>"; }
?>
我的php+mysql+apache原来都是fc4自带的
后来为了整合tomcat重装了apache2.0.59
将libphp5.so拷入modules 配置httpd.conf
后即可连接php
哪位高人指点一下,最好不要重新编译php
如果非得重搞 怎么搞法 会不会还要重装mysql?
卸载时又要注意些什么?
Bad month, please re-enter.
代码如下:
<?php
if(isset($_GET['month'])&&$_GET['year'])
{
$month = $_GET['month'];
$year = $_GET['year'];if (!preg_match("/^[0-9]{1,2}$/", $month)) die("Bad month, please re-enter.");
if (!preg_match("/^[0-9]{4}$/", $year)) die("Bad year, please re-enter.");
exec("cal $month $year", $result);
print "<PRE>";
foreach ($result as $r) { print "$r<BR>"; }
print "</PRE>"; }
?>
我的php+mysql+apache原来都是fc4自带的
后来为了整合tomcat重装了apache2.0.59
将libphp5.so拷入modules 配置httpd.conf
后即可连接php
哪位高人指点一下,最好不要重新编译php
如果非得重搞 怎么搞法 会不会还要重装mysql?
卸载时又要注意些什么?
http://cha.homeip.net/blog/archives/2006/05/iptables_route_1.html看备忘4http://bugs.php.net/bug.php?id=29158&edit=1 看最后一个回复.
http://cha.homeip.net/blog/archives/2006/05/iptables_route_1.html
这个我收到过
第二个有没有中文版的?
有没有更多的介绍卸载rpm包 重装应该注意的兼容的问题
大哥能不能详细点拨一下啊
就是针对这个问题的解决方案了呀?解決方式:重新安裝 PHP, configure 時原本 --with-pcre-regex=/usr 改為 --with-pcre-regex, 使用 built-in 的 PCRE library 即可.
如果你编译的话 在 --with-pcre-regex=/usr 把后面的目录去掉(=/usr)
如果你编译的话 在 --with-pcre-regex=/usr 把后面的目录去掉(=/usr)
----------------------------------------------------------------
我原来就是rpm包安装的
再重装是不是?
卸载时会对 mysql有影响吗?
用rpm -i重装有问题
改用rpm -i --replacepkgs php-5.0.4-10装上了
重装了问题依旧啊!!!!急急急
我也知道编译的话可能会好一点
但是又怕卸载的时候有太多其它的依赖 那样又要重新配置