ports/113748: lang/php5 with Suhosin patch fails in jails.

Edwin Groothuis edwin at mavetju.org
Sat Jun 16 11:10:04 UTC 2007


>Number:         113748
>Category:       ports
>Synopsis:       lang/php5 with Suhosin patch fails in jails.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 16 11:10:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 6.2-RELEASE-p4 i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:55:55 UTC 2007 root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/SMP i386

>Description:

When using PHP5 with the Suhosin patch in a jail, I often get this
output on my screen:

    Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0

    Fatal error: Unknown: Failed opening required '/home/edwin/public_html/a.php' (include_path='.:/usr/local/share/pear') in Unknown on line 0

Other times it displays the right output.


See also:
	http://www.webmasterworld.com/apache/3193113.htm
	http://forum.hardened-php.net/viewtopic.php?id=135

>How-To-Repeat:
>Fix:

Give warning in the OPTIONS screen that the Suhosin patch shouldn't
be used for PHP instances inside jails.

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list