今天遇到一个诡异的问题,折腾了好久。 有一段 html,需要用正则表达式匹配一对标签内的所有文本,用到了 preg_match_all。 一直都没什么问题,但是今天修改了 html 的内容,再次运行的时候 Apache 突然 crash。 换用命令行执行,却没问题。 一步一步跟踪,发现问题出在 preg_match_all 身上。 为什么命令行执行正常,到了 Apache […]
Posted in month:
March 2012
Parent: child process exited with status 255 — Restarting
最近在碰PDO(PHP Data Object),使用的時候忽然發現,在select資料的時候apache會被關掉,insert不會,只有select的時候才會,不知道是啥鬼狀況,log裡面就只出現這行 Parent: child process exited with status 255 — Restarting 膜拜了很久的google大神之後才發現這篇,上面提到這是xampp 1.70在windows上(?)的錯誤,修正方法如下 Problem […]