I'm trying to use threads
in PHP but the "install" process is not working. I'll describe what I'm doing.
ERROR I GET:
Fatal error: Class 'Thread' not found in.
1.Preview of my php. OBS.Using WAMP
versão 7.0.10
2.I am downloading the files from this site
To be more accurate this one I'm downloading
php_pthreads-0.0.44-5.3-ts-vc9-x86
3.I am doing what is indicated in the documentation.
3.1 Extract .zip
-
Move php_pthreads.dll
to the bin\php\ext\
directory
Move pthreadVC2.dll
to the bin\php\
directory.
Move pthreadVC2.dll
to the bin\apache\bin
directory.
Move pthreadVC2.dll
to the C:\windows\system32
directory.
3.2 Open php \ php.ini and add
Extension = php_pthreads.dll
4. These are the paths I'm installing.
4.1.I am moving the php_pthreads.dll file to
C:\wamp\bin\php\php7.0.10\ext
4.2. I'm moving the file pthreadVC2.dll
to
C:\wamp\bin\php\php7.0.10
4.3 I'm moving the file pthreadVC2.dll
to
C:\wamp\bin\apache\apache2.4.23\bin
4.4 I'm moving the file pthreadVC2.dll
to
C:\Windows\System32
5.Finally
I'm putting the name
Extension = php_pthreads.dll
in the file ini