Bug 147075 - Patch for lang/php52 disable ZTS for Apache MPM-ITK for Zend Optimizer
Summary: Patch for lang/php52 disable ZTS for Apache MPM-ITK for Zend Optimizer
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-26 13:10 UTC by Kuzma Bukin
Modified: 2010-06-05 21:00 UTC (History)
0 users

See Also:


Attachments
file.diff (353 bytes, patch)
2010-05-26 13:10 UTC, Kuzma Bukin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kuzma Bukin 2010-05-26 13:10:00 UTC
Hello friends!

If you have apache-itk installed in your system PHP will be compiled with ZTS support. This is wrong because Zend Optimizer can't work with it

Fix: I have found solution in the old PR ports/144859 patch

File patch-ITK.m4 for solve this problem you need put this patch to the php52/files directory, see attachment

Patch attached with submission follows:
How-To-Repeat: echo 'WITH_MPM=itk' >> /etc/make.conf
cd /usr/ports/www/apache22
make install clean

cd /usr/ports/lang/php52
make config
ENABLE Build Apache module
make install clean

PHP will be compiled with zend thread safety, but ZTS is needed only for apache-mpm-worker
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-05-26 13:10:08 UTC
Maintainer of lang/php52,

Please note that PR ports/147075 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/147075

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2010-05-26 13:10:10 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 admin 2010-05-31 03:31:47 UTC
Please, commit this
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2010-05-31 05:42:33 UTC
State Changed
From-To: feedback->open

Maintainer approved.
Comment 5 Martin Wilke freebsd_committer freebsd_triage 2010-06-05 20:52:20 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 6 dfilter service freebsd_committer freebsd_triage 2010-06-05 20:55:13 UTC
miwi        2010-06-05 19:52:11 UTC

  FreeBSD ports repository

  Modified files:
    lang/php52           Makefile 
  Added files:
    lang/php52/files     patch-sapi-apache2handler_config.m4 
  Log:
  - Disable ZTS for Apache MPM-ITK for Zend Optimizer
  
  PR:             147075
  Submitted by:   Kuzma Bukin <kuzma.bukin@gmail.com>
  Approved by:    maintainer
  
  Revision  Changes    Path
  1.5       +1 -1      ports/lang/php52/Makefile
  1.1       +15 -0     ports/lang/php52/files/patch-sapi-apache2handler_config.m4 (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"