summaryrefslogtreecommitdiff
path: root/sapi/apache2handler/apache_config.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix MSVC level 1 (severe) warningsChristoph M. Becker2020-06-051-0/+6
| | | | | | | | | | | | | | | | | | | | | | | We fix (hopefully) all instances of: * <https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4005> * <https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4024> * <https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4028> * <https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4047> * <https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4087> * <https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4090> * <https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4273> * <https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4312> `zend_llist_add_element()` and `zend_llist_prepend_element()` now explicitly expect a *const* pointer. We use the macro `ZEND_VOIDP()` instead of a `(void*)` cast to suppress C4090; this should prevent accidential removal of the cast by clarifying the intention, and makes it easier to remove the casts if the issue[1] will be resolved sometime. [1] <https://developercommunity.visualstudio.com/content/problem/390711/c-compiler-incorrect-propagation-of-const-qualifie.html>
* Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-251-2/+0
| | | | Closes GH-4732.
* Remove local variablesPeter Kokot2019-02-031-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly used by Vim and Emacs editors yet with recent changes the once working definitions don't work anymore in Vim without custom plugins or additional configuration. Neither are these settings synced across the PHP code base. A simpler and better approach is EditorConfig and fixing code using some code style fixing tools in the future instead. This patch also removes the so called modelines for Vim. Modelines allow Vim editor specifically to set some editor configuration such as syntax highlighting, indentation style and tab width to be set in the first line or the last 5 lines per file basis. Since the php test files have syntax highlighting already set in most editors properly and EditorConfig takes care of the indentation settings, this patch removes these as well for the Vim 6.0 and newer versions. With the removal of local variables for certain editors such as Emacs and Vim, the footer is also probably not needed anymore when creating extensions using ext_skel.php script. Additionally, Vim modelines for setting php syntax and some editor settings has been removed from some *.phpt files. All these are mostly not relevant for phpt files neither work properly in the middle of the file.
* Remove yearly range from copyright noticeZeev Suraski2019-01-301-1/+1
|
* Remove unused Git attributes identPeter Kokot2018-07-251-2/+0
| | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
* Fix race conditions with Apache vhost vs. per dir configAnatol Belski2018-01-311-0/+18
| | | | | | | | | | If the same php_value/php_flag is present in httpd.conf and .htaccess, the key is potentially shared between threads. Unfortunately we can't intern these keys using the current mechanism, because the MPM is setup before the SAPI module setup is even started. A more elegant way were to implement a kind of string pool for the thread safe Apache SAPI config directives with the mechanism similar to what is done for the SAPI setup now, but doing a separate management.
* year++Xinchen Hui2018-01-021-1/+1
|
* Fixed bug #75311Mathieu CARBONNEAUX2017-10-051-2/+2
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
|
* Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
|\ | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| |
| * bump yearXinchen Hui2015-01-151-1/+1
| |
* | Fixed memleaks in apache2handlerXinchen Hui2015-09-231-5/+16
| |
* | Use new ZEND_HASH_FOREACH_... API.Dmitry Stogov2015-02-101-21/+0
| |
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | trailing whitespace removalStanislav Malyshev2015-01-101-6/+6
| |
* | Drop duplicate arg from hash_get_current_key_exNikita Popov2014-12-261-2/+2
| |
* | Update apache_config.cjfha732014-09-181-1/+1
| |
* | fix apache handler buildStanislav Malyshev2014-09-011-1/+1
| |
* | Added support for apache and apache2handler SAPIs (They seem slower than ↵Dmitry Stogov2014-05-061-18/+15
|/ | | | FastCGI)
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* - Year++Felipe Pena2012-01-011-1/+1
|
* - Fixed bug #54529 (SAPI crashes on apache_config.c:197)Felipe Pena2011-05-231-5/+6
| | | | | patch by: hebergement at riastudio dot fr
* - Year++Felipe Pena2011-01-011-1/+1
|
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* Nuke unused variablesHannes Magnusson2008-12-311-0/+2
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* MFB: fix php_value application order for ApacheStanislav Malyshev2008-11-241-4/+24
|
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* wsJani Taskinen2007-08-031-2/+2
|
* implement separate .htaccess stageStanislav Malyshev2007-08-031-2/+4
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* MFH: fix bug #37720 (merge_php_config scrambles values)Michael Wallner2006-06-091-5/+9
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* Fixed bug #33520 (crash if safe_mode is on and session.save_path is changed)Dmitry Stogov2005-07-041-1/+1
|
* - A belated happy holidays and PHP 5Andi Gutmans2004-01-081-2/+2
|
* updating license information in the headers.James Cox2003-06-101-3/+3
|
* MFB and more. Fixed various win32 compilation issues. Also the sapiEdin Kadribasic2003-03-251-0/+2
| | | | | is now built as php4apach2.dll since the filter is being obsoleted.
* CS Fixes.Ilia Alshanetsky2003-03-071-37/+19
| | | | | | | Fixed a bug with 404 handling. Added more detailed Apache info for phpinfo(). Added the support for last_modified.
* initial checkin of the apache2 SAPI using a handler instead of filters.Ian Holsman2003-02-111-0/+228
TBD: src highlighting better post handling