0

I'm running MAMP with PHP 5.5.18 (cli) (built: Oct 20 2014 16:18:57) on Mac OS X 10.10.1.

All is well, except when I issue a background php process from within my PHP script. The process runs fine although my logs tell me a specific extension (mcrypt) is not installed when in fact I know it is. Well, I know it's installed in my 5.5.18 version. So this is leading me to believe the background process might be accessing a different version of php.

Two questions: 1) How can I tell which version of PHP the background process is accessing? 2) Is there a way to force the background process to use a specific version of PHP?

Mark Salvatore
  • 628
  • 1
  • 7
  • 13

1 Answers1

0

This question about how to force a background process to use a specific version of php has been answered here: How to configure PHP to run the same version on the web server as in a background process

Community
  • 1
  • 1
Mark Salvatore
  • 628
  • 1
  • 7
  • 13