"PHP Fatal error: Class 'Thread' not found"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(사용자 2명의 중간 판 6개는 보이지 않습니다)
2번째 줄: 2번째 줄:
==문제 상황==
==문제 상황==
;<nowiki>PHP Fatal error: Class 'Thread' not found</nowiki>
;<nowiki>PHP Fatal error: Class 'Thread' not found</nowiki>
<source lang='dos'>
<syntaxhighlight lang='console'>
[root@jmnote ~]# php -r 'new Thread();'
[root@zetawiki ~]# php -r 'new Thread();'
PHP Fatal error:  Class 'Thread' not found in Command line code on line 1
PHP Fatal error:  Class 'Thread' not found in Command line code on line 1
</source>
</syntaxhighlight>
 
==확인==
<syntaxhighlight lang='console'>
[root@zetawiki ~]# php -v
PHP 5.3.3 (cli) (built: Dec 11 2013 03:29:57)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
</syntaxhighlight>


==같이 보기==
==같이 보기==
*[[PECL pthread 설치]]
*[[PECL pthread 설치]]


[[분류: PHP 오류]]
[[분류: PHP Fatal error]]

2020년 11월 2일 (월) 02:56 기준 최신판

1 문제 상황[ | ]

PHP Fatal error: Class 'Thread' not found
[root@zetawiki ~]# php -r 'new Thread();'
PHP Fatal error:  Class 'Thread' not found in Command line code on line 1

2 확인[ | ]

[root@zetawiki ~]# php -v
PHP 5.3.3 (cli) (built: Dec 11 2013 03:29:57) 
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

3 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}