編輯整個問題,我設法縮小它。這是代碼Wampserver不支持php代碼和正則表達式
<?php
set_time_limit(0);
$file = file_get_contents("oui.txt");
preg_match_all("/[0-9ABCDEF]{6}(?=(?:.*?\s*)*CHINA)/", $file ,$out, PREG_PATTERN_ORDER);
var_dump($out);
?>
該代碼使得wampserver 2.3顯示此網頁無法使用但是當我在這個代碼改變正則表達式的任何簡單的例如僅[0-9ABCDEF]{6}
,它流暢的運行。
當這個錯誤ocurr的apache_error.log文件這樣說:
[Sun Mar 30 17:36:56 2014] [notice] Parent: child process exited with status 3221225477 -- Restarting.
[Sun Mar 30 17:36:56 2014] [notice] Apache/2.2.23 (Win32) PHP/5.4.9 configured -- resuming normal operations
[Sun Mar 30 17:36:56 2014] [notice] Server built: Aug 24 2012 11:30:00
[Sun Mar 30 17:36:56 2014] [notice] Parent: Created child process 2376
[Sun Mar 30 17:36:56 2014] [notice] Child 2376: Child process is running
[Sun Mar 30 17:36:56 2014] [notice] Child 2376: Acquired the start mutex.
[Sun Mar 30 17:36:56 2014] [notice] Child 2376: Starting 64 worker threads.
[Sun Mar 30 17:36:56 2014] [notice] Child 2376: Starting thread to listen on port 80.
不知道這是否有什麼關係的事實,這也顯示錯誤,當我嘗試訪問任何文件夾;
[Sun Mar 30 17:36:30 2014] [error] [client 127.0.0.1] client denied by server configuration: C:/Apache2, referer: http://localhost/anyfolder/
我沒有Skype。 非常感謝您
什麼是確切的錯誤(出現在日誌中)? – DanFromGermany
oui.txt的內容是什麼,至少是一個重要的摘錄? – Toto
[這裏](http://regexr.com/?38khn)是鏈接,出現的錯誤是[this](http://i.stack.imgur.com/iIopt.png) – user2495207