pkgsrc/lang/php5/patches/patch-ah
jdolecek 25442552ef patch php.ini-dist and php.ini-recommended to comment out extension_dir
and to uncomment and explicitly set upload_tmp_dir, so that this works
out of box (patches adapted from www/php4)

pointed out by Martti Kuparinen on tech-pkg@
2005-12-06 08:32:22 +00:00

25 lines
873 B
Text

$NetBSD: patch-ah,v 1.1 2005/12/06 08:32:22 jdolecek Exp $
--- php.ini-recommended.orig 2005-11-15 00:14:23.000000000 +0100
+++ php.ini-recommended
@@ -515,8 +515,9 @@ doc_root =
; if nonempty.
user_dir =
-; Directory in which the loadable extensions (modules) reside.
-extension_dir = "./"
+; Directory in which the loadable extensions (modules) reside. If not
+; defined, then use the extension directory specified at compile-time.
+; extension_dir = "./"
; Whether or not to enable the dl() function. The dl() function does NOT work
; properly in multithreaded servers, such as IIS or Zeus, and is automatically
@@ -566,7 +567,7 @@ file_uploads = On
; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
-;upload_tmp_dir =
+upload_tmp_dir = /tmp
; Maximum allowed size for uploaded files.
upload_max_filesize = 2M