php-resque icon indicating copy to clipboard operation
php-resque copied to clipboard

php version > 5.5 process problem on macos

Open lamjack opened this issue 10 years ago • 2 comments

| => php -v PHP 7.0.0RC3 (cli) (built: Sep 21 2015 19:12:36) Copyright (c) 1997-2015 The PHP Group Zend Engine v3.0.0-dev, Copyright (c) 1998-2015 Zend Technologies with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies


| => php -a Interactive shell

php > cli_set_process_title('test'); PHP Warning: cli_set_process_title(): cli_set_process_title had an error: Not initialized correctly in php shell code on line 1

Warning: cli_set_process_title(): cli_set_process_title had an error: Not initialized correctly in php shell code on line 1

im try php5.5 6.6 has some problem.

lamjack avatar Oct 09 '15 09:10 lamjack

My solution is disable the set_process_title function in macos environment.

http://blog.wilead.com/p/solution-for-php-resque-set-process-title-warning-when-php-version-more-than-54-on-macos.html

lamjack avatar Oct 09 '15 09:10 lamjack

Although the proctitle extension sets a weird process title, it actually does work on OS X.

Sending an E-Mail to the PHP team has not given me any answers. Its kind of confusing how such a bug could've been overseen for so long now...

IngwiePhoenix avatar Oct 27 '15 07:10 IngwiePhoenix