Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Mar 31, 2012
  1. @dsp

    Merge branch 'PHP-5.3' into PHP-5.4

    dsp authored
    * PHP-5.3:
      Cleanup Safe Mode related comment in SG(request_info)
  2. @reeze @dsp

    Cleanup Safe Mode related comment in SG(request_info)

    reeze authored dsp committed
Commits on Jan 1, 2012
  1. @felipensp

    - Year++

    felipensp authored
  2. @felipensp

    - Year++

    felipensp authored
Commits on May 16, 2011
  1. @rlerdorf

    Fix a couple of warnings. Use %zu to printf a time_t and get_request_…

    rlerdorf authored
    …time
    
    actually returns a double, not a time_t.
Commits on Feb 3, 2011
  1. Add header_register_callback(), allows a userland function

    Scott MacVicar authored
    to be called as all the headers are being sent and after all
    of the default headers have been merged.
    
    headers_list(), header_remove() and header() can all be used
    inside the callback.
    
    <?php
    
    header('Content-Type: text/plain');
    header('X-Test: foo');
    
    function foo() {
      foreach (headers_list() as $header) {
        if (strpos($header, 'X-Powered') !== false) {
          header_remove('X-Powered-By');
        }
        header_remove('X-Test');
      }
    }
    
    $result = header_register_callback('foo');
    echo "a";
Commits on Jan 1, 2011
  1. @felipensp

    - Year++

    felipensp authored
  2. @felipensp

    - Year++

    felipensp authored
Commits on Nov 11, 2010
  1. - Fixed #52045 (FPM tries to open php.ini from the current dir)

    Jérôme Loyet authored
    - Add php_ini_ignore_cwd to _sapi_module_struct
Commits on Nov 6, 2010
Commits on Sep 17, 2010
  1. @pierrejoye

    - drop TSRMLS_FETCH in sapi_register_* (won't bring much at runtime :…

    pierrejoye authored
    …) ) and cleanup/group the upgrade guide, no need of twenty titles for the same change
Commits on Aug 18, 2010
  1. @KalleZ

    Pass the TSRMS pointers to sapi_module_struct.log_message, this saves…

    KalleZ authored
    … some TSRMLS_FETCH() calls in a few of our SAPI's
Commits on Mar 18, 2010
  1. I am sorry I tried fixing PHP without extensive discussion on the mai…

    Andrei Zmievski authored
    …ling list.
    
    I am sorry I tried fixing PHP without extensive discussion on the mailing list.
    I am sorry I tried fixing PHP without extensive discussion on the mailing list.
    
    Hope all the relevant parties are satisfied.
  2. Fix a few problems with large (2G-4G) file uploads. Added

    Andrei Zmievski authored
    --enable-large-uploads-fix switch because one change was in SAPI.h structure.
Commits on Jan 3, 2010
  1. sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php

    Sebastian Bergmann authored
Commits on Apr 28, 2009
  1. @smalyshev

    fix for #47930

    smalyshev authored
Commits on Dec 31, 2008
  1. - Add needed include as reported by Pierre

    Marcus Boerger authored
  2. MFH

    Marcus Boerger authored
    - Changed dl() to be disabled by default. Enabled only when explicitly
      registered by the SAPI layer. Enabled only with CLI, CGI and EMBED. (Dmitry)
    [DOC]
  3. MFH: Bump copyright year, 3 of 3.

    Sebastian Bergmann authored
