$OpenBSD: patch-php_ini-recommended,v 1.10 2004/02/29 00:08:08 avsm Exp $ --- php.ini-recommended.orig 2004-02-10 00:03:43.000000000 +0000 +++ php.ini-recommended 2004-02-28 17:54:25.000000000 +0000 @@ -423,11 +423,8 @@ default_mimetype = "text/html" ;;;;;;;;;;;;;;;;;;;;;;;;; ; UNIX: "/path1:/path2" -;include_path = ".:/php/includes" +include_path = ".:OPENBSD_INCLUDE_PATH" ; -; Windows: "\path1;\path2" -;include_path = ".;c:\php\includes" - ; The root of the PHP pages, used only if nonempty. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root ; if you are running php as a CGI under any web server (other than IIS) @@ -440,7 +437,7 @@ doc_root = user_dir = ; Directory in which the loadable extensions (modules) reside. -extension_dir = "./" +extension_dir = "MODULES_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 @@ -506,7 +503,7 @@ upload_max_filesize = 2M ;;;;;;;;;;;;;;;;;; ; Whether to allow the treatment of URLs (like http:// or ftp://) as files. -allow_url_fopen = On +allow_url_fopen = Off ; Define the anonymous ftp password (your email address) ;from="john@doe.com" @@ -525,77 +522,6 @@ default_socket_timeout = 60 ; auto_detect_line_endings = Off -;;;;;;;;;;;;;;;;;;;;;; -; Dynamic Extensions ; -;;;;;;;;;;;;;;;;;;;;;; -; -; If you wish to have an extension loaded automatically, use the following -; syntax: -; -; extension=modulename.extension -; -; For example, on Windows: -; -; extension=msql.dll -; -; ... or under UNIX: -; -; extension=msql.so -; -; Note that it should be the name of the module only; no directory information -; needs to go here. Specify the location of the extension with the -; extension_dir directive above. - - -;Windows Extensions -;Note that MySQL and ODBC support is now built in, so no dll is needed for it. -; -;extension=php_bz2.dll -;extension=php_cpdf.dll -;extension=php_crack.dll -;extension=php_curl.dll -;extension=php_db.dll -;extension=php_dba.dll -;extension=php_dbase.dll -;extension=php_dbx.dll -;extension=php_domxml.dll -;extension=php_exif.dll -;extension=php_fdf.dll -;extension=php_filepro.dll -;extension=php_gd2.dll -;extension=php_gettext.dll -;extension=php_hyperwave.dll -;extension=php_iconv.dll -;extension=php_ifx.dll -;extension=php_iisfunc.dll -;extension=php_imap.dll -;extension=php_interbase.dll -;extension=php_java.dll -;extension=php_ldap.dll -;extension=php_mbstring.dll -;extension=php_mcrypt.dll -;extension=php_mhash.dll -;extension=php_mime_magic.dll -;extension=php_ming.dll -;extension=php_mssql.dll -;extension=php_msql.dll -;extension=php_oci8.dll -;extension=php_openssl.dll -;extension=php_oracle.dll -;extension=php_pdf.dll -;extension=php_pgsql.dll -;extension=php_printer.dll -;extension=php_shmop.dll -;extension=php_snmp.dll -;extension=php_sockets.dll -;extension=php_sybase_ct.dll -;extension=php_w32api.dll -;extension=php_xmlrpc.dll -;extension=php_xslt.dll -;extension=php_yaz.dll -;extension=php_zip.dll - - ;;;;;;;;;;;;;;;;;;; ; Module Settings ; ;;;;;;;;;;;;;;;;;;; @@ -607,11 +533,6 @@ default_socket_timeout = 60 define_syslog_variables = Off [mail function] -; For Win32 only. -SMTP = localhost - -; For Win32 only. -;sendmail_from = me@example.com ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ;sendmail_path = @@ -1110,6 +1031,56 @@ sockets.use_system_read = On ;exif.decode_jis_motorola = JIS ;exif.decode_jis_intel = JIS -; Local Variables: -; tab-width: 4 -; End: +;;;;;;;;;;;;;;;;;;;;;; +; Dynamic Extensions ; +;;;;;;;;;;;;;;;;;;;;;; +; +; If you wish to have an extension loaded automatically, use the following +; syntax: +; +; extension=modulename.so +; +; Note that it should be the name of the module only; no directory information +; needs to go here. Specify the location of the extension with the +; extension_dir directive above. + +;extension=bz2.so +;extension=cpdf.so +;extension=crack.so +;extension=curl.so +;extension=db.so +;extension=dba.so +;extension=dbase.so +;extension=dbx.so +;extension=domxml.so +;extension=exif.so +;extension=fbsql.so +;extension=fdf.so +;extension=filepro.so +;extension=gd.so +;extension=hyperwave.so +;extension=ifx.so +;extension=imap.so +;extension=interbase.so +;extension=java.so +;extension=ldap.so +;extension=mbstring.so +;extension=mcrypt.so +;extension=mhash.so +;extension=ming.so +;extension=mssql.so +;extension=msql.so +;extension=oci8.so +;extension=openssl.so +;extension=oracle.so +;extension=pdf.so +;extension=pgsql.so +;extension=printer.so +;extension=pspell.so +;extension=shmop.so +;extension=snmp.so +;extension=sockets.so +;extension=sybase_ct.so +;extension=xmlrpc.so +;extension=xslt.so +;extension=yaz.so