私はそれのために検索エンジンをプログラミングしてきましたが、今ではインデクサー (約 50 個) を使い終えたので、少なくとも 20 個は実行したいのですが、10 個以上を使用するたびに file_gets_contents_curl のように見えます。
function file_get_contents_curl($url) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, $url);
$data = curl_exec($ch);
curl_close($ch);
return $data;
}
仕事をやめる。私が話していることを知っていただければ幸いです。私はそのようなことをあまり知りません。
このエラーを回避するために php.ini を変更できますか?
助けてくれてありがとう
エラーログを編集
[Sat Apr 13 00:27:09.571840 2013] [core:warn] [pid 720:tid 336] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Apr 13 00:27:09.644889 2013] [ssl:warn] [pid 720:tid 336] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Apr 13 00:27:09.690919 2013] [mpm_winnt:notice] [pid 720:tid 336] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Sat Apr 13 00:27:09.690919 2013] [mpm_winnt:notice] [pid 720:tid 336] AH00456: Server built: Aug 18 2012 12:41:37
[Sat Apr 13 00:27:09.690919 2013] [core:notice] [pid 720:tid 336] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sat Apr 13 00:27:09.691920 2013] [mpm_winnt:notice] [pid 720:tid 336] AH00418: Parent: Created child process 6876
[Sat Apr 13 00:27:10.196255 2013] [ssl:warn] [pid 6876:tid 360] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Apr 13 00:27:10.241286 2013] [mpm_winnt:notice] [pid 6876:tid 360] AH00354: Child: Starting 150 worker threads.