0

I am using Centos7 with php version 5.4.45 but I m unable to configure pthread.

Please help me out with some steps to install, configure and compile the pthread library.

Thanks in advance.

Serjik
  • 10,543
  • 8
  • 61
  • 70
Rohit
  • 1
  • 2
  • what is meant by *unable*? – Irshad Dec 18 '15 at 06:13
  • Updated sentence with tag – sKhan Dec 18 '15 at 06:28
  • Getting error make: *** No rule to make target `/root/php-5.4.36/ext/pthreads/php_pthreads.c', needed by `ext/pthreads/php_pthreads.lo'. Stop. – Rohit Dec 18 '15 at 08:53
  • @Rohit check in the `{php_path_on_your_pc}/ext` folder.. see if pthreads folder present.. if not download using wget into the folder from http://pecl.php.net/package/pthreads – reoxey Mar 21 '17 at 10:37

1 Answers1

0

Follow the steps method mentioned on this https://blog.flowl.info/2015/compile-php-5-6-pthreads-mongo-ubuntu/

here they have used php-5.6.12 version. Change to your requirement

reoxey
  • 684
  • 1
  • 7
  • 18