Commits on Nov 13, 2008
  1. @arnaud-lb

    Added header_remove() (chsc at peytz dotdk, Arnaud)

    arnaud-lb authored
    [DOC] proto void header_remove([string header_name])
          Removes an HTTP header previously set using header()
          The header_name parameter is optionnal, all headers are
          removed if it is not set
    
    [SAPIs] The header_handler callback in sapi_module_struct has
               been changed, it now take a new argument.
    
               When it is set to SAPI_HEADER_DELETE, sapi_header->header is
               the name of an header, header_handler has to delete it.
    
               When it is set to SAPI_HEADER_DELETE_ALL, header_handler has
               to delete all headers.
    
               When sapi_header_op_enum is SAPI_HEADER_ADD or _REPLACE,
               sapi_header->header is in the form "Name: value", header_handler
               has to add or replace the given header.
    
               In all cases, header_handler must not free sapi_header or
               sapi_header->header. SAPI_HEADER_ADD must be returned if the
               header has been added or replaced, or 0 in other cases.
Commits on Mar 18, 2008
  1. @rlerdorf

    exit_on_timeout patch

    rlerdorf authored
    After the sigsetjmp change, this is patch #2 in an effort to get some
    sanity restored to signal handling in PHP.
    
    This patch does two things.  First, it makes it possible to reset the
    timeout without resetting the signal handlers.  This is important for
    cases where an extension may have deferred signals in its MINIT in order
    to implement critical sections. It also lays the groundwork for cleaning
    up our signal handling and perhaps eventually implementing our own
    signal deferring mechanism so we can have true critical sections.
    
    The second thing this does is to make it possible to terminate the current
    child process (only for Apache1 at the moment) on a timeout.  There are
    a number of extensions that are unhappy about being longjmp'ed out of
    and when this happens on a timeout they are left in an inconsistent state.
    By turning on exit_on_timeout you can now force the process to terminate
    on a timeout which will clean up any hanging locks and/or memory left
    hanging after the longjmp.
Commits on Jan 30, 2008
  1. Improved PHP binary size and startup speed with GCC4 visibility contr…

    Dmitry Stogov authored
    …ol (Nuno)
Commits on Dec 31, 2007
  1. MFH: Bump copyright year, 2 of 2.

    Sebastian Bergmann authored
Commits on Aug 31, 2007
  1. MFH: ws

    Jani Taskinen authored
Commits on Jan 1, 2007
  1. MFH: Bump year.

    Sebastian Bergmann authored
Commits on Sep 19, 2006
  1. MFH: Fixed mess with CGI/CLI -d command line option (now it works wit…

    Dmitry Stogov authored
    …h cgi; constants are working exactly like in php.ini; with FastCGI -d affects all requests).
Commits on Jan 1, 2006
  1. bump year and license version

    foobar authored
Commits on Aug 3, 2005
  1. - Bumber up year

    foobar authored
Commits on Apr 4, 2005
  1. added a server variable PHP_AUTH_DIGEST to support HTTP Digest Authen…

    Rui Hirokawa authored
    …tication.
Commits on Mar 14, 2005
  1. @rlerdorf

    Fix for bug #32263

    rlerdorf authored
    This adds proto_num to request_info.  It is defaulted to HTTP 1.0 (1000)
    such that it has a valid value even if the underlying sapi doesn't set it
    correctly.  It is then used to determine if a 302 or a 303 should be sent
    on a Location redirect.  Any non GET/HEAD HTTP 1.1 redirect will get a 303
    instead of a 302 to be compatible with the HTTP spec.
Commits on Feb 21, 2005
  1. - Fix bug #28568 (known_post_content_types is not thread safe).

    Moriyoshi Koizumi authored
    # What is eventually necessiated is entire SAPI redesign, I think.
Commits on Aug 21, 2004
  1. @fmk
Commits on Aug 10, 2004
  1. @rlerdorf

    Add SAPI hook to get the request time if provided by the web server,

    rlerdorf authored
    otherwise call time(0) on the first call and store it so subsequent
    calls will get the same time.  Hook support for Apache1/2 included.
Commits on Jan 8, 2004
  1. - Happy new year and PHP 5 for rest of the files too..

    foobar authored
    # Should the LICENSE and Zend/LICENSE dates be updated too?
Commits on Nov 30, 2003
  1. - Fixed standard wrapper for input filter.

    Derick Rethans authored
Something went wrong with that request. Please try again.