]> granicus.if.org Git - php/commitdiff
Replaces php5 with php7, without whitespace changes.
authorFlorian MARGAINE <florian@margaine.com>
Sat, 20 Sep 2014 08:01:44 +0000 (10:01 +0200)
committerFlorian MARGAINE <florian@margaine.com>
Sat, 20 Sep 2014 08:01:44 +0000 (10:01 +0200)
173 files changed:
.gitignore
INSTALL
Makefile.global
README.PARAMETER_PARSING_API
README.TESTING
README.UNIX-BUILD-SYSTEM
README.input_filter
acinclude.m4
build/build.mk
configure.in
ext/bz2/bz2.dsp
ext/ctype/ctype.dsp
ext/curl/curl.dsp
ext/dba/dba.dsp
ext/dom/dom.dsp
ext/exif/exif.dsp
ext/gd/gd.dsp
ext/gettext/gettext.dsp
ext/gmp/tests/001.phpt
ext/iconv/iconv.dsp
ext/imap/imap.dsp
ext/interbase/interbase.dsp
ext/interbase/php_ibase_udf.c
ext/intl/collator/collator_sort.c
ext/ldap/LDAP_Win32_HOWTO.txt
ext/ldap/ldap.dsp
ext/ldap/ldap.mak
ext/mbstring/libmbfl/NEWS
ext/mbstring/mbstring.dsp
ext/mcrypt/mcrypt.dsp
ext/mssql/mssql.dsp
ext/mssql/mssql_win32_howto.txt
ext/mssql/php_mssql.c
ext/mysql/mysql.dsp
ext/mysqli/mysqli.dsp
ext/mysqli/mysqli_warning.c
ext/oci8/oci8.dsp
ext/openssl/openssl.dsp
ext/openssl/openssl.mak
ext/pgsql/pgsql.dsp
ext/posix/tests/posix_access_error_modes.phpt
ext/pspell/pspell.dsp
ext/shmop/shmop.dsp
ext/simplexml/simplexml.dsp
ext/simplexml/tests/bug24392.phpt
ext/skeleton/skeleton.dsp
ext/skeleton/tests/001.phpt
ext/snmp/snmp.dsp
ext/soap/php_soap.dsp
ext/sockets/sockets.dsp
ext/standard/credits_ext.h
ext/standard/credits_sapi.h
ext/standard/tests/file/file_put_contents_variation5.phpt
ext/sybase_ct/sybase_ct.dsp
ext/tidy/examples/cleanhtml.php
ext/tidy/examples/cleanhtml.php.orig [new file with mode: 0644]
ext/tidy/examples/cleanhtml5.php
ext/tidy/examples/cleanhtml5.php.orig [new file with mode: 0644]
ext/tidy/tidy.dsp
ext/tokenizer/tokenizer.dsp
ext/xml/xml.mak
ext/xmlreader/README
ext/xmlreader/README.orig [new file with mode: 0644]
ext/xmlreader/TODO
ext/xmlreader/xmlreader.dsp
ext/xmlrpc/xmlrpc.dsp
ext/xmlwriter/TODO
ext/xsl/xsl.dsp
ext/zlib/zlib.dsp
ext/zlib/zlib_win32_howto.txt
makerpm
php.ini-development
php.ini-production
php7.spec.in [moved from php5.spec.in with 100% similarity]
sapi/aolserver/README
sapi/aolserver/php7aolserver.dsp [moved from sapi/aolserver/php5aolserver.dsp with 78% similarity]
sapi/apache/apMakefile.tmpl
sapi/apache/config.m4
sapi/apache/config.w32
sapi/apache/libphp7.module.in [moved from sapi/apache/libphp5.module.in with 96% similarity]
sapi/apache/mod_php5.exp [deleted file]
sapi/apache/mod_php7.c [moved from sapi/apache/mod_php5.c with 99% similarity]
sapi/apache/mod_php7.exp [new file with mode: 0644]
sapi/apache/mod_php7.h [moved from sapi/apache/mod_php5.h with 96% similarity]
sapi/apache/php.sym
sapi/apache/php7apache.dsp [moved from sapi/apache/php5apache.dsp with 81% similarity]
sapi/apache/php_apache_http.h
sapi/apache2filter/config.m4
sapi/apache2filter/php.sym
sapi/apache2filter/php_apache.h
sapi/apache2filter/sapi_apache2.c
sapi/apache2handler/config.m4
sapi/apache2handler/config.w32
sapi/apache2handler/mod_php7.c [moved from sapi/apache2handler/mod_php5.c with 97% similarity]
sapi/apache2handler/php.sym
sapi/apache2handler/php7apache2.dsp [moved from sapi/apache2handler/php5apache2.dsp with 83% similarity]
sapi/apache2handler/php_apache.h
sapi/apache2handler/sapi_apache2.c
sapi/apache_hooks/apMakefile.tmpl
sapi/apache_hooks/config.m4
sapi/apache_hooks/config.w32
sapi/apache_hooks/libphp7.module.in [moved from sapi/apache_hooks/libphp5.module.in with 96% similarity]
sapi/apache_hooks/mod_php5.exp [deleted file]
sapi/apache_hooks/mod_php7.c [moved from sapi/apache_hooks/mod_php5.c with 98% similarity]
sapi/apache_hooks/mod_php7.exp [new file with mode: 0644]
sapi/apache_hooks/mod_php7.h [moved from sapi/apache_hooks/mod_php5.h with 97% similarity]
sapi/apache_hooks/php.sym
sapi/apache_hooks/php7apache_hooks.dsp [moved from sapi/apache_hooks/php5apache_hooks.dsp with 79% similarity, mode: 0644]
sapi/apache_hooks/php_apache_http.h
sapi/caudium/caudium.c
sapi/caudium/caudium.c.orig [new file with mode: 0644]
sapi/caudium/caudium.c.rej [new file with mode: 0644]
sapi/caudium/config.m4
sapi/cgi/CHANGES
sapi/cgi/README.FastCGI
sapi/cli/config.m4
sapi/embed/php7embed.dsp [moved from sapi/embed/php5embed.dsp with 78% similarity]
sapi/fpm/php-fpm.conf.in
sapi/isapi/config.m4
sapi/isapi/config.w32
sapi/isapi/php7isapi.c [moved from sapi/isapi/php5isapi.c with 100% similarity]
sapi/isapi/php7isapi.def [moved from sapi/isapi/php5isapi.def with 100% similarity]
sapi/isapi/php7isapi.dsp [moved from sapi/isapi/php5isapi.dsp with 74% similarity]
sapi/isapi/stresstest/notes.txt
sapi/isapi/stresstest/stresstest.cpp
sapi/nsapi/nsapi-readme.txt
sapi/nsapi/nsapi.c
sapi/nsapi/php7nsapi.dsp [moved from sapi/nsapi/php5nsapi.dsp with 76% similarity]
sapi/phpdbg/phpdbg.1
sapi/pi3web/README
sapi/pi3web/config.m4
sapi/pi3web/config.w32
sapi/pi3web/php7pi3web.dsp [moved from sapi/pi3web/php5pi3web.dsp with 80% similarity]
sapi/pi3web/pi3web_sapi.c
sapi/pi3web/pi3web_sapi.h
sapi/roxen/README
sapi/roxen/TODO
sapi/roxen/config.m4
sapi/roxen/roxen.c
sapi/thttpd/config.m4
sapi/thttpd/thttpd_patch
sapi/tux/README
sapi/tux/config.m4
sapi/webjames/README
scripts/dev/credits
tests/classes/inheritance_002.phpt
tests/lang/bug24396.phpt
win32/build/Makefile
win32/build/block.template.dsw
win32/build/config.w32
win32/build/config.w32.phpize.in
win32/build/projectgen.js
win32/build/template.dsw
win32/build/template.rc
win32/install.txt
win32/install.txt.orig [new file with mode: 0644]
win32/install.txt.rej [new file with mode: 0644]
win32/php7.dsp [moved from win32/php5.dsp with 82% similarity]
win32/php7.dsw [moved from win32/php5.dsw with 92% similarity]
win32/php7dll.dsp [moved from win32/php5dll.dsp with 80% similarity]
win32/php7dllts.dsp [moved from win32/php5dllts.dsp with 84% similarity]
win32/php7dllts.rc [moved from win32/php5dllts.rc with 95% similarity]
win32/php7dllts.rc2 [moved from win32/php5dllts.rc2 with 94% similarity]
win32/php7ts.dsp [moved from win32/php5ts.dsp with 82% similarity]
win32/php7ts.dsw [moved from win32/php5ts.dsw with 76% similarity]
win32/php7ts.rc [moved from win32/php5ts.rc with 96% similarity]
win32/php7ts.rc2 [moved from win32/php5ts.rc2 with 96% similarity]
win32/php7ts_cli.dsp [moved from win32/php5ts_cli.dsp with 80% similarity]
win32/php7ts_cli.rc [moved from win32/php5ts_cli.rc with 95% similarity]
win32/php7ts_cli.rc2 [moved from win32/php5ts_cli.rc2 with 96% similarity]
win32/resource.h
win32/sendmail.c
win32/syslog.reg

index e0943f115cdca059665017cc553211c40ff2a346..be17e2445501403b5c36cbdf5660befad10ef608 100644 (file)
@@ -82,7 +82,7 @@ mkinstalldirs
 modules
 php
 php-*.tar.gz
-php5.spec
+php7.spec
 php_lcov.info
 php_test_results_*.txt
 php_version.h
@@ -260,9 +260,9 @@ pear/phpize
 pear/run-tests
 pear/php-config
 pear/scripts
-sapi/apache/libphp5.module
-sapi/apache2handler/libphp5.module
-sapi/apache_hooks/libphp5.module
+sapi/apache/libphp7.module
+sapi/apache2handler/libphp7.module
+sapi/apache_hooks/libphp7.module
 sapi/cgi/php-cgi
 sapi/cgi/php-cgi.1
 sapi/cli/php.1
diff --git a/INSTALL b/INSTALL
index 141e4f8312f63403bbb21425246bc3f1b2ae3e71..3071f267ae86de0c75c9a625205633f3357d93ac 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -223,12 +223,12 @@ Apache 1.3.x on Unix systems
     module on your system.  The make install from above may have already
     added this for you, but be sure to check.
 
-      LoadModule php5_module libexec/libphp5.so
+      LoadModule php7_module libexec/libphp7.so
 
 15. And in the AddModule section of httpd.conf, somewhere under the
     ClearModuleList, add this:
 
-      AddModule mod_php5.c
+      AddModule mod_php7.c
 
 16. Tell Apache to parse certain extensions as PHP.  For example,
     let's have Apache parse the .php extension as PHP.  You could
@@ -263,8 +263,8 @@ Apache 1.3.x on Unix systems
 
 10. cd ../apache_1.3.x
 
-11. ./configure --prefix=/www --activate-module=src/modules/php5/libphp5.a
-    (The above line is correct! Yes, we know libphp5.a does not exist at this
+11. ./configure --prefix=/www --activate-module=src/modules/php7/libphp7.a
+    (The above line is correct! Yes, we know libphp7.a does not exist at this
     stage. It isn't supposed to. It will be created.)
 
 12. make
@@ -309,24 +309,24 @@ stop and start:
    Different examples of compiling PHP for apache are as follows:
 ./configure --with-apxs --with-pgsql
 
-   This will create a libphp5.so shared library that is loaded into Apache
+   This will create a libphp7.so shared library that is loaded into Apache
    using  a  LoadModule  line  in Apache's httpd.conf file. The PostgreSQL
    support is embedded into this library.
 
 ./configure --with-apxs --with-pgsql=shared
 
-   This  will  create  a libphp5.so shared library for Apache, but it will
+   This  will  create  a libphp7.so shared library for Apache, but it will
    also create a pgsql.so shared library that is loaded into PHP either by
    using  the  extension  directive  in  php.ini  file  or  by  loading it
    explicitly in a script using the dl() function.
 
 ./configure --with-apache=/path/to/apache_source --with-pgsql
 
-   This  will  create  a  libmodphp5.a  library,  a  mod_php5.c  and  some
-   accompanying files and copy this into the src/modules/php5 directory in
+   This  will  create  a  libmodphp7.a  library,  a  mod_php7.c  and  some
+   accompanying files and copy this into the src/modules/php7 directory in
    the    Apache    source   tree.   Then   you   compile   Apache   using
-   --activate-module=src/modules/php5/libphp5.a   and   the  Apache  build
-   system  will  create  libphp5.a  and  link it statically into the httpd
+   --activate-module=src/modules/php7/libphp7.a   and   the  Apache  build
+   system  will  create  libphp7.a  and  link it statically into the httpd
    binary.  The  PostgreSQL  support  is included directly into this httpd
    binary, so the final result here is a single httpd binary that includes
    all of Apache and all of PHP.
@@ -450,7 +450,7 @@ cp php.ini-development /usr/local/lib/php.ini
        hand side of the LoadModule statement must point to the path of the
        PHP  module  on  your  system. The make install from above may have
        already added this for you, but be sure to check.
-LoadModule php5_module modules/libphp5.so
+LoadModule php7_module modules/libphp7.so
     8. Tell  Apache to parse certain extensions as PHP. For example, let's
        have  Apache  parse  .php  files  as PHP. Instead of only using the
        Apache  AddType  directive,  we want to avoid potentially dangerous
@@ -461,7 +461,7 @@ LoadModule php5_module modules/libphp5.so
 <FilesMatch \.php$>
     SetHandler application/x-httpd-php
 </FilesMatch>
-       Or,  if we wanted to allow .php, .php2, .php3, .php4, .php5, .php6,
+       Or,  if we wanted to allow .php, .php2, .php3, .php4, .php5, .php7,
        and  .phtml files to be executed as PHP, but nothing else, we'd use
        this:
 <FilesMatch "\.ph(p[2-6]?|tml)$">
@@ -1004,16 +1004,16 @@ Debian GNU/Linux installation notes
 Using APT
 
    First,   note   that   other  related  packages  may  be  desired  like
-   libapache2-mod-php5 to integrate with Apache 2, and php-pear for PEAR.
+   libapache2-mod-php7 to integrate with Apache 2, and php-pear for PEAR.
 
    Second,  before  installing  a package, it's wise to ensure the package
    list  is  up  to  date.  Typically, this is done by running the command
    apt-get update.
 
    Example #1 Debian Install Example with Apache 2
-# apt-get install php5-common libapache2-mod-php5 php5-cli
+# apt-get install php7-common libapache2-mod-php7 php7-cli
 
-   APT will automatically install the PHP 5 module for Apache 2 and all of
+   APT will automatically install the PHP 7 module for Apache 2 and all of
    its  dependencies,  and then activate it. Apache should be restarted in
    order for the changes take place. For example:
 
@@ -1027,23 +1027,23 @@ Better control of configuration
    very  likely  that  additional  modules will be desired, such as MySQL,
    cURL, GD, etc. These may also be installed via the apt-get command.
 
-   Example #3 Methods for listing additional PHP 5 packages
-# apt-cache search php5
-# aptitude search php5
-# aptitude search php5 |grep -i mysql
+   Example #3 Methods for listing additional PHP 7 packages
+# apt-cache search php7
+# aptitude search php7
+# aptitude search php7 |grep -i mysql
 
    The examples will show a lot of packages including several PHP specific
-   ones  like  php5-cgi, php5-cli and php5-dev. Determine which are needed
+   ones  like  php7-cgi, php7-cli and php7-dev. Determine which are needed
    and  install  them  like any other with either apt-get or aptitude. And
    because  Debian  performs  dependency checks, it'll prompt for those so
    for example to install MySQL and cURL:
 
    Example #4 Install PHP with MySQL, cURL
-# apt-get install php5-mysql php5-curl
+# apt-get install php7-mysql php7-curl
 
    APT  will  automatically  add  the  appropriate  lines to the different
-   php.ini      related      files     like     /etc/php5/apache2/php.ini,
-   /etc/php5/conf.d/pdo.ini,  etc. and depending on the extension will add
+   php.ini      related      files     like     /etc/php7/apache2/php.ini,
+   /etc/php7/conf.d/pdo.ini,  etc. and depending on the extension will add
    entries similar to extension=foo.so. However, restarting the web server
    (like Apache) is required before these changes take affect.
 
@@ -1137,9 +1137,9 @@ Using the bundled PHP
     2. With  a  text  editor, uncomment the lines (by removing the #) that
        look  similar  to  the  following  (these  two  lines are often not
        together, locate them both in the file):
-# LoadModule php5_module libexec/httpd/libphp5.so
+# LoadModule php7_module libexec/httpd/libphp7.so
 
-# AddModule mod_php5.c
+# AddModule mod_php7.c
 
        Notice  the  location/path.  When  building  PHP in the future, the
        above files should be replaced or commented out.
@@ -1148,7 +1148,7 @@ Using the bundled PHP
        Due  to  the following statement already existing in httpd.conf (as
        of   Mac  Panther),  once  PHP  is  enabled  the  .php  files  will
        automatically parse as PHP.
-<IfModule mod_php5.c>
+<IfModule mod_php7.c>
     # If php is turned on, we respect .php and .phps files.
     AddType application/x-httpd-php .php
     AddType application/x-httpd-php-source .phps
@@ -1740,7 +1740,7 @@ Running PHP as an Apache module
           php_admin_flag can not be overridden by .htaccess or ini_set().
 
    Example #1 Apache configuration example
-<IfModule mod_php5.c>
+<IfModule mod_php7.c>
   php_value include_path ".:/usr/local/lib/php"
   php_admin_flag engine on
 </IfModule>
@@ -1810,7 +1810,7 @@ Installation
        script file via my browser, I get a server 500 error.
     8. Some  operating  systems:  I have installed PHP without errors, but
        when  I  try  to  start  Apache  I  get  undefined  symbol  errors:
-       [mybox:user   /src/php5]   root#  apachectl  configtest  apachectl:
+       [mybox:user   /src/php7]   root#  apachectl  configtest  apachectl:
        /usr/local/apache/bin/httpd     Undefined     symbols:    _compress
        _uncompress
     9. Windows:  I  have  installed  PHP,  but  when I try to access a PHP
@@ -1912,7 +1912,7 @@ AddModule mod_perl.c
 
 # Extra Modules
 LoadModule php_module         modules/mod_php.so
-LoadModule php5_module        modules/libphp5.so
+LoadModule php7_module        modules/libphp7.so
 LoadModule perl_module        modules/libperl.so
 
           And add:
@@ -1954,7 +1954,7 @@ AddType application/x-httpd-php .php
    Some operating systems: I have installed PHP without errors, but when I
           try to start Apache I get undefined symbol errors:
 
-[mybox:user /src/php5] root# apachectl configtest
+[mybox:user /src/php7] root# apachectl configtest
  apachectl: /usr/local/apache/bin/httpd Undefined symbols:
   _compress
   _uncompress
@@ -1984,7 +1984,7 @@ cgi error:
           script via the browser again. If it still fails then it could be
           one of the following:
 
-          + File  permissions  on  your  PHP  script, php.exe, php5ts.dll,
+          + File  permissions  on  your  PHP  script, php.exe, php7ts.dll,
             php.ini  or any PHP extensions you are trying to load are such
             that  the  anonymous  internet  user ISUR_<machinename> cannot
             access them.
@@ -2103,7 +2103,7 @@ cgi error:
           to  choose  PHP  files from URL with no extension. In this case,
           replace the line AddType application/x-httpd-php .php with:
 
-AddHandler php5-script php
+AddHandler php7-script php
 AddType text/html php
 
           This  solution  doesn't  work for Apache 1 as PHP module doesn't
index bd82daf4d891ee44be56fadfb8dec6c07067ee79..f833efa5e70e4a4b0b3ae7a35afa2fea36fabf64 100644 (file)
@@ -119,7 +119,7 @@ clean:
 
 distclean: clean
        rm -f Makefile config.cache config.log config.status Makefile.objects Makefile.fragments libtool main/php_config.h main/internal_functions_cli.c main/internal_functions.c stamp-h sapi/apache/libphp$(PHP_MAJOR_VERSION).module sapi/apache_hooks/libphp$(PHP_MAJOR_VERSION).module buildmk.stamp Zend/zend_dtrace_gen.h Zend/zend_dtrace_gen.h.bak Zend/zend_config.h TSRM/tsrm_config.h
-       rm -f php5.spec main/build-defs.h scripts/phpize
+       rm -f php7.spec main/build-defs.h scripts/phpize
        rm -f ext/date/lib/timelib_config.h ext/mbstring/oniguruma/config.h ext/mbstring/libmbfl/config.h ext/oci8/oci8_dtrace_gen.h ext/oci8/oci8_dtrace_gen.h.bak
        rm -f scripts/man1/phpize.1 scripts/php-config scripts/man1/php-config.1 sapi/cli/php.1 sapi/cgi/php-cgi.1 ext/phar/phar.1 ext/phar/phar.phar.1
        rm -f sapi/fpm/php-fpm.conf sapi/fpm/init.d.php-fpm sapi/fpm/php-fpm.service sapi/fpm/php-fpm.8 sapi/fpm/status.html
index 25a41096cf2ec4d9c3ff75f4f3b2bd92e9118f26..446b5811e55128fedecbdff283443bed8c0055d2 100644 (file)
@@ -231,4 +231,3 @@ for (i = 0; i < num_varargs; i++) {
 if (varargs) {
     efree(varargs);
 }
-
index 3ed5e6b2ab58ff32d3b636264eecbe8686e8bd8c..1972f5f6f31ab806e86bacef76206c80ad52fd3a 100644 (file)
@@ -118,7 +118,7 @@ Example script to be run by cron(1):
 ========== qa-test.sh =============
 #!/bin/sh
 
-CO_DIR=$HOME/cvs/php5
+CO_DIR=$HOME/cvs/php7
 MYMAIL=qa-test@domain.com
 TMPDIR=/var/tmp
 TODAY=`date +"%Y%m%d"`
index 9b49cb8bc821b6980fa813c0a1c610424581b298..54dcae3fc669852fd44919c239da8ec07005b0e3 100644 (file)
@@ -108,7 +108,7 @@ module, program, etc).
 
 For example for APXS:
 
-PHP_SELECT_SAPI(apache, shared, sapi_apache.c mod_php5.c php_apache.c)
+PHP_SELECT_SAPI(apache, shared, sapi_apache.c mod_php7.c php_apache.c)
 
 
 
index e2941d029ee4e89f8880c46d41a7e8fc60a7fbc3..78e2edd2ec1f2277b2c37f56cae4ea471ecd6031 100644 (file)
@@ -181,4 +181,3 @@ PHP_FUNCTION(my_get_raw)
         RETVAL_FALSE;
     }
 }
-
index 81dc0db34a81678627af8f4cd1fd54265059182f..678296aac7904fdd60f9354522a3dec2aa02c174 100644 (file)
@@ -844,7 +844,7 @@ AC_DEFUN([PHP_SHARED_MODULE],[
       ;;
     *netware*[)]
       suffix=nlm
-      link_cmd='$(LIBTOOL) --mode=link ifelse($4,,[$(CC)],[$(CXX)]) $(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(LDFLAGS) -o [$]@ -shared -export-dynamic -avoid-version -prefer-pic -module -rpath $(phplibdir) $(EXTRA_LDFLAGS) $($2) ifelse($1, php5lib, , -L$(top_builddir)/netware -lphp5lib) $(translit(ifelse($1, php5lib, $1, m4_substr($1, 3)),a-z_-,A-Z__)_SHARED_LIBADD)'
+      link_cmd='$(LIBTOOL) --mode=link ifelse($4,,[$(CC)],[$(CXX)]) $(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(LDFLAGS) -o [$]@ -shared -export-dynamic -avoid-version -prefer-pic -module -rpath $(phplibdir) $(EXTRA_LDFLAGS) $($2) ifelse($1, php7lib, , -L$(top_builddir)/netware -lphp7lib) $(translit(ifelse($1, php7lib, $1, m4_substr($1, 3)),a-z_-,A-Z__)_SHARED_LIBADD)'
       ;;
     *[)]
       suffix=la
index 2c189159a263e8a367ba61b3c0a94a2a48454ca7..5dd81ee0e98b6c9c8d8a13726f899d31f39667a5 100644 (file)
@@ -39,7 +39,7 @@ $(STAMP): build/buildcheck.sh
 snapshot:
        distname='$(DISTNAME)'; \
        if test -z "$$distname"; then \
-               distname='php5-snapshot'; \
+               distname='php7-snapshot'; \
        fi; \
        myname=`basename \`pwd\`` ; \
        cd .. && cp -rp $$myname $$distname; \
index d07b7192cbd1d30c700b4cdfe2c9bc1b914294f2..bef88cd1f7297f559e82b9a911eb743f27ab90df 100644 (file)
@@ -335,10 +335,10 @@ case $host_alias in
     PHP_BUILD_PROGRAM
     PHP_ADD_SOURCES(/main, internal_functions.c,,PHP_GLOBAL_OBJS)
     PHP_ADD_SOURCES(win32, sendmail.c, -I$CFLAGS, PHP_GLOBAL_OBJS)
-    PHP5LIB_SHARED_LIBADD=\$\(EXTRA_LIBS\)
+    PHP7LIB_SHARED_LIBADD=\$\(EXTRA_LIBS\)
     EXTENSION_DIR=sys:/php$PHP_MAJOR_VERSION/ext
-    PHP_SUBST(PHP5LIB_SHARED_LIBADD)
-    PHP_SHARED_MODULE(php5lib, PHP_GLOBAL_OBJS, netware)
+    PHP_SUBST(PHP7LIB_SHARED_LIBADD)
+    PHP_SHARED_MODULE(php7lib, PHP_GLOBAL_OBJS, netware)
     ;;
 esac
 
@@ -1509,7 +1509,7 @@ $php_shtool mkdir -p pear/scripts
 $php_shtool mkdir -p scripts
 $php_shtool mkdir -p scripts/man1
 
-ALL_OUTPUT_FILES="php5.spec main/build-defs.h \
+ALL_OUTPUT_FILES="php7.spec main/build-defs.h \
 scripts/phpize scripts/man1/phpize.1 \
 scripts/php-config scripts/man1/php-config.1 \
 $PHP_OUTPUT_FILES"
index a054c522a79b93c98fa58ee1a80f634eec1e636f..a858879396bab7a2fc67cde7586022b25584a00f 100644 (file)
@@ -54,7 +54,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 libbz2.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_bz2.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline" /libpath:"..\..\..\php_build\release"\r
+# ADD LINK32 libbz2.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_bz2.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline" /libpath:"..\..\..\php_build\release"\r
 \r
 !ELSEIF  "$(CFG)" == "bz2 - Win32 Debug_TS"\r
 \r
@@ -80,7 +80,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 php5ts_debug.lib libbz2.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_bz2.dll" /pdbtype:sept /libpath:"..\..\Debug_TS" /libpath:"..\..\..\php_build\release"\r
+# ADD LINK32 php7ts_debug.lib libbz2.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_bz2.dll" /pdbtype:sept /libpath:"..\..\Debug_TS" /libpath:"..\..\..\php_build\release"\r
 \r
 !ENDIF \r
 \r
index 1305c72f6a8f22353cdcdd1469fcdad0c5f53f75..d9bde43178315b607f485ae78173b5240d10ad06 100644 (file)
@@ -53,7 +53,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 php5ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_ctype.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
+# ADD LINK32 php7ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_ctype.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
 \r
 !ELSEIF  "$(CFG)" == "ctype - Win32 Debug_TS"\r
 \r
@@ -79,7 +79,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 php5ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_ctype.dll" /pdbtype:sept /libpath:"..\..\Debug_TS"\r
+# ADD LINK32 php7ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_ctype.dll" /pdbtype:sept /libpath:"..\..\Debug_TS"\r
 \r
 !ENDIF \r
 \r
index 6524fceb899748c71e2f9179f9875f6c4e515ac2..ae3257619cedf7f4603d734d5e5e9488fc1e6426 100644 (file)
@@ -55,8 +55,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib /nologo /dll /machine:I386\r
-# ADD LINK32 php5ts.lib libcurl.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib /nologo /dll /machine:I386 /nodefaultlib:"MSVCRT" /out:"..\..\Release_TS/php_curl.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline" /libpath:"..\..\..\php_build\curl\lib"\r
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib /nologo /dll /machine:I386\r
+# ADD LINK32 php7ts.lib libcurl.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib /nologo /dll /machine:I386 /nodefaultlib:"MSVCRT" /out:"..\..\Release_TS/php_curl.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline" /libpath:"..\..\..\php_build\curl\lib"\r
 # SUBTRACT LINK32 /pdb:none\r
 \r
 !ELSEIF  "$(CFG)" == "curl - Win32 Debug_TS"\r
@@ -83,8 +83,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib /nologo /dll /machine:I386\r
-# ADD LINK32 php5ts_debug.lib libcurl.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib wsock32.lib /nologo /dll /incremental:yes /debug /machine:I386 /nodefaultlib:"MSVCRTD" /out:"..\..\Debug_TS/php_curl.dll" /libpath:"..\..\Debug_TS" /libpath:"..\..\..\php_build\curl\lib"\r
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib /nologo /dll /machine:I386\r
+# ADD LINK32 php7ts_debug.lib libcurl.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib wsock32.lib /nologo /dll /incremental:yes /debug /machine:I386 /nodefaultlib:"MSVCRTD" /out:"..\..\Debug_TS/php_curl.dll" /libpath:"..\..\Debug_TS" /libpath:"..\..\..\php_build\curl\lib"\r
 # SUBTRACT LINK32 /pdb:none\r
 \r
 !ELSEIF  "$(CFG)" == "curl - Win32 Debug_TS_SSL"\r
@@ -111,9 +111,9 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 php5ts_debug.lib libcurl.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /incremental:yes /debug /machine:I386 /nodefaultlib:"msvcrtd.lib" /out:"..\..\Debug_TS/php_curl.dll" /libpath:"..\..\Debug_TS"\r
+# ADD BASE LINK32 php7ts_debug.lib libcurl.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /incremental:yes /debug /machine:I386 /nodefaultlib:"msvcrtd.lib" /out:"..\..\Debug_TS/php_curl.dll" /libpath:"..\..\Debug_TS"\r
 # SUBTRACT BASE LINK32 /pdb:none\r
-# ADD LINK32 php5ts_debug.lib libcurl.lib ssleay32.lib libeay32.lib msvcrt.lib ws2_32.lib winmm.lib zlib.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib /nologo /dll /incremental:yes /debug /machine:I386 /nodefaultlib:"MSVCRTD" /out:"..\..\Debug_TS/php_curl.dll" /libpath:"..\..\Debug_TS" /libpath:"..\..\..\php_build\curl\lib"\r
+# ADD LINK32 php7ts_debug.lib libcurl.lib ssleay32.lib libeay32.lib msvcrt.lib ws2_32.lib winmm.lib zlib.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib /nologo /dll /incremental:yes /debug /machine:I386 /nodefaultlib:"MSVCRTD" /out:"..\..\Debug_TS/php_curl.dll" /libpath:"..\..\Debug_TS" /libpath:"..\..\..\php_build\curl\lib"\r
 # SUBTRACT LINK32 /pdb:none /nodefaultlib\r
 \r
 !ELSEIF  "$(CFG)" == "curl - Win32 Release_TS_SSL"\r
@@ -140,9 +140,9 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 php5ts.lib libcurl.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /nodefaultlib:"msvcrt.lib" /out:"..\..\Release_TS/php_curl.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
+# ADD BASE LINK32 php7ts.lib libcurl.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /nodefaultlib:"msvcrt.lib" /out:"..\..\Release_TS/php_curl.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
 # SUBTRACT BASE LINK32 /pdb:none\r
-# ADD LINK32 php5ts.lib libcurl.lib ssleay32.lib libeay32.lib msvcrt.lib ws2_32.lib winmm.lib zlib.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib /nologo /dll /machine:I386 /nodefaultlib:"MSVCRT" /out:"..\..\Release_TS/php_curl.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline" /libpath:"..\..\..\php_build\curl\lib"\r
+# ADD LINK32 php7ts.lib libcurl.lib ssleay32.lib libeay32.lib msvcrt.lib ws2_32.lib winmm.lib zlib.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib /nologo /dll /machine:I386 /nodefaultlib:"MSVCRT" /out:"..\..\Release_TS/php_curl.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline" /libpath:"..\..\..\php_build\curl\lib"\r
 # SUBTRACT LINK32 /pdb:none\r
 \r
 !ENDIF \r
index ddfd1485a965d0f08aad21386f1275df714e5240..548ecf8637cfecca8dfd2d9090ce54db3ac9c522 100644 (file)
@@ -53,8 +53,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 php5ts.lib libdb31s.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_dba.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
-# ADD LINK32 php5ts.lib libdb31s.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_dba.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
+# ADD BASE LINK32 php7ts.lib libdb31s.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_dba.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
+# ADD LINK32 php7ts.lib libdb31s.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_dba.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
 \r
 !ELSEIF  "$(CFG)" == "dba - Win32 Debug_TS Berkeley DB3"\r
 \r
@@ -80,8 +80,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 php5ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_dba.dll" /pdbtype:sept /libpath:"..\..\Debug_TS"\r
-# ADD LINK32 php5ts_debug.lib libdb31s.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_dba.dll" /pdbtype:sept /libpath:"..\..\Debug_TS"\r
+# ADD BASE LINK32 php7ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_dba.dll" /pdbtype:sept /libpath:"..\..\Debug_TS"\r
+# ADD LINK32 php7ts_debug.lib libdb31s.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_dba.dll" /pdbtype:sept /libpath:"..\..\Debug_TS"\r
 \r
 !ENDIF \r
 \r
index f2ae5b1a767598dc7061f9a2e99f6cc6d9f113e1..cc507e5317eb898ea3bbdc0a9786408889ef02de 100644 (file)
@@ -53,8 +53,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib /nologo /dll /machine:I386\r
-# ADD LINK32 wsock32.lib php5ts.lib resolv.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /incremental:yes /machine:I386 /out:"..\..\Release_TS/php_dom.dll" /implib:"..\..\Release_TS/php_dom.lib" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline" /libpath:"..\..\..\bindlib_w32\Release"\r
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib /nologo /dll /machine:I386\r
+# ADD LINK32 wsock32.lib php7ts.lib resolv.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /incremental:yes /machine:I386 /out:"..\..\Release_TS/php_dom.dll" /implib:"..\..\Release_TS/php_dom.lib" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline" /libpath:"..\..\..\bindlib_w32\Release"\r
 # SUBTRACT LINK32 /pdb:none\r
 \r
 !ELSEIF  "$(CFG)" == "dom - Win32 Debug_TS"\r
@@ -81,8 +81,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib /nologo /dll /machine:I386\r
-# ADD LINK32 php5ts_debug.lib ws2_32.lib resolv.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /incremental:yes /debug /machine:I386 /nodefaultlib:"msvcrt" /out:"..\..\Debug_TS\php_dom.dll" /implib:"..\..\Debug_TS/php_dom.lib" /libpath:"..\..\Debug_TS" /libpath:"..\..\..\bindlib_w32\Release"\r
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib /nologo /dll /machine:I386\r
+# ADD LINK32 php7ts_debug.lib ws2_32.lib resolv.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /incremental:yes /debug /machine:I386 /nodefaultlib:"msvcrt" /out:"..\..\Debug_TS\php_dom.dll" /implib:"..\..\Debug_TS/php_dom.lib" /libpath:"..\..\Debug_TS" /libpath:"..\..\..\bindlib_w32\Release"\r
 \r
 !ENDIF \r
 \r
index 4a827338b2bb33c52a1a6a0cd2a5559ba75eef3b..c5b26b42d0644a7a8398a8f55ced615b97670c92 100644 (file)
@@ -53,8 +53,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib /nologo /dll /machine:I386\r
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_exif.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib /nologo /dll /machine:I386\r
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_exif.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
 \r
 !ELSEIF  "$(CFG)" == "exif - Win32 Debug_TS"\r
 \r
@@ -80,8 +80,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib /nologo /dll /machine:I386\r
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts_debug.lib /nologo /dll /machine:I386 /out:"..\..\Debug_TS/php_exif.dll" /libpath:"..\..\Debug_TS"\r
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib /nologo /dll /machine:I386\r
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts_debug.lib /nologo /dll /machine:I386 /out:"..\..\Debug_TS/php_exif.dll" /libpath:"..\..\Debug_TS"\r
 \r
 !ENDIF \r
 \r
index d7207562f89a2d22c528a836fae1a1c48eb8a297..c5ec5aaf7d758a93a7f52eeb49735c9987014f15 100644 (file)
@@ -54,9 +54,9 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 php5ts.lib libjpeg.lib libpng.lib zlib.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_gd2.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
+# ADD BASE LINK32 php7ts.lib libjpeg.lib libpng.lib zlib.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_gd2.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
 # SUBTRACT BASE LINK32 /pdb:none\r
-# ADD LINK32 php5ts.lib freetype2.lib libjpeg.lib libpng.lib zlib.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_gd2.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline" /libpath:"..\..\..\zlib\Release"\r
+# ADD LINK32 php7ts.lib freetype2.lib libjpeg.lib libpng.lib zlib.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_gd2.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline" /libpath:"..\..\..\zlib\Release"\r
 # SUBTRACT LINK32 /pdb:none\r
 \r
 !ELSEIF  "$(CFG)" == "gd - Win32 Debug_TS GD2"\r
@@ -84,9 +84,9 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 php5ts_debug.lib libjpeg.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /incremental:yes /debug /machine:I386 /out:"..\..\Debug_TS/php_gd2.dll" /libpath:"..\..\Debug_TS"\r
+# ADD BASE LINK32 php7ts_debug.lib libjpeg.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /incremental:yes /debug /machine:I386 /out:"..\..\Debug_TS/php_gd2.dll" /libpath:"..\..\Debug_TS"\r
 # SUBTRACT BASE LINK32 /pdb:none\r
-# ADD LINK32 php5ts_debug.lib libpng.lib zlib.lib libjpeg.lib freetype2.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /incremental:yes /debug /machine:I386 /out:"..\..\Debug_TS/php_gd2.dll" /libpath:"..\..\Debug_TS" /libpath:"..\..\..\zlib\Debug"\r
+# ADD LINK32 php7ts_debug.lib libpng.lib zlib.lib libjpeg.lib freetype2.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /incremental:yes /debug /machine:I386 /out:"..\..\Debug_TS/php_gd2.dll" /libpath:"..\..\Debug_TS" /libpath:"..\..\..\zlib\Debug"\r
 # SUBTRACT LINK32 /pdb:none\r
 \r
 !ENDIF \r
index 79ea194854ca09f13004b82349d4b8344a572f5a..4daddf3ab69ff56bbc3b4d7104684db82acb562c 100644 (file)
@@ -53,8 +53,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_gettext.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
-# ADD LINK32 php5ts.lib libintl.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_gettext.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_gettext.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
+# ADD LINK32 php7ts.lib libintl.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_gettext.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
 \r
 !ELSEIF  "$(CFG)" == "gettext - Win32 Debug_TS"\r
 \r
@@ -80,8 +80,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib /nologo /dll /machine:I386 /out:"../../Debug_TS/php_gettext.dll" /libpath:"..\..\Debug_TS"\r
-# ADD LINK32 php5ts_debug.lib libintl.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /incremental:yes /debug /machine:I386 /out:"../../Debug_TS/php_gettext.dll" /libpath:"..\..\Debug_TS"\r
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib /nologo /dll /machine:I386 /out:"../../Debug_TS/php_gettext.dll" /libpath:"..\..\Debug_TS"\r
+# ADD LINK32 php7ts_debug.lib libintl.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /incremental:yes /debug /machine:I386 /out:"../../Debug_TS/php_gettext.dll" /libpath:"..\..\Debug_TS"\r
 \r
 !ENDIF \r
 \r
index 5126f7314298e8113ff79c032c46bf5a14e1ecf2..2f9292f60681cfc98679f5195d83b4e6a5ee1e56 100644 (file)
@@ -13,7 +13,7 @@ echo "gmp extension is available";
   to pass, differences between the output and the
   expected text are interpreted as failure
 
-       see php5/tests/README for further information on
+       see php7/tests/README for further information on
   writing regression tests
 */
 ?>
index 2d66cf00abea063b9b703f9f8fefbfe3ae3fae36..f9890f0dcd06957ca5057fdff296808b70bdce0f 100644 (file)
@@ -53,7 +53,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 php5ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_iconv.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
+# ADD LINK32 php7ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_iconv.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
 \r
 !ELSEIF  "$(CFG)" == "iconv - Win32 Debug_TS"\r
 \r
@@ -79,7 +79,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 php5ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_iconv.dll" /pdbtype:sept /libpath:"..\..\Debug_TS"\r
+# ADD LINK32 php7ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_iconv.dll" /pdbtype:sept /libpath:"..\..\Debug_TS"\r
 \r
 !ENDIF \r
 \r
index ef05d49f205ffb57f569904386d019f779105b49..c757bf61e933b401fd739172d41bc3188cfeaf6e 100644 (file)
@@ -55,7 +55,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5nts.lib wsock32.lib winmm.lib cclient.lib /nologo /dll /machine:I386 /out:"Release/php_imap.dll" /libpath:"..\..\Release" /libpath:"..\..\..\php_build\IMAP\C-Client"\r
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7nts.lib wsock32.lib winmm.lib cclient.lib /nologo /dll /machine:I386 /out:"Release/php_imap.dll" /libpath:"..\..\Release" /libpath:"..\..\..\php_build\IMAP\C-Client"\r
 \r
 !ELSEIF  "$(CFG)" == "imap - Win32 Debug"\r
 \r
@@ -81,7 +81,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5nts_debug.lib wsock32.lib winmm.lib cclient.lib /nologo /dll /debug /machine:I386 /out:"Debug/php_imap.dll" /pdbtype:sept /libpath:"..\..\Debug" /libpath:"..\..\..\php_build\IMAP\C-Client"\r
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7nts_debug.lib wsock32.lib winmm.lib cclient.lib /nologo /dll /debug /machine:I386 /out:"Debug/php_imap.dll" /pdbtype:sept /libpath:"..\..\Debug" /libpath:"..\..\..\php_build\IMAP\C-Client"\r
 \r
 !ELSEIF  "$(CFG)" == "imap - Win32 Debug_TS"\r
 \r
@@ -107,7 +107,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts_debug.lib wsock32.lib winmm.lib cclient.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_imap.dll" /pdbtype:sept /libpath:"..\..\..\\" /libpath:"..\..\Debug_TS"\r
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts_debug.lib wsock32.lib winmm.lib cclient.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_imap.dll" /pdbtype:sept /libpath:"..\..\..\\" /libpath:"..\..\Debug_TS"\r
 \r
 !ELSEIF  "$(CFG)" == "imap - Win32 Release_TS"\r
 \r
@@ -133,7 +133,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib wsock32.lib winmm.lib cclient.lib Secur32.lib CertIdl.Lib /nologo /dll /machine:I386 /nodefaultlib:"LIBCMT" /out:"..\..\Release_TS/php_imap.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline" /libpath:"..\..\..\php_build\imap"\r
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib wsock32.lib winmm.lib cclient.lib Secur32.lib CertIdl.Lib /nologo /dll /machine:I386 /nodefaultlib:"LIBCMT" /out:"..\..\Release_TS/php_imap.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline" /libpath:"..\..\..\php_build\imap"\r
 # SUBTRACT LINK32 /nodefaultlib\r
 \r
 !ENDIF \r
index c151deb40cb67917abf9d8efd4c11b367f56c3ab..9197dab37146b07baca74f3f19c16c24cae6214d 100644 (file)
@@ -53,8 +53,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ib_util_ms.lib gds32_ms.lib php5ts_debug.lib /nologo /dll /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts_debug.lib gds32_ms.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_interbase.dll" /pdbtype:sept /libpath:"..\..\..\php_build\Interbase SDK\lib_ms" /libpath:"..\..\Debug_TS"\r
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ib_util_ms.lib gds32_ms.lib php7ts_debug.lib /nologo /dll /debug /machine:I386 /pdbtype:sept\r
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts_debug.lib gds32_ms.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_interbase.dll" /pdbtype:sept /libpath:"..\..\..\php_build\Interbase SDK\lib_ms" /libpath:"..\..\Debug_TS"\r
 \r
 !ELSEIF  "$(CFG)" == "interbase - Win32 Release_TS"\r
 \r
@@ -80,8 +80,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 php5ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ib_util_ms.lib gds32_ms.lib /nologo /dll /machine:I386\r
-# ADD LINK32 php5ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib gds32_ms.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_interbase.dll" /libpath:"..\..\..\php_build\Interbase SDK\lib_ms" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
+# ADD BASE LINK32 php7ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ib_util_ms.lib gds32_ms.lib /nologo /dll /machine:I386\r
+# ADD LINK32 php7ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib gds32_ms.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_interbase.dll" /libpath:"..\..\..\php_build\Interbase SDK\lib_ms" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
 \r
 !ENDIF \r
 \r
index 5a53df8b6b965675b49d83a8343de11182e2c3fa..87d25ac5310cf67f8f7b1757937f4c92ab417bae 100644 (file)
@@ -84,7 +84,7 @@
 *
 *     gcc -shared `php-config --includes` `php-config --ldflags` \
 *         `php-config --libs` -o php_ibase_udf.so php_ibase_udf.c \
-*         /usr/lib/libphp5.a
+*         /usr/lib/libphp7.a
 *
 * If you use the super server, you should also link against the embedded
 * library, but be sure to enable thread safety, as the super server is
@@ -404,4 +404,3 @@ void udf_call_php8(char *name, PARAMDSC *r, PARAMDSC *arg1, PARAMDSC *arg2, PARA
        PARAMDSC *args[8] = { arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 };
        call_php(name, r, 8, args);
 }
-
index 1ec72e3a73df47fd3f0dbd3244b0b764f6ed774c..59ad31b1dc4e15daec59df4a247858ebe93dc3d3 100644 (file)
@@ -203,7 +203,7 @@ static int collator_icu_compare_function(zval *result, zval *op1, zval *op2 TSRM
 /* }}} */
 
 /* {{{ collator_compare_func
- * Taken from PHP5 source (array_data_compare).
+ * Taken from PHP7 source (array_data_compare).
  */
 static int collator_compare_func( const void* a, const void* b TSRMLS_DC )
 {
index bcee731e888a7f39666765987de5ac5b9381b871..30b6096f588e73e177bad906391e1c419adfa288 100644 (file)
@@ -14,7 +14,7 @@ Note 1:  During the entire build process, you can ignore warnings about
     For 'Win32 Debug', change the runtime library to 'Debug Multithreaded DLL'
     For 'Win32 Release', change the runtime library to 'Multithreaded DLL'
   Select the Preprocessor tab, select 'All Configurations'.
-    Add '..\..\..\..\php5\regex' to the 'Additional include directories' list.
+    Add '..\..\..\..\php7\regex' to the 'Additional include directories' list.
     Add 'HAVE_MKTEMP' to the 'Preprocessor definitions' list.
 - Compile (you can compile both Debug and Release versions).
 
index a97ebe41054b6b8bc46c1ce4f17d659486817245..4d37cf31730094a86877fc848d06532ab88a1c9f 100644 (file)
@@ -59,7 +59,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 oldap32.lib olber32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib php5nts.lib /nologo /dll /machine:I386 /out:"Release/php_ldap.dll" /libpath:"..\..\Release" /libpath:"..\..\..\php_build\openldap\libraries\Release"\r
+# ADD LINK32 oldap32.lib olber32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib php7nts.lib /nologo /dll /machine:I386 /out:"Release/php_ldap.dll" /libpath:"..\..\Release" /libpath:"..\..\..\php_build\openldap\libraries\Release"\r
 \r
 !ELSEIF  "$(CFG)" == "ldap - Win32 Debug"\r
 \r
@@ -85,7 +85,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 oldap32.lib olber32.lib php5nts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib /nologo /dll /debug /machine:I386 /out:"Debug/php_ldap.dll" /pdbtype:sept /libpath:"..\..\Debug" /libpath:"..\..\..\php_build\openldap\libraries\Debug"\r
+# ADD LINK32 oldap32.lib olber32.lib php7nts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib /nologo /dll /debug /machine:I386 /out:"Debug/php_ldap.dll" /pdbtype:sept /libpath:"..\..\Debug" /libpath:"..\..\..\php_build\openldap\libraries\Debug"\r
 \r
 !ELSEIF  "$(CFG)" == "ldap - Win32 Debug_TS"\r
 \r
@@ -111,8 +111,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 oldap32.lib olber32.lib php5nts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\openldap\libraries\Debug" /libpath:"..\..\Debug"\r
-# ADD LINK32 oldap32.lib olber32.lib php5ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_ldap.dll" /pdbtype:sept /libpath:"..\..\Debug_TS" /libpath:"..\..\..\php_build\openldap\libraries\Debug"\r
+# ADD BASE LINK32 oldap32.lib olber32.lib php7nts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\openldap\libraries\Debug" /libpath:"..\..\Debug"\r
+# ADD LINK32 oldap32.lib olber32.lib php7ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_ldap.dll" /pdbtype:sept /libpath:"..\..\Debug_TS" /libpath:"..\..\..\php_build\openldap\libraries\Debug"\r
 \r
 !ELSEIF  "$(CFG)" == "ldap - Win32 Release_TS"\r
 \r
@@ -137,8 +137,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 oldap32.lib olber32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib php5ts.lib /nologo /dll /machine:I386\r
-# ADD LINK32 oldap32.lib olber32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib php5ts.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_ldap.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\..\php_build\openldap\libraries\Release" /libpath:"..\..\Release_TS_Inline"\r
+# ADD BASE LINK32 oldap32.lib olber32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib php7ts.lib /nologo /dll /machine:I386\r
+# ADD LINK32 oldap32.lib olber32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib php7ts.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_ldap.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\..\php_build\openldap\libraries\Release" /libpath:"..\..\Release_TS_Inline"\r
 \r
 !ELSEIF  "$(CFG)" == "ldap - Win32 Release_TS SASL"\r
 \r
@@ -164,8 +164,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 oldap32.lib olber32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib php5ts.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_ldap.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\..\php_build\openldap\libraries\Release" /libpath:"..\..\Release_TS_Inline"\r
-# ADD LINK32 oldap32.lib olber32.lib libsasl.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib php5ts.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_ldap.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\..\php_build\openldap\libraries\Release" /libpath:"..\..\Release_TS_Inline"\r
+# ADD BASE LINK32 oldap32.lib olber32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib php7ts.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_ldap.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\..\php_build\openldap\libraries\Release" /libpath:"..\..\Release_TS_Inline"\r
+# ADD LINK32 oldap32.lib olber32.lib libsasl.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib php7ts.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_ldap.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\..\php_build\openldap\libraries\Release" /libpath:"..\..\Release_TS_Inline"\r
 \r
 !ELSEIF  "$(CFG)" == "ldap - Win32 Debug_TS SASL"\r
 \r
@@ -191,8 +191,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 oldap32.lib olber32.lib php5ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib /nologo /dll /debug /machine:I386 /out:"Debug_TS/php_ldap.dll" /pdbtype:sept /libpath:"..\..\Debug_TS" /libpath:"..\..\..\php_build\openldap\libraries\Debug"\r
-# ADD LINK32 oldap32.lib olber32.lib libsasl.lib php5ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_ldap.dll" /pdbtype:sept /libpath:"..\..\Debug_TS" /libpath:"..\..\..\php_build\openldap\libraries\Debug"\r
+# ADD BASE LINK32 oldap32.lib olber32.lib php7ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib /nologo /dll /debug /machine:I386 /out:"Debug_TS/php_ldap.dll" /pdbtype:sept /libpath:"..\..\Debug_TS" /libpath:"..\..\..\php_build\openldap\libraries\Debug"\r
+# ADD LINK32 oldap32.lib olber32.lib libsasl.lib php7ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_ldap.dll" /pdbtype:sept /libpath:"..\..\Debug_TS" /libpath:"..\..\..\php_build\openldap\libraries\Debug"\r
 \r
 !ELSEIF  "$(CFG)" == "ldap - Win32 Release_TS_SSL"\r
 \r
@@ -218,8 +218,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 oldap32.lib olber32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib php5ts.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_ldap.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\..\php_build\openldap\libraries\Release" /libpath:"..\..\Release_TS_Inline"\r
-# ADD LINK32 php5ts.lib oldap32.lib olber32.lib ssleay32.lib libeay32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_ldap.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\..\php_build\openldap\libraries\Release" /libpath:"..\..\Release_TS_Inline"\r
+# ADD BASE LINK32 oldap32.lib olber32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib php7ts.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_ldap.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\..\php_build\openldap\libraries\Release" /libpath:"..\..\Release_TS_Inline"\r
+# ADD LINK32 php7ts.lib oldap32.lib olber32.lib ssleay32.lib libeay32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_ldap.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\..\php_build\openldap\libraries\Release" /libpath:"..\..\Release_TS_Inline"\r
 \r
 !ELSEIF  "$(CFG)" == "ldap - Win32 Debug_TS_SSL"\r
 \r
@@ -245,8 +245,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 oldap32.lib olber32.lib php5ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_ldap.dll" /pdbtype:sept /libpath:"..\..\Debug_TS" /libpath:"..\..\..\php_build\openldap\libraries\Debug"\r
-# ADD LINK32 php5ts_debug.lib oldap32.lib olber32.lib ssleay32.lib libeay32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_ldap.dll" /pdbtype:sept /libpath:"..\..\Debug_TS" /libpath:"..\..\..\php_build\openldap\libraries\Debug"\r
+# ADD BASE LINK32 oldap32.lib olber32.lib php7ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_ldap.dll" /pdbtype:sept /libpath:"..\..\Debug_TS" /libpath:"..\..\..\php_build\openldap\libraries\Debug"\r
+# ADD LINK32 php7ts_debug.lib oldap32.lib olber32.lib ssleay32.lib libeay32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_ldap.dll" /pdbtype:sept /libpath:"..\..\Debug_TS" /libpath:"..\..\..\php_build\openldap\libraries\Debug"\r
 \r
 !ENDIF \r
 \r
index 959fe16cf118c6e4ee909d28d37afd9d9d6803b5..f285db0eff3b5df081b4d57ed0c14782b9736ee2 100644 (file)
@@ -4,7 +4,7 @@ PROJECT_ROOT = ..\..
 
 # Module details
 MODULE_NAME = php_ldap
-MODULE_DESC = "PHP 5 - LDAP Extension"
+MODULE_DESC = "PHP 7 - LDAP Extension"
 VMAJ = 3
 VMIN = 0
 VREV = 0
index fc16367ed1012917ea7884654db4cc0e3d2a36f7..8217e4158fcfdd92780293a26fdb3e02c8e3ba11 100644 (file)
@@ -27,4 +27,3 @@ version 1.1.0 March 02, 2010
 - added cp5022x encoding (moriyoshi)
 - added ISO-2022-JP-MS (moriyoshi)
 - moved to github.com from sourceforge.jp (moriyoshi)
-
index 2e050c6d2018b4d06a2af9519d738d6c1ddaa319..c806ff0b78a31b965f6d7862b4c30fcbc49bcc1f 100644 (file)
@@ -53,8 +53,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 php5ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_mbstring.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
-# ADD LINK32 php5ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_mbstring.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
+# ADD BASE LINK32 php7ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_mbstring.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
+# ADD LINK32 php7ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_mbstring.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
 \r
 !ELSEIF  "$(CFG)" == "mbstring - Win32 Debug_TS MBSTRING"\r
 \r
@@ -80,8 +80,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 php5ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_mbstring.dll" /pdbtype:sept /libpath:"..\..\Debug_TS"\r
-# ADD LINK32 php5ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_mbstring.dll" /pdbtype:sept /libpath:"..\..\Debug_TS"\r
+# ADD BASE LINK32 php7ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_mbstring.dll" /pdbtype:sept /libpath:"..\..\Debug_TS"\r
+# ADD LINK32 php7ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_mbstring.dll" /pdbtype:sept /libpath:"..\..\Debug_TS"\r
 \r
 !ENDIF \r
 \r
index a0a1f00f4c11e837126866ee73cbd70f570c1c43..b335bf7d9ecfe460ff5ebc4a7ebb0e38a01fa8c2 100644 (file)
@@ -53,8 +53,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib ntwdblib.lib /nologo /dll /machine:I386 /out:"MSSQL_65_Release/php_mssql.dll" /libpath:"..\..\Release_TS"\r
-# ADD LINK32 php5ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib libmcrypt.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_mcrypt.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\..\php_build\mcrypt" /libpath:"..\..\Release_TS_Inline" /libpath:"..\..\TSRM\Release_TS" /libpath:"..\..\TSRM\Release_TS_Inline"\r
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib ntwdblib.lib /nologo /dll /machine:I386 /out:"MSSQL_65_Release/php_mssql.dll" /libpath:"..\..\Release_TS"\r
+# ADD LINK32 php7ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib libmcrypt.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_mcrypt.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\..\php_build\mcrypt" /libpath:"..\..\Release_TS_Inline" /libpath:"..\..\TSRM\Release_TS" /libpath:"..\..\TSRM\Release_TS_Inline"\r
 \r
 !ELSEIF  "$(CFG)" == "mcrypt - Win32 Debug_TS"\r
 \r
@@ -80,8 +80,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib ntwdblib.lib /nologo /dll /machine:I386 /out:"MSSQL_65_Release/php_mssql.dll" /libpath:"..\..\Release_TS" /libpath:"mssql-70"\r
-# ADD LINK32 php5ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib libmcrypt.lib /nologo /dll /machine:I386 /out:"..\..\Debug_TS/php_mcrypt.dll" /libpath:"..\..\Debug_TS" /libpath:"..\..\..\php_build\mcrypt\lib"\r
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib ntwdblib.lib /nologo /dll /machine:I386 /out:"MSSQL_65_Release/php_mssql.dll" /libpath:"..\..\Release_TS" /libpath:"mssql-70"\r
+# ADD LINK32 php7ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib libmcrypt.lib /nologo /dll /machine:I386 /out:"..\..\Debug_TS/php_mcrypt.dll" /libpath:"..\..\Debug_TS" /libpath:"..\..\..\php_build\mcrypt\lib"\r
 \r
 !ENDIF \r
 \r
index 43294280dddef73e3ea3a7c1ab69267056a8cdfe..58b9ec507e9fa6d82499cfc86941a9cc74c105e2 100644 (file)
@@ -53,8 +53,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib ntwdblib.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_mssql70.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\..\php_build\mssql-70\lib" /libpath:"..\..\Release_TS_Inline"\r
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib ntwdblib.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_mssql.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\..\php_build\mssql-70\lib" /libpath:"..\..\Release_TS_Inline"\r
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib ntwdblib.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_mssql70.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\..\php_build\mssql-70\lib" /libpath:"..\..\Release_TS_Inline"\r
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib ntwdblib.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_mssql.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\..\php_build\mssql-70\lib" /libpath:"..\..\Release_TS_Inline"\r
 \r
 !ELSEIF  "$(CFG)" == "mssql - Win32 Debug_TS"\r
 \r
@@ -80,8 +80,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts_debug.lib ntwdblib.lib /nologo /dll /machine:I386 /out:"..\..\Debug_TS/php_mssql70.dll" /libpath:"..\..\Debug_TS" /libpath:"..\..\..\php_build\mssql-70\lib"\r
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts_debug.lib ntwdblib.lib /nologo /dll /incremental:yes /debug /machine:I386 /out:"..\..\Debug_TS/php_mssql.dll" /pdbtype:sept /libpath:"..\..\Debug_TS" /libpath:"..\..\..\php_build\mssql-70\lib"\r
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts_debug.lib ntwdblib.lib /nologo /dll /machine:I386 /out:"..\..\Debug_TS/php_mssql70.dll" /libpath:"..\..\Debug_TS" /libpath:"..\..\..\php_build\mssql-70\lib"\r
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts_debug.lib ntwdblib.lib /nologo /dll /incremental:yes /debug /machine:I386 /out:"..\..\Debug_TS/php_mssql.dll" /pdbtype:sept /libpath:"..\..\Debug_TS" /libpath:"..\..\..\php_build\mssql-70\lib"\r
 \r
 !ENDIF \r
 \r
index d42bc2555b90ed5aa8656073d801ee8ba8781a19..735226f88a2b1920528e876964c2fd68c80dfefc 100644 (file)
@@ -12,7 +12,7 @@ Win32 Debug_TS
        php_build\mssql-70\include\sqlfront.h
        php_build\mssql-70\lib\ntwdblib.lib
 
-php_build is a directory at the same level as php5.
+php_build is a directory at the same level as php7.
 
 Start Visual Studio, load php_modules.dsw, select the MSSQL projects,
 configuration and build it.
index 4bb7454c431a2b95bcd9a533f7f31b880b98e4a7..8746895cddc4a778e4d483c8c380415cab5512a2 100644 (file)
@@ -489,7 +489,7 @@ PHP_RINIT_FUNCTION(mssql)
 {
        MS_SQL_G(default_link) = -1;
        MS_SQL_G(num_links) = MS_SQL_G(num_persistent);
-       MS_SQL_G(appname) = estrndup("PHP 5", 5);
+       MS_SQL_G(appname) = estrndup("PHP 7", 5);
        MS_SQL_G(server_message) = NULL;
        MS_SQL_G(min_error_severity) = MS_SQL_G(cfg_min_error_severity);
        MS_SQL_G(min_message_severity) = MS_SQL_G(cfg_min_message_severity);
index dfc9c63db5d4dfc00deb515e9d543e36e6b18bf8..31b015fdaac8490912539433c4bb17ba88baeff9 100644 (file)
@@ -55,7 +55,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib libmySQL.lib php5nts.lib /nologo /dll /machine:I386 /out:"Release/php_mysql.dll" /libpath:"..\..\..\MySQL\lib\opt" /libpath:"..\..\Release"\r
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib libmySQL.lib php7nts.lib /nologo /dll /machine:I386 /out:"Release/php_mysql.dll" /libpath:"..\..\..\MySQL\lib\opt" /libpath:"..\..\Release"\r
 \r
 !ELSEIF  "$(CFG)" == "mysql - Win32 Debug"\r
 \r
@@ -81,7 +81,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib libmySQL.lib php5nts_debug.lib /nologo /dll /debug /machine:I386 /out:"Debug/php_mysql.dll" /pdbtype:sept /libpath:"..\..\..\MySQL\lib\Debug" /libpath:"..\..\Debug"\r
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib libmySQL.lib php7nts_debug.lib /nologo /dll /debug /machine:I386 /out:"Debug/php_mysql.dll" /pdbtype:sept /libpath:"..\..\..\MySQL\lib\Debug" /libpath:"..\..\Debug"\r
 \r
 !ELSEIF  "$(CFG)" == "mysql - Win32 Debug_TS"\r
 \r
@@ -107,7 +107,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 php5ts_debug.lib libmySQL.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_mysql.dll" /pdbtype:sept /libpath:"..\..\..\MySQL\lib\Debug" /libpath:"..\..\Debug_TS"\r
+# ADD LINK32 php7ts_debug.lib libmySQL.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_mysql.dll" /pdbtype:sept /libpath:"..\..\..\MySQL\lib\Debug" /libpath:"..\..\Debug_TS"\r
 \r
 !ELSEIF  "$(CFG)" == "mysql - Win32 Release_TS"\r
 \r
@@ -133,7 +133,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib libmySQL.lib php5ts.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_mysql.dll" /libpath:"..\..\..\MySQL\lib\opt" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib libmySQL.lib php7ts.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_mysql.dll" /libpath:"..\..\..\MySQL\lib\opt" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
 \r
 !ENDIF \r
 \r
index a334202187f4230f6324406b23aff44a8699fccd..96624e60fc87835bed96eee01ea010a180827c7a 100755 (executable)
@@ -54,7 +54,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 php5ts.lib zlib.lib libmySQL.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_mysqli.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline" /libpath:"..\..\..\php_build\release"\r
+# ADD LINK32 php7ts.lib zlib.lib libmySQL.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_mysqli.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline" /libpath:"..\..\..\php_build\release"\r
 \r
 !ELSEIF  "$(CFG)" == "mysqli - Win32 Debug_TS"\r
 \r
@@ -80,7 +80,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 php5ts_debug.lib zlib.lib libmySQL.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_mysqli.dll" /pdbtype:sept /libpath:"..\..\Debug_TS" /libpath:"..\..\..\php_build\release"\r
+# ADD LINK32 php7ts_debug.lib zlib.lib libmySQL.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_mysqli.dll" /pdbtype:sept /libpath:"..\..\Debug_TS" /libpath:"..\..\..\php_build\release"\r
 \r
 !ENDIF \r
 \r
index a72c97b596022b4bcb743e17d3e5ecb45d76f3fb..f32a826295c3b2cc1216e8af08733d96078289aa 100644 (file)
@@ -28,7 +28,7 @@
 #include "php_mysqli_structs.h"
 #include "mysqli_priv.h"
 
-/* Define these in the PHP5 tree to make merging easy process */
+/* Define these in the PHP7 tree to make merging easy process */
 #define Zzend_string_dupLICATE (1<<0)
 #define ZSTR_AUTOFREE  (1<<1)
 
index f0b27fa824fe581f74a94b992e6590d212ce366d..c889d0cd60440bcfa2dec36204ed1e8663148964 100644 (file)
@@ -53,7 +53,7 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib /nologo /dll /machine:I386\r
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib /nologo /dll /machine:I386\r
 # ADD LINK32 php4ts.lib oci.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_oci8.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\..\php_build\lib\instantclient" /libpath:"..\..\Release_TS_Inline"\r
 \r
 !ELSEIF  "$(CFG)" == "oci8 - Win32 Debug_TS"\r
@@ -80,7 +80,7 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib /nologo /dll /machine:I386\r
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib /nologo /dll /machine:I386\r
 # ADD LINK32 php4ts_debug.lib oci.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Debug_TS/php_oci8.dll" /libpath:"..\..\Debug_TS" /libpath:"..\..\..\php_build\lib\instantclient"\r
 \r
 !ENDIF \r
index 857666a6a32d75c2133a448438c7644b23582fb2..d8cd7ead40cbd726da555923cbe395f1faf9a623 100644 (file)
@@ -53,7 +53,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 php5ts.lib ssleay32.lib libeay32.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_openssl.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
+# ADD LINK32 php7ts.lib ssleay32.lib libeay32.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_openssl.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
 \r
 !ELSEIF  "$(CFG)" == "openssl - Win32 Debug_TS"\r
 \r
@@ -79,7 +79,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 php5ts_debug.lib ssleay32.lib libeay32.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_openssl.dll" /pdbtype:sept /libpath:"..\..\Debug_TS"\r
+# ADD LINK32 php7ts_debug.lib ssleay32.lib libeay32.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_openssl.dll" /pdbtype:sept /libpath:"..\..\Debug_TS"\r
 \r
 !ENDIF \r
 \r
index a0c6fa483e94f1a9bd9785f3542aae3c6eca9108..9bc053b662efe1aef073bfb62854f15e02122d82 100644 (file)
@@ -4,7 +4,7 @@ PROJECT_ROOT = ..\..
 
 # Module details
 MODULE_NAME = php_ossl
-MODULE_DESC = "PHP 5 - OpenSSL Extension"
+MODULE_DESC = "PHP 7 - OpenSSL Extension"
 VMAJ = 1
 VMIN = 0
 VREV = 0
index 098469f36d4a59940c324719e1e5794240988442..eab3d6c0de05b2e1b9d49af65d30a8fafc3e6f7f 100644 (file)
@@ -56,7 +56,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws2_32.lib libpqdll.lib php5ts.lib /nologo /dll /machine:I386 /nodefaultlib:"msvcrt.lib" /out:"../../Release/pgsql.dll" /libpath:"..\..\..\PostgreSQL\lib" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws2_32.lib libpqdll.lib php7ts.lib /nologo /dll /machine:I386 /nodefaultlib:"msvcrt.lib" /out:"../../Release/pgsql.dll" /libpath:"..\..\..\PostgreSQL\lib" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
 \r
 !ELSEIF  "$(CFG)" == "pgsql - Win32 Debug"\r
 \r
@@ -110,8 +110,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws2_32.lib libpqdll.lib php5ts.lib /nologo /dll /machine:I386 /libpath:"..\..\..\PostgreSQL\lib" /libpath:"..\..\Release_TS"\r
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws2_32.lib libpq.lib php5ts.lib /nologo /dll /machine:I386 /out:"../../Release_TS/php_pgsql.dll" /libpath:"..\..\..\php_build\postgresql\src\interfaces\libpq\Release" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws2_32.lib libpqdll.lib php7ts.lib /nologo /dll /machine:I386 /libpath:"..\..\..\PostgreSQL\lib" /libpath:"..\..\Release_TS"\r
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws2_32.lib libpq.lib php7ts.lib /nologo /dll /machine:I386 /out:"../../Release_TS/php_pgsql.dll" /libpath:"..\..\..\php_build\postgresql\src\interfaces\libpq\Release" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
 \r
 !ELSEIF  "$(CFG)" == "pgsql - Win32 Debug_TS"\r
 \r
index fb04e34683e59847cdf853e9c8c5fed1b08da872..8a3d239fa3e00676d6954042c47e2cc4ec66b9eb 100644 (file)
@@ -38,7 +38,7 @@ chmod ($filename, 0700);
 unlink($filename);
 ?>
 --EXPECTF--
-WDeprecated: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line %d
+WDeprecated: Directive 'safe_mode' is deprecated in PHP 7.3 and greater in Unknown on line %d
 bool(false)
 bool(false)
 bool(false)
index f310099d89a3e39c4718536fb00a04f2a7d7dd74..87b76834930f45652ef8a65a9d563e31c06c0896 100644 (file)
@@ -53,8 +53,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 php5ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_pspell.dll" /pdbtype:sept /libpath:"..\..\Debug_TS"\r
-# ADD LINK32 php5ts_debug.lib aspell-15.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_pspell.dll" /pdbtype:sept /libpath:"..\..\Debug_TS" /libpath:"..\..\..\aspell\lib"\r
+# ADD BASE LINK32 php7ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_pspell.dll" /pdbtype:sept /libpath:"..\..\Debug_TS"\r
+# ADD LINK32 php7ts_debug.lib aspell-15.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_pspell.dll" /pdbtype:sept /libpath:"..\..\Debug_TS" /libpath:"..\..\..\aspell\lib"\r
 \r
 !ELSEIF  "$(CFG)" == "pspell - Win32 Release_TS"\r
 \r
@@ -80,7 +80,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 php5ts.lib aspell-15.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_pspell.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\..\aspell\lib"\r
+# ADD LINK32 php7ts.lib aspell-15.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_pspell.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\..\aspell\lib"\r
 \r
 !ENDIF \r
 \r
index 848f0bdc91dde0eacf697ca20268952ea28c055b..02afb0a847748c5996c3f7ab43a94c4dee76b8e5 100644 (file)
@@ -53,7 +53,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 php5ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_shmop.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
+# ADD LINK32 php7ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_shmop.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
 \r
 !ELSEIF  "$(CFG)" == "shmop - Win32 Debug_TS"\r
 \r
@@ -79,7 +79,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 php5ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_shmop.dll" /pdbtype:sept /libpath:"..\..\Debug_TS"\r
+# ADD LINK32 php7ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_shmop.dll" /pdbtype:sept /libpath:"..\..\Debug_TS"\r
 \r
 !ENDIF \r
 \r
index 79df9187036a820c8822892b04bd0410834d910c..5663dc13b048ea4dcc43429dd576e9ab29a39627 100644 (file)
@@ -43,7 +43,7 @@ RSC=rc.exe
 # PROP Ignore_Export_Lib 0\r
 # PROP Target_Dir ""\r
 # ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "SIMPLEXML_EXPORTS" /YX /FD /GZ /c\r
-# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\php5" /I "..\..\..\php5\main" /I "..\..\..\php5\Zend" /I "..\..\..\php5\TSRM" /D ZEND_DEBUG=1 /D ZTS=1 /D "ZEND_WIN32" /D "PHP_WIN32" /D COMPILE_DL_SIMPLEXML=1 /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "SIMPLEXML_EXPORTS" /D "LIBXML_THREAD_ENABLED" /YX /FD /GZ /c\r
+# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\php7" /I "..\..\..\php7\main" /I "..\..\..\php7\Zend" /I "..\..\..\php7\TSRM" /D ZEND_DEBUG=1 /D ZTS=1 /D "ZEND_WIN32" /D "PHP_WIN32" /D COMPILE_DL_SIMPLEXML=1 /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "SIMPLEXML_EXPORTS" /D "LIBXML_THREAD_ENABLED" /YX /FD /GZ /c\r
 # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32\r
 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32\r
 # ADD BASE RSC /l 0x409 /d "_DEBUG"\r
@@ -53,7 +53,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 php5ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\php5\Debug_TS"\r
+# ADD LINK32 php7ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\php7\Debug_TS"\r
 \r
 !ELSEIF  "$(CFG)" == "simplexml - Win32 Release_TS"\r
 \r
@@ -69,7 +69,7 @@ LINK32=link.exe
 # PROP Ignore_Export_Lib 0\r
 # PROP Target_Dir ""\r
 # ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "SIMPLEXML_EXPORTS" /YX /FD /c\r
-# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\..\..\php5\main" /I "..\..\..\php5\Zend" /I "..\..\..\php5\TSRM" /I "..\..\..\php5\win32" /I "..\..\..\php5" /D ZTS=1 /D ZEND_DEBUG=0 /D "ZEND_WIN32" /D "PHP_WIN32" /D COMPILE_DL_SIMPLEXML=1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "SIMPLEXML_EXPORTS" /D "LIBXML_THREAD_ENABLED" /YX /FD /c\r
+# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\..\..\php7\main" /I "..\..\..\php7\Zend" /I "..\..\..\php7\TSRM" /I "..\..\..\php7\win32" /I "..\..\..\php7" /D ZTS=1 /D ZEND_DEBUG=0 /D "ZEND_WIN32" /D "PHP_WIN32" /D COMPILE_DL_SIMPLEXML=1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "SIMPLEXML_EXPORTS" /D "LIBXML_THREAD_ENABLED" /YX /FD /c\r
 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD BASE RSC /l 0x409 /d "NDEBUG"\r
@@ -79,7 +79,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 php5ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /libpath:"..\..\..\php5\Release_TS" /libpath:"..\..\..\php5\Release_TS_Inline"\r
+# ADD LINK32 php7ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /libpath:"..\..\..\php7\Release_TS" /libpath:"..\..\..\php7\Release_TS_Inline"\r
 \r
 !ENDIF \r
 \r
index 0a462e577019c1bc5f0a28e339bca2eee3157865..3883018f527b0a4561d5ca9849f56982d7ab31c8 100644 (file)
@@ -13,7 +13,7 @@ foreach ($s->item as $item) {
 EU Parliament to Vote on New Patent Rules
 Most Powerful Amateur Rocket in Canada
 GF FX 5900 Ultra vs. ATi Radeon 9800 Pro
-PHP 5 Beta 1
+PHP 7 Beta 1
 Engaging with the OSS Community
 Pure Math, Pure Joy
 Windows Tech Writer Looks at Linux
index c3c67c7e34c0044336c00ed41a0fd4001cdad52e..fdbf245671ef7b355b2a29ff328ebf35b37ce680 100644 (file)
@@ -53,8 +53,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib /nologo /dll /machine:I386\r
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_extname.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib /nologo /dll /machine:I386\r
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_extname.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
 \r
 !ELSEIF  "$(CFG)" == "extname - Win32 Debug_TS"\r
 \r
@@ -80,8 +80,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib /nologo /dll /machine:I386\r
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts_debug.lib /nologo /dll /machine:I386 /out:"..\..\Debug_TS/php_extname.dll" /libpath:"..\..\Debug_TS"\r
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib /nologo /dll /machine:I386\r
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts_debug.lib /nologo /dll /machine:I386 /out:"..\..\Debug_TS/php_extname.dll" /libpath:"..\..\Debug_TS"\r
 \r
 !ENDIF \r
 \r
index a375577e1b6f167a8180e238790ae85af15095fc..88f579565082d89869923c9da07b072d1045f345 100644 (file)
@@ -13,7 +13,7 @@ echo "extname extension is available";
   to pass, differences between the output and the
   expected text are interpreted as failure
 
-       see php5/README.TESTING for further information on
+       see php7/README.TESTING for further information on
   writing regression tests
 */
 ?>
index 3cc62338bdee1a646f71ed2eb67f272e81f081f1..fa1468beda992c1cb09e3376cdbf6a39b6f97ec0 100644 (file)
@@ -53,8 +53,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib /nologo /dll /machine:I386\r
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib libsnmp.lib wsock32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_snmp.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib /nologo /dll /machine:I386\r
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib libsnmp.lib wsock32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_snmp.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
 \r
 !ELSEIF  "$(CFG)" == "snmp - Win32 Debug_TS"\r
 \r
@@ -80,8 +80,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib /nologo /dll /machine:I386\r
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts_debug.lib libsnmp.lib wsock32.lib /nologo /dll /machine:I386 /out:"..\..\Debug_TS/php_snmp.dll" /libpath:"..\..\Debug_TS"\r
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib /nologo /dll /machine:I386\r
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts_debug.lib libsnmp.lib wsock32.lib /nologo /dll /machine:I386 /out:"..\..\Debug_TS/php_snmp.dll" /libpath:"..\..\Debug_TS"\r
 \r
 !ENDIF \r
 \r
index 4157c6332044a7da0d7c4fff8114d53ac86ce5d9..f07cba636e79b82cb334bd371d86f697fbe7df19 100644 (file)
@@ -53,7 +53,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib libxml2.lib wsock32.lib resolv.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS\php_soap.dll" /libpath:"..\..\\" /libpath:"..\..\..\libxml2-2.4.12\lib" /libpath:"..\..\Release_TS"\r
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib libxml2.lib wsock32.lib resolv.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS\php_soap.dll" /libpath:"..\..\\" /libpath:"..\..\..\libxml2-2.4.12\lib" /libpath:"..\..\Release_TS"\r
 \r
 !ELSEIF  "$(CFG)" == "php_soap - Win32 Debug_TS"\r
 \r
@@ -79,7 +79,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts_debug.lib libxml2.lib wsock32.lib resolv.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS\php_soap.dll" /pdbtype:sept /libpath:"..\..\\" /libpath:"..\..\..\libxml2-2.4.12\lib" /libpath:"..\..\Debug_TS"\r
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts_debug.lib libxml2.lib wsock32.lib resolv.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS\php_soap.dll" /pdbtype:sept /libpath:"..\..\\" /libpath:"..\..\..\libxml2-2.4.12\lib" /libpath:"..\..\Debug_TS"\r
 # SUBTRACT LINK32 /pdb:none /incremental:no\r
 \r
 !ENDIF \r
index 961bab784d5dcbebf7270002f3d02aaae21bc17b..954f7a5d7eeef9d31e3810c9175e90b30220a8a8 100644 (file)
@@ -53,7 +53,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 php5ts.lib wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_sockets.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
+# ADD LINK32 php7ts.lib wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_sockets.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
 # SUBTRACT LINK32 /debug\r
 \r
 !ELSEIF  "$(CFG)" == "sockets - Win32 Debug_TS"\r
@@ -81,7 +81,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 php5ts_debug.lib wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_sockets.dll" /pdbtype:sept /libpath:"..\..\Debug_TS"\r
+# ADD LINK32 php7ts_debug.lib wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_sockets.dll" /pdbtype:sept /libpath:"..\..\Debug_TS"\r
 \r
 !ENDIF \r
 \r
index f77bbdf1571b2fe842f73577f3bd27c7414a183c..fa1b1325e058f8e1957d337ab83bec295b633ca7 100644 (file)
@@ -1,9 +1,9 @@
 /* 
                       DO NOT EDIT THIS FILE!
 
- it has been automaticaly created by php5/scripts/credits from  
- the information found in the various php5/ext/.../CREDITS and
- php5/sapi/.../CREDITS files 
+ it has been automaticaly created by php7/scripts/credits from  
+ the information found in the various php7/ext/.../CREDITS and
+ php7/sapi/.../CREDITS files 
  
  if you want to change an entry you have to edit the appropriate 
  CREDITS file instead
index 634a3703297fb2d32a0c54b839a83b9a80972b1d..8f0b8264ceed52ace7a7f294244dd70324fbbd74 100644 (file)
@@ -1,9 +1,9 @@
 /* 
                       DO NOT EDIT THIS FILE!
 
- it has been automaticaly created by php5/scripts/credits from  
- the information found in the various php5/ext/.../CREDITS and
- php5/sapi/.../CREDITS files 
+ it has been automaticaly created by php7/scripts/credits from  
+ the information found in the various php7/ext/.../CREDITS and
+ php7/sapi/.../CREDITS files 
  
  if you want to change an entry you have to edit the appropriate 
  CREDITS file instead
index 4ecb5213acdf3e9914cae23723a0baf5ce016cb7..baaa7a65d9c3d045b4d3a844f3a87a0b36d6bd7b 100644 (file)
@@ -48,4 +48,3 @@ File written in working directory
 File written in working directory
 File written in working directory
 ===DONE===
-
index be2f890bab09ae2737682885c5379459c5b14b2b..ba8f61859cbd73fe3ee4f428b8c1f8a9b616a6e6 100644 (file)
@@ -53,8 +53,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib /nologo /dll /machine:I386\r
-# ADD LINK32 php5ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib libct.lib libcs.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_sybase_ct.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib /nologo /dll /machine:I386\r
+# ADD LINK32 php7ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib libct.lib libcs.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_sybase_ct.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
 # SUBTRACT LINK32 /pdb:none\r
 \r
 !ELSEIF  "$(CFG)" == "sybase_ct - Win32 Debug_TS"\r
@@ -81,8 +81,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts_debug.lib /nologo /dll /machine:I386\r
-# ADD LINK32 php5ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Debug_TS/php_sybase_ct.dll" /libpath:"..\..\Debug_TS"\r
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts_debug.lib /nologo /dll /machine:I386\r
+# ADD LINK32 php7ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Debug_TS/php_sybase_ct.dll" /libpath:"..\..\Debug_TS"\r
 \r
 !ENDIF \r
 \r
index 2644210cbf3aaaf0936bf933dd6e685203b4a79e..b47384b8107a117f3eb8225f4d058b337b9f081a 100644 (file)
@@ -34,7 +34,3 @@
     echo tidy_get_output();
     
 ?>
-    
-        
-     
-     
\ No newline at end of file
diff --git a/ext/tidy/examples/cleanhtml.php.orig b/ext/tidy/examples/cleanhtml.php.orig
new file mode 100644 (file)
index 0000000..2644210
--- /dev/null
@@ -0,0 +1,40 @@
+<?php
+
+    /*
+     * cleanhtml.php
+     *
+     * A simple script to clean and repair HTML,XHTML,PHP,ASP,etc. documents
+     * if no file is provided, it reads from standard input.
+     *
+     * NOTE: Works only with tidy for PHP 4.3.x, for tidy in PHP 5 see cleanhtml5.php
+     *
+     * By: John Coggeshall <john@php.net>
+     *
+     * Usage: php cleanhtml.php [filename]
+     *
+     */
+    
+    if(!isset($_SERVER['argv'][1])) {
+      $data = file_get_contents("php://stdin");
+      tidy_parse_string($data);
+    } else {
+       tidy_parse_file($_SERVER['argv'][1]);
+    }
+    
+    tidy_clean_repair();
+    
+    if(tidy_warning_count() ||
+       tidy_error_count()) {
+        
+        echo "\n\nThe following errors or warnings occurred:\n";
+        echo tidy_get_error_buffer();
+        echo "\n";
+    }
+    
+    echo tidy_get_output();
+    
+?>
+    
+        
+     
+     
\ No newline at end of file
index 2ce683acadda5a38e3ee5e625e67973464933cad..c5a1fcd3384faa3803ad5f2906fb6b2e70ec5b23 100644 (file)
@@ -33,7 +33,3 @@
     echo $tidy;
     
 ?>
-    
-        
-     
-     
diff --git a/ext/tidy/examples/cleanhtml5.php.orig b/ext/tidy/examples/cleanhtml5.php.orig
new file mode 100644 (file)
index 0000000..2ce683a
--- /dev/null
@@ -0,0 +1,39 @@
+<?php
+
+    /*
+     * cleanhtml5.php
+     *
+     * A simple script to clean and repair HTML,XHTML,PHP,ASP,etc. documents
+     * if no file is provided, it reads from standard input.
+     *
+     * NOTE: Works only with tidy for PHP 5, for tidy in PHP 4.3.x see cleanhtml.php
+     *
+     * By: John Coggeshall <john@php.net>
+     *
+     * Usage: php cleanhtml5.php [filename]
+     *
+     */
+    
+    if(!isset($_SERVER['argv'][1])) {
+      $data = file_get_contents("php://stdin");
+      $tidy = tidy_parse_string($data);
+    } else {
+      $tidy = tidy_parse_file($_SERVER['argv'][1]);
+    }
+    
+    $tidy->cleanRepair();
+    
+    if(!empty($tidy->errorBuffer)) {
+        
+        echo "\n\nThe following errors or warnings occurred:\n";
+        echo "{$tidy->errorBuffer}\n";
+        
+    }
+    
+    echo $tidy;
+    
+?>
+    
+        
+     
+     
index fe44fa7a512e4f9c3940dab1b6a4ce7c861be496..57147cb756013592acc616d4689e982ffbc00bf2 100755 (executable)
@@ -54,7 +54,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 php5ts.lib libtidy.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_tidy.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline" /libpath:"..\..\..\php_build\release"\r
+# ADD LINK32 php7ts.lib libtidy.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_tidy.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline" /libpath:"..\..\..\php_build\release"\r
 \r
 !ELSEIF  "$(CFG)" == "tidy - Win32 Debug_TS"\r
 \r
@@ -80,7 +80,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 php5ts_debug.lib libtidy.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_tidy.dll" /pdbtype:sept /libpath:"..\..\Debug_TS" /libpath:"..\..\..\php_build\release"\r
+# ADD LINK32 php7ts_debug.lib libtidy.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_tidy.dll" /pdbtype:sept /libpath:"..\..\Debug_TS" /libpath:"..\..\..\php_build\release"\r
 \r
 !ENDIF \r
 \r
index 9844574a8a820e4fa3a0daa018e0cd947c0c28cc..25fd5f3dd1fb80291cc010d3548c6eaff4dc399c 100644 (file)
@@ -54,7 +54,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 php5ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_tokenizer.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
+# ADD LINK32 php7ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_tokenizer.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline"\r
 \r
 !ELSEIF  "$(CFG)" == "tokenizer - Win32 Debug_TS"\r
 \r
@@ -80,7 +80,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 php5ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_tokenizer.dll" /pdbtype:sept /libpath:"..\..\Debug_TS"\r
+# ADD LINK32 php7ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_tokenizer.dll" /pdbtype:sept /libpath:"..\..\Debug_TS"\r
 \r
 !ENDIF \r
 \r
index ab60f28eeddeb74ae3194c7d2fdb126c6326ff82..b712dea1d6f1cefc95084a3460169bf2a87680fb 100644 (file)
@@ -4,7 +4,7 @@ PROJECT_ROOT = ..\..
 
 # Module details
 MODULE_NAME = php_xml
-MODULE_DESC = "PHP 5 - XML Extension"
+MODULE_DESC = "PHP 7 - XML Extension"
 VMAJ = 3
 VMIN = 0
 VREV = 0
index 0d946f62da4b4a891d9c6264e00c1ed481b9d96a..f85e4a21213fcfd8c7cd844b11e2f025631f45c0 100644 (file)
@@ -2,4 +2,4 @@ XMLReader represents a reader that provides non-cached,
 forward-only access to XML data. It is based upon the 
 xmlTextReader api from libxml
 
-This extension is designed to only work under PHP 5.
+This extension is designed to only work under PHP 5+.
diff --git a/ext/xmlreader/README.orig b/ext/xmlreader/README.orig
new file mode 100644 (file)
index 0000000..0d946f6
--- /dev/null
@@ -0,0 +1,5 @@
+XMLReader represents a reader that provides non-cached, 
+forward-only access to XML data. It is based upon the 
+xmlTextReader api from libxml
+
+This extension is designed to only work under PHP 5.
index 744c56192a15aa5eced0a673342d2fd3a092136b..ff6b9b0baf62fffe87ee595ff138e4a9d8978120 100644 (file)
@@ -1,6 +1,6 @@
 - Implement functions to support PHP 4
 
-- Refactor internals once libxml 2.6.x is minimum requirement for PHP 5
+- Refactor internals once libxml 2.6.x is minimum requirement for PHP 7
   use new api for creating the xmlTextReaderPtr
 
 - Add Custom Error Handling
index 7b21518ba3198285eb5c9f41050f8e01abd02e13..a2a6c3946082a4c4035b328f5f97ec68c82f1168 100644 (file)
@@ -53,7 +53,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 php5ts_debug.lib resolv.lib kernel32.lib user32.lib gdi32.lib winspool.lib /nologo /dll /debug /machine:I386 /nodefaultlib:"msvcrt" /out:"..\..\Debug_TS/php_xmlreader.dll" /libpath:"..\..\Debug_TS" /libpath:"..\..\..\bindlib_w32\Release"\r
+# ADD LINK32 php7ts_debug.lib resolv.lib kernel32.lib user32.lib gdi32.lib winspool.lib /nologo /dll /debug /machine:I386 /nodefaultlib:"msvcrt" /out:"..\..\Debug_TS/php_xmlreader.dll" /libpath:"..\..\Debug_TS" /libpath:"..\..\..\bindlib_w32\Release"\r
 \r
 !ELSEIF  "$(CFG)" == "xmlreader - Win32 Release_TS"\r
 \r
@@ -80,8 +80,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 php5ts_debug.lib resolv.lib kernel32.lib user32.lib gdi32.lib winspool.lib /nologo /dll /debug /machine:I386 /nodefaultlib:"msvcrt" /out:"..\..\Debug_TS/php_xmlreader.dll" /libpath:"..\..\Debug_TS" /libpath:"..\..\..\bindlib_w32\Release"\r
-# ADD LINK32 php5ts.lib resolv.lib kernel32.lib user32.lib gdi32.lib winspool.lib /nologo /dll /incremental:no /machine:I386 /out:"..\..\Release_TS/php_xmlreader.dll" /libpath:"..\..\Debug_TS" /libpath:"..\..\..\bindlib_w32\Release"\r
+# ADD BASE LINK32 php7ts_debug.lib resolv.lib kernel32.lib user32.lib gdi32.lib winspool.lib /nologo /dll /debug /machine:I386 /nodefaultlib:"msvcrt" /out:"..\..\Debug_TS/php_xmlreader.dll" /libpath:"..\..\Debug_TS" /libpath:"..\..\..\bindlib_w32\Release"\r
+# ADD LINK32 php7ts.lib resolv.lib kernel32.lib user32.lib gdi32.lib winspool.lib /nologo /dll /incremental:no /machine:I386 /out:"..\..\Release_TS/php_xmlreader.dll" /libpath:"..\..\Debug_TS" /libpath:"..\..\..\bindlib_w32\Release"\r
 # SUBTRACT LINK32 /debug\r
 \r
 !ENDIF \r
index 8c455d3fcd77533441902f8b52083b8ffe7cdc3f..cc87a169b67c2ccc5d7175cf118dfc9ed7d7025a 100644 (file)
@@ -53,7 +53,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 php5ts_debug.lib expat.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_xmlrpc.dll" /pdbtype:sept /libpath:"..\..\Debug_TS"\r
+# ADD LINK32 php7ts_debug.lib expat.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS/php_xmlrpc.dll" /pdbtype:sept /libpath:"..\..\Debug_TS"\r
 \r
 !ELSEIF  "$(CFG)" == "xmlrpc - Win32 Release_TS"\r
 \r
@@ -79,7 +79,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 php5ts.lib expat.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_xmlrpc.dll" /libpath:"..\..\Release_TS"\r
+# ADD LINK32 php7ts.lib expat.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_xmlrpc.dll" /libpath:"..\..\Release_TS"\r
 \r
 !ENDIF \r
 \r
index bfc895d7691940e04dcf80147245babb8e9235dc..858ad6be2701c1c9136823778855baac4ba9d9de 100644 (file)
@@ -1,4 +1,4 @@
-- Fix up config file for PHP 5 to use libxml extension configuration
+- Fix up config file for PHP 7 to use libxml extension configuration
 - Add tests for Namespace functions/methods
 - Sync with xmlwriter (new dtd func?)
 - Write documentations in docbook
index ff7257d16121df55b3324420c916a7e24a3dc31e..0b8a56d7d25bb5fd65322d1657033a1cae1fb874 100644 (file)
@@ -53,7 +53,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 wsock32.lib php5ts.lib libxslt_a.lib libexslt_a.lib resolv.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_xsl.dll" /implib:".Release_TS/php_xsl.lib" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline" /libpath:"..\..\..\bindlib_w32\Release"\r
+# ADD LINK32 wsock32.lib php7ts.lib libxslt_a.lib libexslt_a.lib resolv.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_xsl.dll" /implib:".Release_TS/php_xsl.lib" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline" /libpath:"..\..\..\bindlib_w32\Release"\r
 # SUBTRACT LINK32 /pdb:none\r
 \r
 !ELSEIF  "$(CFG)" == "xsl - Win32 Debug_TS"\r
@@ -80,7 +80,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 php5ts_debug.lib libxslt_a.lib libexslt_a.lib resolv.lib kernel32.lib user32.lib gdi32.lib winspool.lib /nologo /dll /debug /machine:I386 /nodefaultlib:"msvcrt" /out:"..\..\Debug_TS/php_xsl.dll" /libpath:"..\..\Debug_TS" /libpath:"..\..\..\bindlib_w32\Release" /libpath:"..\..\..\php_build\lib\libxslt"\r
+# ADD LINK32 php7ts_debug.lib libxslt_a.lib libexslt_a.lib resolv.lib kernel32.lib user32.lib gdi32.lib winspool.lib /nologo /dll /debug /machine:I386 /nodefaultlib:"msvcrt" /out:"..\..\Debug_TS/php_xsl.dll" /libpath:"..\..\Debug_TS" /libpath:"..\..\..\bindlib_w32\Release" /libpath:"..\..\..\php_build\lib\libxslt"\r
 \r
 !ENDIF \r
 \r
index 8986bc6f0594935e6723ed010bc422331ae6154c..6a3e98de9081ded51045829af964afdf756261ba 100644 (file)
@@ -53,8 +53,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo
 # ADD BSC32 /nologo
 LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib /nologo /dll /machine:I386
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib zlib.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_zlib.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\..\php_build\zlib\Release" /libpath:"..\..\Release_TS_Inline"
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib /nologo /dll /machine:I386
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib zlib.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS/php_zlib.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\..\php_build\zlib\Release" /libpath:"..\..\Release_TS_Inline"
 
 !ELSEIF  "$(CFG)" == "zlib - Win32 Debug_TS"
 
@@ -80,8 +80,8 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo
 # ADD BSC32 /nologo
 LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts_debug.lib /nologo /dll /machine:I386
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts_debug.lib zlib.lib /nologo /dll /machine:I386 /out:"..\..\Debug_TS/php_zlib.dll" /libpath:"..\..\Debug_TS" /libpath:"..\..\..\php_build\zlib\Debug"
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts_debug.lib /nologo /dll /machine:I386
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts_debug.lib zlib.lib /nologo /dll /machine:I386 /out:"..\..\Debug_TS/php_zlib.dll" /libpath:"..\..\Debug_TS" /libpath:"..\..\..\php_build\zlib\Debug"
 
 !ENDIF 
 
index a4e01a4845e42d4495a6b315c8e87b4ce845d24c..0c46a88831237602bad55a5f5b043d1a1be6abe1 100644 (file)
@@ -7,7 +7,7 @@ php_build\zlib\include\zlib.h
 php_build\zlib\include\zconf.h
 php_build\zlib\lib\zlibstat.lib
 
-php_build is a directory at the same level as php5.
+php_build is a directory at the same level as php7.
 
 Start Visual Studio, load php_modules.dsw, select the ZLIB projects, and build
 it.
diff --git a/makerpm b/makerpm
index 07bd372df4379102d8e948b345f292d70754d96d..4a33758a0a6dcd3d5dce1bf8292d1f40fe4c317d 100644 (file)
--- a/makerpm
+++ b/makerpm
@@ -37,8 +37,8 @@ sed -e "s/PVERSION/$VERSION/g" \
     -e "s/TARDIR/$TARDIR/g" \
     -e "s/PREQUIRES/$PREQUIRES/g" \
     > $SPEC <<'EOF'
-Summary: PHP 5 - A powerful scripting language
-Name: php5
+Summary: PHP 7 - A powerful scripting language
+Name: php7
 Version: PVERSION
 Release: PRELEASE
 Group: Networking/Daemons
@@ -48,7 +48,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
 Requires: PREQUIRES
 
 %description
-PHP 5 is a powerful apache module that adds scripting and database connection
+PHP 7 is a powerful apache module that adds scripting and database connection
 capabilities to the apache server. This version includes the "php_cgi" binary
 for suExec and stand alone php scripts too.
 
@@ -103,7 +103,7 @@ mv php.keepme sapi/cgi/php
 %install
 rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT%{_libdir}/apache
-install -m 0755 .libs/libphp5.so $RPM_BUILD_ROOT%{_libdir}/apache
+install -m 0755 .libs/libphp7.so $RPM_BUILD_ROOT%{_libdir}/apache
 mkdir -p $RPM_BUILD_ROOT%{_bindir}
 install -m 0755 sapi/cli/php $RPM_BUILD_ROOT%{_bindir}
 install -m 0755 sapi/cgi/php $RPM_BUILD_ROOT%{_bindir}/php_cgi
@@ -168,7 +168,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root)
-%{_libdir}/apache/libphp5.so
+%{_libdir}/apache/libphp7.so
 %{_bindir}/php
 %{_bindir}/php_cgi
 %{_mandir}/man1/php.1*
index 562816fc4439a562e8c59e5c46b2b9e1ee396adc..41460485c7cdcb69d787a403a596cae48709c344 100644 (file)
@@ -867,8 +867,8 @@ default_socket_timeout = 60
 ;
 ; Windows Extensions
 ; Note that ODBC support is built in, so no dll is needed for it.
-; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
-; extension folders as well as the separate PECL DLL download (PHP 5).
+; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
+; extension folders as well as the separate PECL DLL download (PHP 5+).
 ; Be sure to appropriately set the extension_dir directive.
 ;
 ;extension=php_bz2.dll
index 34f91fe293470899e8762af518cfde3952ed4adc..2c2ab78ac47840e49ff25c4b160418746bf4ee4b 100644 (file)
@@ -865,8 +865,8 @@ default_socket_timeout = 60
 ;
 ; Windows Extensions
 ; Note that ODBC support is built in, so no dll is needed for it.
-; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
-; extension folders as well as the separate PECL DLL download (PHP 5).
+; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
+; extension folders as well as the separate PECL DLL download (PHP 5+).
 ; Be sure to appropriately set the extension_dir directive.
 ;
 ;extension=php_bz2.dll
similarity index 100%
rename from php5.spec.in
rename to php7.spec.in
index 80c186ea5dfda7362cf4174bb842971224d3db07..86af6a54b3fe0bdff9a604d098d47b49b97a8244 100644 (file)
@@ -60,7 +60,7 @@ Then enable the PHP module:
 
 ns_section "ns/server/${servername}/modules"
 ...
-ns_param php ${bindir}/libphp5.so
+ns_param php ${bindir}/libphp7.so
 
 
 =============================================================================
similarity index 78%
rename from sapi/aolserver/php5aolserver.dsp
rename to sapi/aolserver/php7aolserver.dsp
index dd6ad71c533a7f0fe70c62718fef7ba90c00cc1a..04a80d187c02698107f1e740319a0ad9bed2b943 100644 (file)
@@ -1,25 +1,25 @@
-# Microsoft Developer Studio Project File - Name="php5aolserver" - Package Owner=<4>\r
+# Microsoft Developer Studio Project File - Name="php7aolserver" - Package Owner=<4>\r
 # Microsoft Developer Studio Generated Build File, Format Version 6.00\r
 # ** DO NOT EDIT **\r
 \r
 # TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102\r
 \r
-CFG=php5aolserver - Win32 Debug_TS\r
+CFG=php7aolserver - Win32 Debug_TS\r
 !MESSAGE This is not a valid makefile. To build this project using NMAKE,\r
 !MESSAGE use the Export Makefile command and run\r
 !MESSAGE \r
-!MESSAGE NMAKE /f "php5aolserver.mak".\r
+!MESSAGE NMAKE /f "php7aolserver.mak".\r
 !MESSAGE \r
 !MESSAGE You can specify a configuration when running NMAKE\r
 !MESSAGE by defining the macro CFG on the command line. For example:\r
 !MESSAGE \r
-!MESSAGE NMAKE /f "php5aolserver.mak" CFG="php5aolserver - Win32 Debug_TS"\r
+!MESSAGE NMAKE /f "php7aolserver.mak" CFG="php7aolserver - Win32 Debug_TS"\r
 !MESSAGE \r
 !MESSAGE Possible choices for configuration are:\r
 !MESSAGE \r
-!MESSAGE "php5aolserver - Win32 Release_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
-!MESSAGE "php5aolserver - Win32 Release_TS_inline" (based on "Win32 (x86) Dynamic-Link Library")\r
-!MESSAGE "php5aolserver - Win32 Debug_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
+!MESSAGE "php7aolserver - Win32 Release_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
+!MESSAGE "php7aolserver - Win32 Release_TS_inline" (based on "Win32 (x86) Dynamic-Link Library")\r
+!MESSAGE "php7aolserver - Win32 Debug_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
 !MESSAGE \r
 \r
 # Begin Project\r
@@ -30,7 +30,7 @@ CPP=cl.exe
 MTL=midl.exe\r
 RSC=rc.exe\r
 \r
-!IF  "$(CFG)" == "php5aolserver - Win32 Release_TS"\r
+!IF  "$(CFG)" == "php7aolserver - Win32 Release_TS"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 0\r
@@ -43,8 +43,8 @@ RSC=rc.exe
 # PROP Intermediate_Dir "Release_TS"\r
 # PROP Ignore_Export_Lib 0\r
 # PROP Target_Dir ""\r
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PHP5AOLSERVER_EXPORTS" /YX /FD /c\r
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "." /I "..\..\..\php_build\nsapi30\include\\" /I "..\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\..\bindlib_w32" /I "..\..\main" /I "..\..\tsrm" /D ZEND_DEBUG=0 /D "NDEBUG" /D "PHP5AOLSERVER_EXPORTS" /D "PHP_WIN32" /D "ZTS" /D "ZEND_WIN32" /D "_WINDOWS" /D "_USRDLL" /D "WIN32" /D "_MBCS" /D "HAVE_AOLSERVER" /YX /FD /c\r
+# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PHP7AOLSERVER_EXPORTS" /YX /FD /c\r
+# ADD CPP /nologo /MD /W3 /GX /O2 /I "." /I "..\..\..\php_build\nsapi30\include\\" /I "..\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\..\bindlib_w32" /I "..\..\main" /I "..\..\tsrm" /D ZEND_DEBUG=0 /D "NDEBUG" /D "PHP7AOLSERVER_EXPORTS" /D "PHP_WIN32" /D "ZTS" /D "ZEND_WIN32" /D "_WINDOWS" /D "_USRDLL" /D "WIN32" /D "_MBCS" /D "HAVE_AOLSERVER" /YX /FD /c\r
 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD BASE RSC /l 0x409 /d "NDEBUG"\r
@@ -54,9 +54,9 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 nsd.lib php5ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x62000000" /version:4.0 /dll /machine:I386 /out:"../../Release_TS/php5aolserver.so" /libpath:"..\..\..\php_build\nsapi30\lib\\" /libpath:"..\..\Release_TS" /libpath:"..\..\TSRM\Release_TS" /libpath:"..\..\Zend\Release_TS"\r
+# ADD LINK32 nsd.lib php7ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x62000000" /version:4.0 /dll /machine:I386 /out:"../../Release_TS/php7aolserver.so" /libpath:"..\..\..\php_build\nsapi30\lib\\" /libpath:"..\..\Release_TS" /libpath:"..\..\TSRM\Release_TS" /libpath:"..\..\Zend\Release_TS"\r
 \r
-!ELSEIF  "$(CFG)" == "php5aolserver - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7aolserver - Win32 Release_TS_inline"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 0\r
@@ -69,7 +69,7 @@ LINK32=link.exe
 # PROP Intermediate_Dir "Release_TS_inline"\r
 # PROP Ignore_Export_Lib 0\r
 # PROP Target_Dir ""\r
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PHP5AOLSERVER_EXPORTS" /YX /FD /c\r
+# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PHP7AOLSERVER_EXPORTS" /YX /FD /c\r
 # ADD CPP /nologo /MD /W3 /GX /O2 /I "." /I "..\..\..\php_build\nsapi30\include\\" /I "..\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\..\bindlib_w32" /I "..\..\main" /I "..\..\tsrm" /D ZEND_DEBUG=0 /D "ZEND_WIN32_FORCE_INLINE" /D "NDEBUG" /D "PHPAOLSERVER_EXPORTS" /D "PHP_WIN32" /D "ZTS" /D "ZEND_WIN32" /D "_WINDOWS" /D "_USRDLL" /D "WIN32" /D "_MBCS" /D "HAVE_AOLSERVER" /YX /FD /c\r
 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
@@ -80,9 +80,9 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 nsd.lib php5ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x62000000" /version:4.0 /dll /machine:I386 /out:"../../Release_TS_inline/php5aolserver.so" /libpath:"..\..\..\php_build\nsapi30\lib\\" /libpath:"..\..\Release_TS_inline" /libpath:"..\..\TSRM\Release_TS_inline" /libpath:"..\..\Zend\Release_TS_inline"\r
+# ADD LINK32 nsd.lib php7ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x62000000" /version:4.0 /dll /machine:I386 /out:"../../Release_TS_inline/php7aolserver.so" /libpath:"..\..\..\php_build\nsapi30\lib\\" /libpath:"..\..\Release_TS_inline" /libpath:"..\..\TSRM\Release_TS_inline" /libpath:"..\..\Zend\Release_TS_inline"\r
 \r
-!ELSEIF  "$(CFG)" == "php5aolserver - Win32 Debug_TS"\r
+!ELSEIF  "$(CFG)" == "php7aolserver - Win32 Debug_TS"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 1\r
@@ -95,8 +95,8 @@ LINK32=link.exe
 # PROP Intermediate_Dir "Debug_TS"\r
 # PROP Ignore_Export_Lib 0\r
 # PROP Target_Dir ""\r
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PHP5AOLSERVER_EXPORTS" /YX /FD /GZ /c\r
-# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "." /I "..\..\..\php_build\nsapi30\include\\" /I "..\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\..\bindlib_w32" /I "..\..\main" /I "..\..\tsrm" /D "_DEBUG" /D ZEND_DEBUG=1 /D "PHP5AOLSERVER_EXPORTS" /D "PHP_WIN32" /D "ZTS" /D "ZEND_WIN32" /D "_WINDOWS" /D "_USRDLL" /D "WIN32" /D "_MBCS" /D "HAVE_AOLSERVER" /FR /YX /FD /GZ /c\r
+# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PHP7AOLSERVER_EXPORTS" /YX /FD /GZ /c\r
+# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "." /I "..\..\..\php_build\nsapi30\include\\" /I "..\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\..\bindlib_w32" /I "..\..\main" /I "..\..\tsrm" /D "_DEBUG" /D ZEND_DEBUG=1 /D "PHP7AOLSERVER_EXPORTS" /D "PHP_WIN32" /D "ZTS" /D "ZEND_WIN32" /D "_WINDOWS" /D "_USRDLL" /D "WIN32" /D "_MBCS" /D "HAVE_AOLSERVER" /FR /YX /FD /GZ /c\r
 # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32\r
 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32\r
 # ADD BASE RSC /l 0x409 /d "_DEBUG"\r
@@ -106,15 +106,15 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 nsd.lib php5ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x62000000" /version:4.0 /dll /debug /machine:I386 /out:"..\..\Debug_TS/php5aolserver.so" /pdbtype:sept /libpath:"..\..\..\php_build\nsapi30\lib\\" /libpath:"..\..\Debug_TS" /libpath:"..\..\TSRM\Debug_TS" /libpath:"..\..\Zend\Debug_TS"\r
+# ADD LINK32 nsd.lib php7ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x62000000" /version:4.0 /dll /debug /machine:I386 /out:"..\..\Debug_TS/php7aolserver.so" /pdbtype:sept /libpath:"..\..\..\php_build\nsapi30\lib\\" /libpath:"..\..\Debug_TS" /libpath:"..\..\TSRM\Debug_TS" /libpath:"..\..\Zend\Debug_TS"\r
 \r
 !ENDIF \r
 \r
 # Begin Target\r
 \r
-# Name "php5aolserver - Win32 Release_TS"\r
-# Name "php5aolserver - Win32 Release_TS_inline"\r
-# Name "php5aolserver - Win32 Debug_TS"\r
+# Name "php7aolserver - Win32 Release_TS"\r
+# Name "php7aolserver - Win32 Release_TS_inline"\r
+# Name "php7aolserver - Win32 Debug_TS"\r
 # Begin Group "Source Files"\r
 \r
 # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"\r
index 5f77d9c9c9d474ee8a6a5b1659f55c47e5060020..c8b174775ea0e4a9b5a5d6831fc496551c3deaa7 100644 (file)
@@ -1,38 +1,38 @@
 ##
-##  Apache 1.3 Makefile template for PHP 5.0 Module
-##  [src/modules/php5/Makefile.tmpl]
+##  Apache 1.3 Makefile template for PHP 7.0 Module
+##  [src/modules/php7/Makefile.tmpl]
 ##
 
 #   the parametrized target
-LIB=libphp5.$(LIBEXT)
+LIB=libphp7.$(LIBEXT)
 
 #   objects for building the static library
-OBJS=mod_php5.o
-OBJS_LIB=libmodphp5.a
+OBJS=mod_php7.o
+OBJS_LIB=libmodphp7.a
 
 #   objects for building the shared object library
-SHLIB_OBJS=mod_php5.so-o
-SHLIB_OBJS_LIB=libmodphp5.a
+SHLIB_OBJS=mod_php7.so-o
+SHLIB_OBJS_LIB=libmodphp7.a
 
 #   the general targets
 all: lib
 lib: $(LIB)
 
 #   build the static library by merging the object files
-libphp5.a: $(OBJS) $(OBJS_LIB)
+libphp7.a: $(OBJS) $(OBJS_LIB)
        cp $(OBJS_LIB) $@
        ar r $@ $(OBJS)
        $(RANLIB) $@
 
 #   ugly hack to support older Apache-1.3 betas that don't set $LIBEXT
-libphp5.: $(OBJS) $(OBJS_LIB)
+libphp7.: $(OBJS) $(OBJS_LIB)
        cp $(OBJS_LIB) $@
        ar r $@ $(OBJS)
        $(RANLIB) $@
-       cp libphp5. libphp5.a
+       cp libphp7. libphp7.a
 
 #   build the shared object library by linking the object files
-libphp5.so: $(SHLIB_OBJS) $(SHLIB_OBJS_LIB)
+libphp7.so: $(SHLIB_OBJS) $(SHLIB_OBJS_LIB)
        rm -f $@
        $(LD_SHLIB) $(LDFLAGS_SHLIB) -o $@ $(SHLIB_OBJS) $(SHLIB_OBJS_LIB) $(LIBS) $(PHP_LIBS) 
 
@@ -69,9 +69,9 @@ depend:
 $(OBJS): Makefile
 
 # DO NOT REMOVE
-mod_php5.o: mod_php5.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \
+mod_php7.o: mod_php7.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \
  $(INCDIR)/buff.h \
  $(INCDIR)/http_config.h \
  $(INCDIR)/http_core.h $(INCDIR)/http_main.h \
  $(INCDIR)/http_protocol.h $(INCDIR)/http_request.h \
- $(INCDIR)/http_log.h $(INCDIR)/util_script.h mod_php5.h
+ $(INCDIR)/http_log.h $(INCDIR)/util_script.h mod_php7.h
index 7b0ee562eb666b5450291bf94bbf95afe2520478..f5bfde4d68494edf2649d67058958781b749048d 100644 (file)
@@ -78,7 +78,7 @@ if test "$PHP_APXS" != "no"; then
   *darwin*)
     MH_BUNDLE_FLAGS="-dynamic -twolevel_namespace -bundle -bundle_loader $APXS_HTTPD"
     PHP_SUBST(MH_BUNDLE_FLAGS)
-    SAPI_SHARED=libs/libphp5.so
+    SAPI_SHARED=libs/libphp7.so
     build_type=bundle
     ;;
   *)
@@ -86,26 +86,26 @@ if test "$PHP_APXS" != "no"; then
     ;;
   esac
 
-  PHP_SELECT_SAPI(apache, $build_type, sapi_apache.c mod_php5.c php_apache.c, $APACHE_CPPFLAGS -I$APXS_INCLUDEDIR)
+  PHP_SELECT_SAPI(apache, $build_type, sapi_apache.c mod_php7.c php_apache.c, $APACHE_CPPFLAGS -I$APXS_INCLUDEDIR)
 
   # Test whether apxs support -S option
   $APXS -q -S CFLAGS="$APXS_CFLAGS" CFLAGS >/dev/null 2>&1
 
   if test "$?" != "0"; then
-    APACHE_INSTALL="$APXS -i -a -n php5 $SAPI_SHARED" # Old apxs does not have -S option
+    APACHE_INSTALL="$APXS -i -a -n php7 $SAPI_SHARED" # Old apxs does not have -S option
   else 
     APXS_LIBEXECDIR='$(INSTALL_ROOT)'`$APXS -q LIBEXECDIR`
     if test -z `$APXS -q SYSCONFDIR`; then
       APACHE_INSTALL="\$(mkinstalldirs) '$APXS_LIBEXECDIR' && \
                        $APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' \
-                             -i -n php5 $SAPI_SHARED"
+                             -i -n php7 $SAPI_SHARED"
     else
       APXS_SYSCONFDIR='$(INSTALL_ROOT)'`$APXS -q SYSCONFDIR`
       APACHE_INSTALL="\$(mkinstalldirs) '$APXS_LIBEXECDIR' && \
                       \$(mkinstalldirs) '$APXS_SYSCONFDIR' && \
                        $APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' \
                              -S SYSCONFDIR='$APXS_SYSCONFDIR' \
-                             -i -a -n php5 $SAPI_SHARED"
+                             -i -a -n php7 $SAPI_SHARED"
     fi
   fi
 
@@ -135,7 +135,7 @@ if test "$PHP_SAPI" != "apache" && test "$PHP_APACHE" != "no"; then
     PHP_APACHE=/usr/local/apache
   fi
 
-  APACHE_INSTALL_FILES="\$(srcdir)/sapi/apache/mod_php5.* sapi/apache/libphp5.module"
+  APACHE_INSTALL_FILES="\$(srcdir)/sapi/apache/mod_php7.* sapi/apache/libphp7.module"
 
   AC_DEFINE(HAVE_APACHE,1,[ ])
   APACHE_MODULE=yes
@@ -144,7 +144,7 @@ if test "$PHP_SAPI" != "apache" && test "$PHP_APACHE" != "no"; then
   if test -f $PHP_APACHE/src/httpd.h; then 
     APACHE_INCLUDE=-I$PHP_APACHE/src
     APACHE_TARGET=$PHP_APACHE/src
-    PHP_SELECT_SAPI(apache, static, sapi_apache.c mod_php5.c php_apache.c, $APACHE_INCLUDE)
+    PHP_SELECT_SAPI(apache, static, sapi_apache.c mod_php7.c php_apache.c, $APACHE_INCLUDE)
     APACHE_INSTALL="mkdir -p $APACHE_TARGET; cp $SAPI_STATIC $APACHE_INSTALL_FILES $APACHE_TARGET"
     PHP_LIBS="-L. -lphp3"
     AC_MSG_RESULT([yes - Apache 1.2.x])
@@ -159,13 +159,13 @@ if test "$PHP_SAPI" != "apache" && test "$PHP_APACHE" != "no"; then
   elif test -f $PHP_APACHE/src/main/httpd.h; then
     APACHE_HAS_REGEX=1
     APACHE_INCLUDE="-I$PHP_APACHE/src/main -I$PHP_APACHE/src/os/unix -I$PHP_APACHE/src/ap"
-    APACHE_TARGET=$PHP_APACHE/src/modules/php5
+    APACHE_TARGET=$PHP_APACHE/src/modules/php7
     if test ! -d $APACHE_TARGET; then
       mkdir $APACHE_TARGET
     fi
-    PHP_SELECT_SAPI(apache, static, sapi_apache.c mod_php5.c php_apache.c, $APACHE_INCLUDE)
-    APACHE_INSTALL="mkdir -p $APACHE_TARGET; cp $SAPI_STATIC $APACHE_TARGET/libmodphp5.a; cp $APACHE_INSTALL_FILES $APACHE_TARGET; cp $srcdir/sapi/apache/apMakefile.tmpl $APACHE_TARGET/Makefile.tmpl; cp $srcdir/sapi/apache/apMakefile.libdir $APACHE_TARGET/Makefile.libdir"
-    PHP_LIBS="-Lmodules/php5 -L../modules/php5 -L../../modules/php5 -lmodphp5"
+    PHP_SELECT_SAPI(apache, static, sapi_apache.c mod_php7.c php_apache.c, $APACHE_INCLUDE)
+    APACHE_INSTALL="mkdir -p $APACHE_TARGET; cp $SAPI_STATIC $APACHE_TARGET/libmodphp7.a; cp $APACHE_INSTALL_FILES $APACHE_TARGET; cp $srcdir/sapi/apache/apMakefile.tmpl $APACHE_TARGET/Makefile.tmpl; cp $srcdir/sapi/apache/apMakefile.libdir $APACHE_TARGET/Makefile.libdir"
+    PHP_LIBS="-Lmodules/php7 -L../modules/php7 -L../../modules/php7 -lmodphp7"
     AC_MSG_RESULT([yes - Apache 1.3.x])
     STRONGHOLD=
     if test -f $PHP_APACHE/src/include/ap_config.h; then
@@ -183,13 +183,13 @@ if test "$PHP_SAPI" != "apache" && test "$PHP_APACHE" != "no"; then
   elif test -f $PHP_APACHE/src/include/httpd.h; then
     APACHE_HAS_REGEX=1
     APACHE_INCLUDE="-I$PHP_APACHE/src/include -I$PHP_APACHE/src/os/unix"
-    APACHE_TARGET=$PHP_APACHE/src/modules/php5
+    APACHE_TARGET=$PHP_APACHE/src/modules/php7
     if test ! -d $APACHE_TARGET; then
       mkdir $APACHE_TARGET
     fi
-    PHP_SELECT_SAPI(apache, static, sapi_apache.c mod_php5.c php_apache.c, $APACHE_INCLUDE)
-    PHP_LIBS="-Lmodules/php5 -L../modules/php5 -L../../modules/php5 -lmodphp5"
-    APACHE_INSTALL="mkdir -p $APACHE_TARGET; cp $SAPI_STATIC $APACHE_TARGET/libmodphp5.a; cp $APACHE_INSTALL_FILES $APACHE_TARGET; cp $srcdir/sapi/apache/apMakefile.tmpl $APACHE_TARGET/Makefile.tmpl; cp $srcdir/sapi/apache/apMakefile.libdir $APACHE_TARGET/Makefile.libdir"
+    PHP_SELECT_SAPI(apache, static, sapi_apache.c mod_php7.c php_apache.c, $APACHE_INCLUDE)
+    PHP_LIBS="-Lmodules/php7 -L../modules/php7 -L../../modules/php7 -lmodphp7"
+    APACHE_INSTALL="mkdir -p $APACHE_TARGET; cp $SAPI_STATIC $APACHE_TARGET/libmodphp7.a; cp $APACHE_INSTALL_FILES $APACHE_TARGET; cp $srcdir/sapi/apache/apMakefile.tmpl $APACHE_TARGET/Makefile.tmpl; cp $srcdir/sapi/apache/apMakefile.libdir $APACHE_TARGET/Makefile.libdir"
     AC_MSG_RESULT([yes - Apache 1.3.x])
     STRONGHOLD=
     if test -f $PHP_APACHE/src/include/ap_config.h; then
@@ -207,9 +207,9 @@ if test "$PHP_SAPI" != "apache" && test "$PHP_APACHE" != "no"; then
   elif test -f $PHP_APACHE/apache/httpd.h; then
     APACHE_INCLUDE="-I$PHP_APACHE/apache -I$PHP_APACHE/ssl/include"
     APACHE_TARGET=$PHP_APACHE/apache
-    PHP_SELECT_SAPI(apache, static, sapi_apache.c mod_php5.c php_apache.c, $APACHE_INCLUDE)
-    PHP_LIBS="-Lmodules/php5 -L../modules/php5 -L../../modules/php5 -lmodphp5"
-    APACHE_INSTALL="mkdir -p $APACHE_TARGET; cp $SAPI_STATIC $APACHE_TARGET/libmodphp5.a; cp $APACHE_INSTALL_FILES $APACHE_TARGET"
+    PHP_SELECT_SAPI(apache, static, sapi_apache.c mod_php7.c php_apache.c, $APACHE_INCLUDE)
+    PHP_LIBS="-Lmodules/php7 -L../modules/php7 -L../../modules/php7 -lmodphp7"
+    APACHE_INSTALL="mkdir -p $APACHE_TARGET; cp $SAPI_STATIC $APACHE_TARGET/libmodphp7.a; cp $APACHE_INSTALL_FILES $APACHE_TARGET"
     STRONGHOLD=-DSTRONGHOLD=1
     AC_MSG_RESULT([yes - StrongHold])
     if test -f $PHP_APACHE/apache/ap_config.h; then
@@ -247,13 +247,13 @@ dnl Build as static module
 if test "$APACHE_MODULE" = "yes"; then
   PHP_TARGET_RDYNAMIC
   $php_shtool mkdir -p sapi/apache
-  PHP_OUTPUT(sapi/apache/libphp5.module)
+  PHP_OUTPUT(sapi/apache/libphp7.module)
 fi
 
 dnl General
 if test -n "$APACHE_INSTALL"; then
   if test "x$APXS" != "x" -a "`uname -sv`" = "AIX 4" -a "$GCC" != "yes"; then
-    APXS_EXP=-bE:sapi/apache/mod_php5.exp
+    APXS_EXP=-bE:sapi/apache/mod_php7.exp
   fi
 
   PHP_APACHE_FD_CHECK
index e876d7500e20b54d2166e08f6dce3b9e6b8deae5..e5b72f1bcf3f2c922792011f496bfa8e3223bee5 100644 (file)
@@ -15,9 +15,9 @@ if (PHP_APACHE != "no") {
                                ";" + PHP_PHP_BUILD + "\\apache\\src\\corer")) {
                // We need to play tricks to get our readdir.h used by apache
                // headers
-               SAPI('apache', 'mod_php5.c sapi_apache.c php_apache.c',
+               SAPI('apache', 'mod_php7.c sapi_apache.c php_apache.c',
                                'php' + PHP_VERSION + 'apache.dll',
-                               '/D APACHEPHP5_EXPORTS /D APACHE_READDIR_H /I win32');
+                               '/D APACHEPHP7_EXPORTS /D APACHE_READDIR_H /I win32');
        } else {
                WARNING("Could not find apache libraries/headers");
        }
similarity index 96%
rename from sapi/apache/libphp5.module.in
rename to sapi/apache/libphp7.module.in
index 00d9c49f401bc612916ccf6b5b44fea611e21d4e..892df4d5ccdfe3741030ec04a11f8b3eff936be5 100644 (file)
@@ -1,4 +1,4 @@
-Name: php5_module
+Name: php7_module
 ConfigStart
        RULE_WANTHSREGEX=no
        RULE_HIDE=yes
diff --git a/sapi/apache/mod_php5.exp b/sapi/apache/mod_php5.exp
deleted file mode 100644 (file)
index 9ad0f0a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-php5_module
similarity index 99%
rename from sapi/apache/mod_php5.c
rename to sapi/apache/mod_php7.c
index a78b8dc913b552994c0ff5585e723d80f39299e6..582de522acb93941918089a065f9b2ab22a5c56f 100644 (file)
@@ -60,12 +60,12 @@ static CONST_PREFIX char *php_apache_flag_handler(cmd_parms *cmd, HashTable *con
 static CONST_PREFIX char *php_apache_flag_handler_ex(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2, int mode);
 static CONST_PREFIX char *php_apache_admin_flag_handler(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2);
 
-/* ### these should be defined in mod_php5.h or somewhere else */
+/* ### these should be defined in mod_php7.h or somewhere else */
 #define USE_PATH 1
 #define IGNORE_URL 2
 #define MAX_STATUS_LENGTH sizeof("xxxx LONGEST POSSIBLE STATUS DESCRIPTION")
 
-module MODULE_VAR_EXPORT php5_module;
+module MODULE_VAR_EXPORT php7_module;
 
 int saved_umask;
 static unsigned char apache_php_initialized;
@@ -622,7 +622,7 @@ static int send_php(request_rec *r, int display_source_mode, char *filename)
                        return DECLINED;
                }
 
-               per_dir_conf = (HashTable *) get_module_config(r->per_dir_config, &php5_module);
+               per_dir_conf = (HashTable *) get_module_config(r->per_dir_config, &php7_module);
                if (per_dir_conf) {
                        zend_hash_apply((HashTable *) per_dir_conf, (apply_func_t) php_apache_alter_ini_entries TSRMLS_CC);
                }
@@ -909,7 +909,7 @@ static int php_xbithack_handler(request_rec * r)
        if (!(r->finfo.st_mode & S_IXUSR)) {
                return DECLINED;
        }
-       per_dir_conf = (HashTable *) get_module_config(r->per_dir_config, &php5_module);
+       per_dir_conf = (HashTable *) get_module_config(r->per_dir_config, &php7_module);
        if (per_dir_conf) {
                zend_hash_apply((HashTable *) per_dir_conf, (apply_func_t) php_apache_alter_ini_entries TSRMLS_CC);
        }
@@ -1006,9 +1006,9 @@ command_rec php_commands[] =
 };
 /* }}} */
 
-/* {{{ odule MODULE_VAR_EXPORT php5_module
+/* {{{ odule MODULE_VAR_EXPORT php7_module
  */
-module MODULE_VAR_EXPORT php5_module =
+module MODULE_VAR_EXPORT php7_module =
 {
        STANDARD_MODULE_STUFF,
        php_init_handler,                       /* initializer */
diff --git a/sapi/apache/mod_php7.exp b/sapi/apache/mod_php7.exp
new file mode 100644 (file)
index 0000000..1469b03
--- /dev/null
@@ -0,0 +1 @@
+php7_module
similarity index 96%
rename from sapi/apache/mod_php5.h
rename to sapi/apache/mod_php7.h
index 3bc785738021b7c13d2912d88b8a553c5be633e5..de8aa1b7ff55d3866a3e520405e36624f2ba7bdc 100644 (file)
@@ -17,8 +17,8 @@
  */
 /* $Id$ */
 
-#ifndef MOD_PHP5_H
-#define MOD_PHP5_H
+#ifndef MOD_PHP7_H
+#define MOD_PHP7_H
 
 #if !defined(WIN32) && !defined(WINNT)
 #ifndef MODULE_VAR_EXPORT
@@ -50,7 +50,7 @@ extern php_apache_info_struct php_apache_info;
 # define MODULE_VAR_EXPORT PHPAPI
 #endif
 
-#endif                                                 /* MOD_PHP5_H */
+#endif                                                 /* MOD_PHP7_H */
 
 /*
  * Local variables:
index 9ad0f0a0adbc0fe08f8fac3e6d471ff872ef1cba..1469b0314d5a4d2e612001fffe3599f03a838f9d 100644 (file)
@@ -1 +1 @@
-php5_module
+php7_module
similarity index 81%
rename from sapi/apache/php5apache.dsp
rename to sapi/apache/php7apache.dsp
index fbdb7612b8691d42da7d7681995aadb4fad91aec..1b2e0e5f22974161239abecb2648d72c6fce07f0 100644 (file)
@@ -1,25 +1,25 @@
-# Microsoft Developer Studio Project File - Name="php5apache" - Package Owner=<4>\r
+# Microsoft Developer Studio Project File - Name="php7apache" - Package Owner=<4>\r
 # Microsoft Developer Studio Generated Build File, Format Version 6.00\r
 # ** DO NOT EDIT **\r
 \r
 # TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102\r
 \r
-CFG=php5apache - Win32 Release_TS\r
+CFG=php7apache - Win32 Release_TS\r
 !MESSAGE This is not a valid makefile. To build this project using NMAKE,\r
 !MESSAGE use the Export Makefile command and run\r
 !MESSAGE \r
-!MESSAGE NMAKE /f "php5apache.mak".\r
+!MESSAGE NMAKE /f "php7apache.mak".\r
 !MESSAGE \r
 !MESSAGE You can specify a configuration when running NMAKE\r
 !MESSAGE by defining the macro CFG on the command line. For example:\r
 !MESSAGE \r
-!MESSAGE NMAKE /f "php5apache.mak" CFG="php5apache - Win32 Release_TS"\r
+!MESSAGE NMAKE /f "php7apache.mak" CFG="php7apache - Win32 Release_TS"\r
 !MESSAGE \r
 !MESSAGE Possible choices for configuration are:\r
 !MESSAGE \r
-!MESSAGE "php5apache - Win32 Release_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
-!MESSAGE "php5apache - Win32 Debug_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
-!MESSAGE "php5apache - Win32 Release_TS_inline" (based on "Win32 (x86) Dynamic-Link Library")\r
+!MESSAGE "php7apache - Win32 Release_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
+!MESSAGE "php7apache - Win32 Debug_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
+!MESSAGE "php7apache - Win32 Release_TS_inline" (based on "Win32 (x86) Dynamic-Link Library")\r
 !MESSAGE \r
 \r
 # Begin Project\r
@@ -30,7 +30,7 @@ CPP=cl.exe
 MTL=midl.exe\r
 RSC=rc.exe\r
 \r
-!IF  "$(CFG)" == "php5apache - Win32 Release_TS"\r
+!IF  "$(CFG)" == "php7apache - Win32 Release_TS"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 0\r
@@ -43,8 +43,8 @@ RSC=rc.exe
 # PROP Intermediate_Dir "Release_TS"\r
 # PROP Ignore_Export_Lib 0\r
 # PROP Target_Dir ""\r
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "APACHEPHP5_EXPORTS" /YX /FD /c\r
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "...\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\..\bindlib_w32" /I "..\..\..\php_build\includes" /I "..\..\main" /I "..\..\TSRM" /I "..\..\regex" /I "C:\Program Files\Apache Group\Apache\include" /D ZEND_DEBUG=0 /D "NDEBUG" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "_WINDOWS" /D "_USRDLL" /D "APACHEPHP5_EXPORTS" /D "WIN32" /D "_MBCS" /D "APACHE_READDIR_H" /YX /FD /c\r
+# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "APACHEPHP7_EXPORTS" /YX /FD /c\r
+# ADD CPP /nologo /MD /W3 /GX /O2 /I "...\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\..\bindlib_w32" /I "..\..\..\php_build\includes" /I "..\..\main" /I "..\..\TSRM" /I "..\..\regex" /I "C:\Program Files\Apache Group\Apache\include" /D ZEND_DEBUG=0 /D "NDEBUG" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "_WINDOWS" /D "_USRDLL" /D "APACHEPHP7_EXPORTS" /D "WIN32" /D "_MBCS" /D "APACHE_READDIR_H" /YX /FD /c\r
 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD BASE RSC /l 0x409 /d "NDEBUG"\r
@@ -54,9 +54,9 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 php5ts.lib ApacheCore.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x60000000" /version:4.0 /dll /machine:I386 /libpath:"..\..\..\php_build\release" /libpath:"..\..\Release_TS" /libpath:"..\..\TSRM\Release_TS" /libpath:"..\..\Zend\Release_TS" /libpath:"C:\Program Files\Apache Group\Apache\libexec"\r
+# ADD LINK32 php7ts.lib ApacheCore.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x60000000" /version:4.0 /dll /machine:I386 /libpath:"..\..\..\php_build\release" /libpath:"..\..\Release_TS" /libpath:"..\..\TSRM\Release_TS" /libpath:"..\..\Zend\Release_TS" /libpath:"C:\Program Files\Apache Group\Apache\libexec"\r
 \r
-!ELSEIF  "$(CFG)" == "php5apache - Win32 Debug_TS"\r
+!ELSEIF  "$(CFG)" == "php7apache - Win32 Debug_TS"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 0\r
@@ -69,8 +69,8 @@ LINK32=link.exe
 # PROP Intermediate_Dir "Debug_TS"\r
 # PROP Ignore_Export_Lib 0\r
 # PROP Target_Dir ""\r
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "APACHEPHP5_EXPORTS" /YX /FD /c\r
-# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "...\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\..\bindlib_w32" /I "..\..\..\php_build\includes" /I "..\..\main" /I "..\..\TSRM" /I "..\..\regex" /I "C:\Program Files\Apache Group\Apache\include" /D "_DEBUG" /D ZEND_DEBUG=1 /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "_WINDOWS" /D "_USRDLL" /D "APACHEPHP5_EXPORTS" /D "WIN32" /D "_MBCS" /D "APACHE_READDIR_H" /FR /YX /FD /c\r
+# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "APACHEPHP7_EXPORTS" /YX /FD /c\r
+# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "...\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\..\bindlib_w32" /I "..\..\..\php_build\includes" /I "..\..\main" /I "..\..\TSRM" /I "..\..\regex" /I "C:\Program Files\Apache Group\Apache\include" /D "_DEBUG" /D ZEND_DEBUG=1 /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "_WINDOWS" /D "_USRDLL" /D "APACHEPHP7_EXPORTS" /D "WIN32" /D "_MBCS" /D "APACHE_READDIR_H" /FR /YX /FD /c\r
 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD BASE RSC /l 0x409 /d "NDEBUG"\r
@@ -80,9 +80,9 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 php5ts_debug.lib ApacheCore.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x60000000" /version:4.0 /dll /incremental:yes /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\php_build\release" /libpath:"..\..\Debug_TS" /libpath:"..\..\TSRM\Debug_TS" /libpath:"..\..\Zend\Debug_TS" /libpath:"C:\Program Files\Apache Group\Apache\libexec"\r
+# ADD LINK32 php7ts_debug.lib ApacheCore.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x60000000" /version:4.0 /dll /incremental:yes /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\php_build\release" /libpath:"..\..\Debug_TS" /libpath:"..\..\TSRM\Debug_TS" /libpath:"..\..\Zend\Debug_TS" /libpath:"C:\Program Files\Apache Group\Apache\libexec"\r
 \r
-!ELSEIF  "$(CFG)" == "php5apache - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7apache - Win32 Release_TS_inline"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 0\r
@@ -95,8 +95,8 @@ LINK32=link.exe
 # PROP Intermediate_Dir "Release_TS_inline"\r
 # PROP Ignore_Export_Lib 0\r
 # PROP Target_Dir ""\r
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "APACHEPHP5_EXPORTS" /YX /FD /c\r
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "...\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\..\bindlib_w32" /I "..\..\..\php_build\includes" /I "..\..\main" /I "..\..\TSRM" /I "..\..\regex" /I "C:\Program Files\Apache Group\Apache\include" /D ZEND_DEBUG=0 /D "ZEND_WIN32_FORCE_INLINE" /D "NDEBUG" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "_WINDOWS" /D "_USRDLL" /D "APACHEPHP5_EXPORTS" /D "WIN32" /D "_MBCS" /D "APACHE_READDIR_H" /YX /FD /c\r
+# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "APACHEPHP7_EXPORTS" /YX /FD /c\r
+# ADD CPP /nologo /MD /W3 /GX /O2 /I "...\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\..\bindlib_w32" /I "..\..\..\php_build\includes" /I "..\..\main" /I "..\..\TSRM" /I "..\..\regex" /I "C:\Program Files\Apache Group\Apache\include" /D ZEND_DEBUG=0 /D "ZEND_WIN32_FORCE_INLINE" /D "NDEBUG" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "_WINDOWS" /D "_USRDLL" /D "APACHEPHP7_EXPORTS" /D "WIN32" /D "_MBCS" /D "APACHE_READDIR_H" /YX /FD /c\r
 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD BASE RSC /l 0x409 /d "NDEBUG"\r
@@ -106,21 +106,21 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 php5ts.lib ApacheCore.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /version:4.0 /dll /machine:I386 /libpath:"..\..\..\php_build\release" /libpath:"..\..\Release_TS_inline" /libpath:"..\..\TSRM\Release_TS_inline" /libpath:"..\..\Zend\Release_TS_inline" /libpath:"C:\Program Files\Apache Group\Apache\libexec"\r
+# ADD LINK32 php7ts.lib ApacheCore.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /version:4.0 /dll /machine:I386 /libpath:"..\..\..\php_build\release" /libpath:"..\..\Release_TS_inline" /libpath:"..\..\TSRM\Release_TS_inline" /libpath:"..\..\Zend\Release_TS_inline" /libpath:"C:\Program Files\Apache Group\Apache\libexec"\r
 \r
 !ENDIF \r
 \r
 # Begin Target\r
 \r
-# Name "php5apache - Win32 Release_TS"\r
-# Name "php5apache - Win32 Debug_TS"\r
-# Name "php5apache - Win32 Release_TS_inline"\r
+# Name "php7apache - Win32 Release_TS"\r
+# Name "php7apache - Win32 Debug_TS"\r
+# Name "php7apache - Win32 Release_TS_inline"\r
 # Begin Group "Source Files"\r
 \r
 # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"\r
 # Begin Source File\r
 \r
-SOURCE=.\mod_php5.c\r
+SOURCE=.\mod_php7.c\r
 # End Source File\r
 # Begin Source File\r
 \r
@@ -136,7 +136,7 @@ SOURCE=.\sapi_apache.c
 # PROP Default_Filter "h;hpp;hxx;hm;inl"\r
 # Begin Source File\r
 \r
-SOURCE=.\mod_php5.h\r
+SOURCE=.\mod_php7.h\r
 # End Source File\r
 # Begin Source File\r
 \r
index a18e5dbac2466d33a938de0ece34cd8f28dec713..30d9f8ee17d8a9ebb444261655179777df31e37c 100644 (file)
@@ -67,4 +67,4 @@
 #include "php_ini.h"
 #include "ext/standard/php_standard.h"
 
-#include "mod_php5.h"
+#include "mod_php7.h"
index b6524fd874e0b5d50c07d0c64189ebdf876d030e..11cc051015a1c26e7772593ebdf93f5f686af6a1 100644 (file)
@@ -71,14 +71,14 @@ if test "$PHP_APXS2FILTER" != "no"; then
   if test -z `$APXS -q SYSCONFDIR`; then
     INSTALL_IT="\$(mkinstalldirs) '$APXS_LIBEXECDIR' && \
                  $APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' \
-                       -i -n php5"
+                       -i -n php7"
   else
     APXS_SYSCONFDIR='$(INSTALL_ROOT)'`$APXS -q SYSCONFDIR`
     INSTALL_IT="\$(mkinstalldirs) '$APXS_LIBEXECDIR' && \
                 \$(mkinstalldirs) '$APXS_SYSCONFDIR' && \
                  $APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' \
                        -S SYSCONFDIR='$APXS_SYSCONFDIR' \
-                       -i -a -n php5"
+                       -i -a -n php7"
   fi
 
   case $host_alias in
@@ -101,7 +101,7 @@ if test "$PHP_APXS2FILTER" != "no"; then
     MH_BUNDLE_FLAGS="-bundle -bundle_loader $APXS_HTTPD $MH_BUNDLE_FLAGS"
     PHP_SUBST(MH_BUNDLE_FLAGS)
     PHP_SELECT_SAPI(apache2filter, bundle, sapi_apache2.c apache_config.c php_functions.c, $APACHE_CFLAGS)
-    SAPI_SHARED=libs/libphp5.so
+    SAPI_SHARED=libs/libphp7.so
     INSTALL_IT="$INSTALL_IT $SAPI_SHARED"
     ;;
   *beos*)
index 9ad0f0a0adbc0fe08f8fac3e6d471ff872ef1cba..1469b0314d5a4d2e612001fffe3599f03a838f9d 100644 (file)
@@ -1 +1 @@
-php5_module
+php7_module
index 8410414dc0be4e5bd8daeded4408d352cd53d21b..600aa647b7319996f09c0f79b284e9ee44cf70a6 100644 (file)
@@ -26,7 +26,7 @@
 #include "http_core.h"
 
 /* Declare this so we can get to it from outside the sapi_apache2.c file */
-extern module AP_MODULE_DECLARE_DATA php5_module;
+extern module AP_MODULE_DECLARE_DATA php7_module;
 
 /* A way to specify the location of the php.ini dir in an apache directive */
 extern char *apache2_php_ini_path_override;
index 4fd45041ba536f61e4206269931d9a87f238e69a..afc9f0604340d616f273ce3a4be4a28eafd657fd 100644 (file)
@@ -456,7 +456,7 @@ static void php_apache_request_dtor(ap_filter_t *f TSRMLS_DC)
 static int php_output_filter(ap_filter_t *f, apr_bucket_brigade *bb)
 {
        php_struct *ctx;
-       void *conf = ap_get_module_config(f->r->per_dir_config, &php5_module);
+       void *conf = ap_get_module_config(f->r->per_dir_config, &php7_module);
        char *p = get_php_config(conf, "engine", sizeof("engine"));
        zend_file_handle zfd;
        php_apr_bucket_brigade *pbb;
@@ -740,7 +740,7 @@ static size_t php_apache_fsizer_stream(void *handle TSRMLS_DC)
        return 0;
 }
 
-AP_MODULE_DECLARE_DATA module php5_module = {
+AP_MODULE_DECLARE_DATA module php7_module = {
        STANDARD20_MODULE_STUFF,
        create_php_config,              /* create per-directory config structure */
        merge_php_config,               /* merge per-directory config structures */
index a0080a654a43352e69be263364ea18f3a2d2a32d..59e17393dda1e2c5e082ffa7f8898a2768f6ef95 100644 (file)
@@ -70,20 +70,20 @@ if test "$PHP_APXS2" != "no"; then
   if test -z `$APXS -q SYSCONFDIR`; then
     INSTALL_IT="\$(mkinstalldirs) '$APXS_LIBEXECDIR' && \
                  $APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' \
-                       -i -n php5"
+                       -i -n php7"
   else
     APXS_SYSCONFDIR='$(INSTALL_ROOT)'`$APXS -q SYSCONFDIR`
     INSTALL_IT="\$(mkinstalldirs) '$APXS_LIBEXECDIR' && \
                 \$(mkinstalldirs) '$APXS_SYSCONFDIR' && \
                  $APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' \
                        -S SYSCONFDIR='$APXS_SYSCONFDIR' \
-                       -i -a -n php5"
+                       -i -a -n php7"
   fi
 
   case $host_alias in
   *aix*)
     EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-brtl -Wl,-bI:$APXS_LIBEXECDIR/httpd.exp"
-    PHP_SELECT_SAPI(apache2handler, shared, mod_php5.c sapi_apache2.c apache_config.c php_functions.c, $APACHE_CFLAGS)
+    PHP_SELECT_SAPI(apache2handler, shared, mod_php7.c sapi_apache2.c apache_config.c php_functions.c, $APACHE_CFLAGS)
     INSTALL_IT="$INSTALL_IT $SAPI_LIBTOOL" 
     ;;
   *darwin*)
@@ -99,7 +99,7 @@ if test "$PHP_APXS2" != "no"; then
     fi
     MH_BUNDLE_FLAGS="-bundle -bundle_loader $APXS_HTTPD $MH_BUNDLE_FLAGS"
     PHP_SUBST(MH_BUNDLE_FLAGS)
-    PHP_SELECT_SAPI(apache2handler, bundle, mod_php5.c sapi_apache2.c apache_config.c php_functions.c, $APACHE_CFLAGS)
+    PHP_SELECT_SAPI(apache2handler, bundle, mod_php7.c sapi_apache2.c apache_config.c php_functions.c, $APACHE_CFLAGS)
     SAPI_SHARED=libs/libphp7.so
     INSTALL_IT="$INSTALL_IT $SAPI_SHARED"
     ;;
@@ -107,11 +107,11 @@ if test "$PHP_APXS2" != "no"; then
     if test -f _APP_; then `rm _APP_`; fi
     `ln -s $APXS_BINDIR/httpd _APP_`
     EXTRA_LIBS="$EXTRA_LIBS _APP_"
-    PHP_SELECT_SAPI(apache2handler, shared, mod_php5.c sapi_apache2.c apache_config.c php_functions.c, $APACHE_CFLAGS)
+    PHP_SELECT_SAPI(apache2handler, shared, mod_php7.c sapi_apache2.c apache_config.c php_functions.c, $APACHE_CFLAGS)
     INSTALL_IT="$INSTALL_IT $SAPI_LIBTOOL"
     ;;
   *)
-    PHP_SELECT_SAPI(apache2handler, shared, mod_php5.c sapi_apache2.c apache_config.c php_functions.c, $APACHE_CFLAGS) 
+    PHP_SELECT_SAPI(apache2handler, shared, mod_php7.c sapi_apache2.c apache_config.c php_functions.c, $APACHE_CFLAGS) 
     INSTALL_IT="$INSTALL_IT $SAPI_LIBTOOL"
     ;;
   esac
index a7547514d8c26dcd94f2f5d4d694e65a84d179e3..d15dcfaf03dd874254ceaf49d3742915be7469cf 100644 (file)
@@ -11,7 +11,7 @@ if (PHP_APACHE2HANDLER != "no") {
                        CHECK_LIB("libapr.lib", "apache2handler", PHP_PHP_BUILD + "\\lib\\apache2") &&
                        CHECK_LIB("libaprutil.lib", "apache2handler", PHP_PHP_BUILD + "\\lib\\apache2")
                        ) {
-               SAPI('apache2handler', 'mod_php5.c sapi_apache2.c apache_config.c php_functions.c',
+               SAPI('apache2handler', 'mod_php7.c sapi_apache2.c apache_config.c php_functions.c',
                                'php' + PHP_VERSION + 'apache2.dll',
                                '/D PHP_APACHE2_EXPORTS /I win32');
        } else {
@@ -29,7 +29,7 @@ if (PHP_APACHE2_2HANDLER != "no") {
                        CHECK_LIB("libapr-1.lib", "apache2_2handler", PHP_PHP_BUILD + "\\lib\\apache2_2") &&
                        CHECK_LIB("libaprutil-1.lib", "apache2_2handler", PHP_PHP_BUILD + "\\lib\\apache2_2")
                        ) {
-               SAPI('apache2_2handler', 'mod_php5.c sapi_apache2.c apache_config.c php_functions.c',
+               SAPI('apache2_2handler', 'mod_php7.c sapi_apache2.c apache_config.c php_functions.c',
                                'php' + PHP_VERSION + 'apache2_2.dll',
                                '/D PHP_APACHE2_EXPORTS /I win32',
                                'sapi\\apache2_2handler');
@@ -47,7 +47,7 @@ if (PHP_APACHE2_4HANDLER != "no") {
                        CHECK_LIB("libapr-1.lib", "apache2_4handler", PHP_PHP_BUILD + "\\lib\\apache2_4") &&
                        CHECK_LIB("libaprutil-1.lib", "apache2_4handler", PHP_PHP_BUILD + "\\lib\\apache2_4")
                        ) {
-               SAPI('apache2_4handler', 'mod_php5.c sapi_apache2.c apache_config.c php_functions.c',
+               SAPI('apache2_4handler', 'mod_php7.c sapi_apache2.c apache_config.c php_functions.c',
                                'php' + PHP_VERSION + 'apache2_4.dll',
                                '/D PHP_APACHE2_EXPORTS /I win32',
                                'sapi\\apache2handler');
similarity index 97%
rename from sapi/apache2handler/mod_php5.c
rename to sapi/apache2handler/mod_php7.c
index 4a01ebfd5fc894eb405f5d00a0001c5f86da88ca..d51642fc87be7ba49f2067b29f5818590e1116ee 100644 (file)
@@ -25,7 +25,7 @@
 #include "php.h"
 #include "php_apache.h"
 
-AP_MODULE_DECLARE_DATA module php5_module = {
+AP_MODULE_DECLARE_DATA module php7_module = {
        STANDARD20_MODULE_STUFF,
        create_php_config,              /* create per-directory config structure */
        merge_php_config,               /* merge per-directory config structures */
index 9ad0f0a0adbc0fe08f8fac3e6d471ff872ef1cba..1469b0314d5a4d2e612001fffe3599f03a838f9d 100644 (file)
@@ -1 +1 @@
-php5_module
+php7_module
similarity index 83%
rename from sapi/apache2handler/php5apache2.dsp
rename to sapi/apache2handler/php7apache2.dsp
index 40cd58cb928d71eb669f30c0e4102337a2c3e3fc..d2f761c8e7cd5998cfd29f942c1ec6eaea38a133 100644 (file)
@@ -1,25 +1,25 @@
-# Microsoft Developer Studio Project File - Name="php5apache2" - Package Owner=<4>\r
+# Microsoft Developer Studio Project File - Name="php7apache2" - Package Owner=<4>\r
 # Microsoft Developer Studio Generated Build File, Format Version 6.00\r
 # ** DO NOT EDIT **\r
 \r
 # TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102\r
 \r
-CFG=php5apache2 - Win32 Debug_TS\r
+CFG=php7apache2 - Win32 Debug_TS\r
 !MESSAGE This is not a valid makefile. To build this project using NMAKE,\r
 !MESSAGE use the Export Makefile command and run\r
 !MESSAGE \r
-!MESSAGE NMAKE /f "php5apache2.mak".\r
+!MESSAGE NMAKE /f "php7apache2.mak".\r
 !MESSAGE \r
 !MESSAGE You can specify a configuration when running NMAKE\r
 !MESSAGE by defining the macro CFG on the command line. For example:\r
 !MESSAGE \r
-!MESSAGE NMAKE /f "php5apache2.mak" CFG="php5apache2 - Win32 Debug_TS"\r
+!MESSAGE NMAKE /f "php7apache2.mak" CFG="php7apache2 - Win32 Debug_TS"\r
 !MESSAGE \r
 !MESSAGE Possible choices for configuration are:\r
 !MESSAGE \r
-!MESSAGE "php5apache2 - Win32 Release_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
-!MESSAGE "php5apache2 - Win32 Release_TS_inline" (based on "Win32 (x86) Dynamic-Link Library")\r
-!MESSAGE "php5apache2 - Win32 Debug_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
+!MESSAGE "php7apache2 - Win32 Release_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
+!MESSAGE "php7apache2 - Win32 Release_TS_inline" (based on "Win32 (x86) Dynamic-Link Library")\r
+!MESSAGE "php7apache2 - Win32 Debug_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
 !MESSAGE \r
 \r
 # Begin Project\r
@@ -30,7 +30,7 @@ CPP=cl.exe
 MTL=midl.exe\r
 RSC=rc.exe\r
 \r
-!IF  "$(CFG)" == "php5apache2 - Win32 Release_TS"\r
+!IF  "$(CFG)" == "php7apache2 - Win32 Release_TS"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 0\r
@@ -54,9 +54,9 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 php5ts.lib libhttpd.lib libapr.lib libaprutil.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /libpath:"..\..\Release_TS" /libpath:"..\..\TSRM\Release_TS" /libpath:"..\..\Zend\Release_TS"\r
+# ADD LINK32 php7ts.lib libhttpd.lib libapr.lib libaprutil.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /libpath:"..\..\Release_TS" /libpath:"..\..\TSRM\Release_TS" /libpath:"..\..\Zend\Release_TS"\r
 \r
-!ELSEIF  "$(CFG)" == "php5apache2 - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7apache2 - Win32 Release_TS_inline"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 0\r
@@ -80,9 +80,9 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 php5ts.lib libhttpd.lib libapr.lib libaprutil.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS_inline/php5apache2.dll" /libpath:"..\..\Release_TS_inline" /libpath:"..\..\TSRM\Release_TS_inline" /libpath:"..\..\Zend\Release_TS_inline"\r
+# ADD LINK32 php7ts.lib libhttpd.lib libapr.lib libaprutil.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS_inline/php7apache2.dll" /libpath:"..\..\Release_TS_inline" /libpath:"..\..\TSRM\Release_TS_inline" /libpath:"..\..\Zend\Release_TS_inline"\r
 \r
-!ELSEIF  "$(CFG)" == "php5apache2 - Win32 Debug_TS"\r
+!ELSEIF  "$(CFG)" == "php7apache2 - Win32 Debug_TS"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 1\r
@@ -105,15 +105,15 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 php5ts_debug.lib libhttpd.lib libapr.lib libaprutil.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept /libpath:"..\..\Debug_TS" /libpath:"..\..\TSRM\Debug_TS" /libpath:"..\..\Zend\Debug_TS"\r
+# ADD LINK32 php7ts_debug.lib libhttpd.lib libapr.lib libaprutil.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept /libpath:"..\..\Debug_TS" /libpath:"..\..\TSRM\Debug_TS" /libpath:"..\..\Zend\Debug_TS"\r
 \r
 !ENDIF \r
 \r
 # Begin Target\r
 \r
-# Name "php5apache2 - Win32 Release_TS"\r
-# Name "php5apache2 - Win32 Release_TS_inline"\r
-# Name "php5apache2 - Win32 Debug_TS"\r
+# Name "php7apache2 - Win32 Release_TS"\r
+# Name "php7apache2 - Win32 Release_TS_inline"\r
+# Name "php7apache2 - Win32 Debug_TS"\r
 # Begin Group "Source Files"\r
 \r
 # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"\r
@@ -123,7 +123,7 @@ SOURCE=.\apache_config.c
 # End Source File\r
 # Begin Source File\r
 \r
-SOURCE=.\mod_php5.c\r
+SOURCE=.\mod_php7.c\r
 # End Source File\r
 # Begin Source File\r
 \r
index f1033c953970bf7c9dc6fa290c4d211e072291c9..fa8dd6ca6ea9ad79bdb9e11087e2567f7ba9ec35 100644 (file)
@@ -29,7 +29,7 @@
 #include "main/php_streams.h"
 
 /* Declare this so we can get to it from outside the sapi_apache2.c file */
-extern module AP_MODULE_DECLARE_DATA php5_module;
+extern module AP_MODULE_DECLARE_DATA php7_module;
 
 /* A way to specify the location of the php.ini dir in an apache directive */
 extern char *apache2_php_ini_path_override;
index d39a25a74ec02e0c53ceb318b16434e9c908a21b..65e02065a9f62ea49b0aeee696a7e9080a7d925e 100644 (file)
@@ -67,7 +67,7 @@
 
 #define PHP_MAGIC_TYPE "application/x-httpd-php"
 #define PHP_SOURCE_MAGIC_TYPE "application/x-httpd-php-source"
-#define PHP_SCRIPT "php5-script"
+#define PHP_SCRIPT "php7-script"
 
 /* A way to specify the location of the php.ini dir in an apache directive */
 char *apache2_php_ini_path_override = NULL;
@@ -515,7 +515,7 @@ typedef struct {
        HashTable config;
 } php_conf_rec;
                zend_string *str;
-               php_conf_rec *c = ap_get_module_config(r->per_dir_config, &php5_module);
+               php_conf_rec *c = ap_get_module_config(r->per_dir_config, &php7_module);
 
                ZEND_HASH_FOREACH_STR_KEY(&c->config, str) {
                        zend_restore_ini_entry(str, ZEND_INI_STAGE_SHUTDOWN);
@@ -540,7 +540,7 @@ static int php_handler(request_rec *r)
 
 #define PHPAP_INI_OFF php_apache_ini_dtor(r, parent_req TSRMLS_CC);
 
-       conf = ap_get_module_config(r->per_dir_config, &php5_module);
+       conf = ap_get_module_config(r->per_dir_config, &php7_module);
 
        /* apply_config() needs r in some cases, so allocate server_context early */
        ctx = SG(server_context);
index 4054e8e119533baebb85198012e4f0545b3a7be4..1e5e465f6588228d0d97f9a2d7d37a34f9ddc30f 100644 (file)
@@ -1,38 +1,38 @@
 ##
 ##  Apache 1.3 Makefile template for PHP 4.0 Module
-##  [src/modules/php5/Makefile.tmpl]
+##  [src/modules/php7/Makefile.tmpl]
 ##
 
 #   the parametrized target
-LIB=libphp5.$(LIBEXT)
+LIB=libphp7.$(LIBEXT)
 
 #   objects for building the static library
-OBJS=mod_php5.o
-OBJS_LIB=libmodphp5.a
+OBJS=mod_php7.o
+OBJS_LIB=libmodphp7.a
 
 #   objects for building the shared object library
-SHLIB_OBJS=mod_php5.so-o
-SHLIB_OBJS_LIB=libmodphp5.a
+SHLIB_OBJS=mod_php7.so-o
+SHLIB_OBJS_LIB=libmodphp7.a
 
 #   the general targets
 all: lib
 lib: $(LIB)
 
 #   build the static library by merging the object files
-libphp5.a: $(OBJS) $(OBJS_LIB)
+libphp7.a: $(OBJS) $(OBJS_LIB)
        cp $(OBJS_LIB) $@
        ar r $@ $(OBJS)
        $(RANLIB) $@
 
 #   ugly hack to support older Apache-1.3 betas that don't set $LIBEXT
-libphp5.: $(OBJS) $(OBJS_LIB)
+libphp7.: $(OBJS) $(OBJS_LIB)
        cp $(OBJS_LIB) $@
        ar r $@ $(OBJS)
        $(RANLIB) $@
-       cp libphp5. libphp5.a
+       cp libphp7. libphp7.a
 
 #   build the shared object library by linking the object files
-libphp5.so: $(SHLIB_OBJS) $(SHLIB_OBJS_LIB)
+libphp7.so: $(SHLIB_OBJS) $(SHLIB_OBJS_LIB)
        rm -f $@
        $(LD_SHLIB) $(LDFLAGS_SHLIB) -o $@ $(SHLIB_OBJS) $(SHLIB_OBJS_LIB) $(LIBS) $(PHP_LIBS) 
 
@@ -69,9 +69,9 @@ depend:
 $(OBJS): Makefile
 
 # DO NOT REMOVE
-mod_php5.o: mod_php5.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \
+mod_php7.o: mod_php7.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \
  $(INCDIR)/buff.h \
  $(INCDIR)/http_config.h \
  $(INCDIR)/http_core.h $(INCDIR)/http_main.h \
  $(INCDIR)/http_protocol.h $(INCDIR)/http_request.h \
- $(INCDIR)/http_log.h $(INCDIR)/util_script.h mod_php5.h
+ $(INCDIR)/http_log.h $(INCDIR)/util_script.h mod_php7.h
index e2c71b4274691750669c6ee94fa0381bf39279fc..a1ee213492fd2d17c577b7aa36351ee9b5c926a1 100644 (file)
@@ -79,7 +79,7 @@ if test "$PHP_APACHE_HOOKS" != "no"; then
   *darwin*)
     MH_BUNDLE_FLAGS="-dynamic -twolevel_namespace -bundle -bundle_loader $APXS_HTTPD"
     PHP_SUBST(MH_BUNDLE_FLAGS)
-    SAPI_SHARED=libs/libphp5.so
+    SAPI_SHARED=libs/libphp7.so
     build_type=bundle
     ;;
   *)
@@ -87,26 +87,26 @@ if test "$PHP_APACHE_HOOKS" != "no"; then
     ;;
   esac
 
-  PHP_SELECT_SAPI(apache_hooks, $build_type, sapi_apache.c mod_php5.c php_apache.c, $APACHE_CPPFLAGS -I$APXS_INCLUDEDIR)
+  PHP_SELECT_SAPI(apache_hooks, $build_type, sapi_apache.c mod_php7.c php_apache.c, $APACHE_CPPFLAGS -I$APXS_INCLUDEDIR)
 
   # Test whether apxs support -S option
   $APXS -q -S CFLAGS="$APXS_CFLAGS" CFLAGS >/dev/null 2>&1
 
   if test "$?" != "0"; then
-    APACHE_HOOKS_INSTALL="$APXS -i -a -n php5 $SAPI_SHARED" # Old apxs does not have -S option
+    APACHE_HOOKS_INSTALL="$APXS -i -a -n php7 $SAPI_SHARED" # Old apxs does not have -S option
   else 
     APXS_LIBEXECDIR='$(INSTALL_ROOT)'`$APXS -q LIBEXECDIR`
     if test -z `$APXS -q SYSCONFDIR`; then
       APACHE_HOOKS_INSTALL="\$(mkinstalldirs) '$APXS_LIBEXECDIR' && \
                        $APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' \
-                             -i -n php5 $SAPI_SHARED"
+                             -i -n php7 $SAPI_SHARED"
     else
       APXS_SYSCONFDIR='$(INSTALL_ROOT)'`$APXS -q SYSCONFDIR`
       APACHE_HOOKS_INSTALL="\$(mkinstalldirs) '$APXS_LIBEXECDIR' && \
                       \$(mkinstalldirs) '$APXS_SYSCONFDIR' && \
                        $APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' \
                              -S SYSCONFDIR='$APXS_SYSCONFDIR' \
-                             -i -a -n php5 $SAPI_SHARED"
+                             -i -a -n php7 $SAPI_SHARED"
     fi
   fi
 
@@ -137,7 +137,7 @@ if test "$PHP_SAPI" != "apache" && test "$PHP_SAPI" != "apache_hooks" && test "$
     PHP_APACHE_HOOKS_STATIC=/usr/local/apache
   fi
 
-  APACHE_HOOKS_INSTALL_FILES="\$(srcdir)/sapi/apache_hooks/mod_php5.* sapi/apache_hooks/libphp5.module"
+  APACHE_HOOKS_INSTALL_FILES="\$(srcdir)/sapi/apache_hooks/mod_php7.* sapi/apache_hooks/libphp7.module"
 
   AC_DEFINE(HAVE_APACHE,1,[ ])
   APACHE_HOOKS_MODULE=yes
@@ -146,7 +146,7 @@ if test "$PHP_SAPI" != "apache" && test "$PHP_SAPI" != "apache_hooks" && test "$
   if test -f $PHP_APACHE_HOOKS_STATIC/src/httpd.h; then 
     APACHE_INCLUDE=-I$PHP_APACHE_HOOKS_STATIC/src
     APACHE_TARGET=$PHP_APACHE_HOOKS_STATIC/src
-    PHP_SELECT_SAPI(apache_hooks, static, sapi_apache.c mod_php5.c php_apache.c, $APACHE_INCLUDE)
+    PHP_SELECT_SAPI(apache_hooks, static, sapi_apache.c mod_php7.c php_apache.c, $APACHE_INCLUDE)
     APACHE_HOOKS_INSTALL="mkdir -p $APACHE_TARGET; cp $SAPI_STATIC $APACHE_HOOKS_INSTALL_FILES $APACHE_TARGET"
     PHP_LIBS="-L. -lphp3"
     AC_MSG_RESULT([yes - Apache 1.2.x])
@@ -161,13 +161,13 @@ if test "$PHP_SAPI" != "apache" && test "$PHP_SAPI" != "apache_hooks" && test "$
   elif test -f $PHP_APACHE_HOOKS_STATIC/src/main/httpd.h; then
     APACHE_HAS_REGEX=1
     APACHE_INCLUDE="-I$PHP_APACHE_HOOKS_STATIC/src/main -I$PHP_APACHE_HOOKS_STATIC/src/os/unix -I$PHP_APACHE_HOOKS_STATIC/src/ap"
-    APACHE_TARGET=$PHP_APACHE_HOOKS_STATIC/src/modules/php5
+    APACHE_TARGET=$PHP_APACHE_HOOKS_STATIC/src/modules/php7
     if test ! -d $APACHE_TARGET; then
       mkdir $APACHE_TARGET
     fi
-    PHP_SELECT_SAPI(apache_hooks, static, sapi_apache.c mod_php5.c php_apache.c, $APACHE_INCLUDE)
-    APACHE_HOOKS_INSTALL="mkdir -p $APACHE_TARGET; cp $SAPI_STATIC $APACHE_TARGET/libmodphp5.a; cp $APACHE_HOOKS_INSTALL_FILES $APACHE_TARGET; cp $srcdir/sapi/apache_hooks/apMakefile.tmpl $APACHE_TARGET/Makefile.tmpl; cp $srcdir/sapi/apache_hooks/apMakefile.libdir $APACHE_TARGET/Makefile.libdir"
-    PHP_LIBS="-Lmodules/php5 -L../modules/php5 -L../../modules/php5 -lmodphp5"
+    PHP_SELECT_SAPI(apache_hooks, static, sapi_apache.c mod_php7.c php_apache.c, $APACHE_INCLUDE)
+    APACHE_HOOKS_INSTALL="mkdir -p $APACHE_TARGET; cp $SAPI_STATIC $APACHE_TARGET/libmodphp7.a; cp $APACHE_HOOKS_INSTALL_FILES $APACHE_TARGET; cp $srcdir/sapi/apache_hooks/apMakefile.tmpl $APACHE_TARGET/Makefile.tmpl; cp $srcdir/sapi/apache_hooks/apMakefile.libdir $APACHE_TARGET/Makefile.libdir"
+    PHP_LIBS="-Lmodules/php7 -L../modules/php7 -L../../modules/php7 -lmodphp7"
     AC_MSG_RESULT([yes - Apache 1.3.x])
     STRONGHOLD=
     if test -f $PHP_APACHE_HOOKS_STATIC/src/include/ap_config.h; then
@@ -185,13 +185,13 @@ if test "$PHP_SAPI" != "apache" && test "$PHP_SAPI" != "apache_hooks" && test "$
   elif test -f $PHP_APACHE_HOOKS_STATIC/src/include/httpd.h; then
     APACHE_HAS_REGEX=1
     APACHE_INCLUDE="-I$PHP_APACHE_HOOKS_STATIC/src/include -I$PHP_APACHE_HOOKS_STATIC/src/os/unix"
-    APACHE_TARGET=$PHP_APACHE_HOOKS_STATIC/src/modules/php5
+    APACHE_TARGET=$PHP_APACHE_HOOKS_STATIC/src/modules/php7
     if test ! -d $APACHE_TARGET; then
       mkdir $APACHE_TARGET
     fi
-    PHP_SELECT_SAPI(apache_hooks, static, sapi_apache.c mod_php5.c php_apache.c, $APACHE_INCLUDE)
-    PHP_LIBS="-Lmodules/php5 -L../modules/php5 -L../../modules/php5 -lmodphp5"
-    APACHE_HOOKS_INSTALL="mkdir -p $APACHE_TARGET; cp $SAPI_STATIC $APACHE_TARGET/libmodphp5.a; cp $APACHE_HOOKS_INSTALL_FILES $APACHE_TARGET; cp $srcdir/sapi/apache_hooks/apMakefile.tmpl $APACHE_TARGET/Makefile.tmpl; cp $srcdir/sapi/apache_hooks/apMakefile.libdir $APACHE_TARGET/Makefile.libdir"
+    PHP_SELECT_SAPI(apache_hooks, static, sapi_apache.c mod_php7.c php_apache.c, $APACHE_INCLUDE)
+    PHP_LIBS="-Lmodules/php7 -L../modules/php7 -L../../modules/php7 -lmodphp7"
+    APACHE_HOOKS_INSTALL="mkdir -p $APACHE_TARGET; cp $SAPI_STATIC $APACHE_TARGET/libmodphp7.a; cp $APACHE_HOOKS_INSTALL_FILES $APACHE_TARGET; cp $srcdir/sapi/apache_hooks/apMakefile.tmpl $APACHE_TARGET/Makefile.tmpl; cp $srcdir/sapi/apache_hooks/apMakefile.libdir $APACHE_TARGET/Makefile.libdir"
     AC_MSG_RESULT([yes - Apache 1.3.x])
     STRONGHOLD=
     if test -f $PHP_APACHE_HOOKS_STATIC/src/include/ap_config.h; then
@@ -209,9 +209,9 @@ if test "$PHP_SAPI" != "apache" && test "$PHP_SAPI" != "apache_hooks" && test "$
   elif test -f $PHP_APACHE_HOOKS_STATIC/apache/httpd.h; then
     APACHE_INCLUDE="-I$PHP_APACHE_HOOKS_STATIC/apache -I$PHP_APACHE_HOOKS_STATIC/ssl/include"
     APACHE_TARGET=$PHP_APACHE_HOOKS_STATIC/apache
-    PHP_SELECT_SAPI(apache_hooks, static, sapi_apache.c mod_php5.c php_apache.c, $APACHE_INCLUDE)
-    PHP_LIBS="-Lmodules/php5 -L../modules/php5 -L../../modules/php5 -lmodphp5"
-    APACHE_HOOKS_INSTALL="mkdir -p $APACHE_TARGET; cp $SAPI_STATIC $APACHE_TARGET/libmodphp5.a; cp $APACHE_HOOKS_INSTALL_FILES $APACHE_TARGET"
+    PHP_SELECT_SAPI(apache_hooks, static, sapi_apache.c mod_php7.c php_apache.c, $APACHE_INCLUDE)
+    PHP_LIBS="-Lmodules/php7 -L../modules/php7 -L../../modules/php7 -lmodphp7"
+    APACHE_HOOKS_INSTALL="mkdir -p $APACHE_TARGET; cp $SAPI_STATIC $APACHE_TARGET/libmodphp7.a; cp $APACHE_HOOKS_INSTALL_FILES $APACHE_TARGET"
     STRONGHOLD=-DSTRONGHOLD=1
     AC_MSG_RESULT([yes - StrongHold])
     if test -f $PHP_APACHE_HOOKS_STATIC/apache/ap_config.h; then
@@ -249,13 +249,13 @@ dnl Build as static module
 if test "$APACHE_HOOKS_MODULE" = "yes"; then
   PHP_TARGET_RDYNAMIC
   $php_shtool mkdir -p sapi/apache_hooks
-  PHP_OUTPUT(sapi/apache_hooks/libphp5.module)
+  PHP_OUTPUT(sapi/apache_hooks/libphp7.module)
 fi
 
 dnl General
 if test -n "$APACHE_HOOKS_INSTALL"; then
   if test "x$APXS" != "x" -a "`uname -sv`" = "AIX 4" -a "$GCC" != "yes"; then
-    APXS_EXP=-bE:sapi/apache_hooks/mod_php5.exp
+    APXS_EXP=-bE:sapi/apache_hooks/mod_php7.exp
   fi
 
   PHP_APACHE_FD_CHECK
index 85dc624d60b37455ecf1d953b01be8127296a947..1c9129e6155094749232445cf5e062e74b331b07 100644 (file)
@@ -12,9 +12,9 @@ if (PHP_APACHE_HOOKS != "no") {
                                ";" + PHP_PHP_BUILD + "\\apache\\src\\corer")) {
                // We need to play tricks to get our readdir.h used by apache
                // headers
-               SAPI('apache_hooks', 'mod_php5.c sapi_apache.c php_apache.c',
+               SAPI('apache_hooks', 'mod_php7.c sapi_apache.c php_apache.c',
                                'php' + PHP_VERSION + 'apache_hooks.dll',
-                               '/D APACHEPHP5_EXPORTS /D APACHE_READDIR_H /I win32');
+                               '/D APACHEPHP7_EXPORTS /D APACHE_READDIR_H /I win32');
        } else {
                WARNING("Could not find apache libraries/headers");
        }
similarity index 96%
rename from sapi/apache_hooks/libphp5.module.in
rename to sapi/apache_hooks/libphp7.module.in
index 848818189701eed50f4e6c6712ef8ac6e9698fbb..5bea79ef950a67f44563b5e418946766310071b6 100644 (file)
@@ -1,4 +1,4 @@
-Name: php5_module
+Name: php7_module
 ConfigStart
        RULE_WANTHSREGEX=no
        RULE_HIDE=yes
diff --git a/sapi/apache_hooks/mod_php5.exp b/sapi/apache_hooks/mod_php5.exp
deleted file mode 100644 (file)
index 9ad0f0a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-php5_module
similarity index 98%
rename from sapi/apache_hooks/mod_php5.c
rename to sapi/apache_hooks/mod_php7.c
index 901d3b57a3ec12eafef28bf48c8927b30827df51..33e0931fb6c67f4d8dc4bc55ba55e8263c780a0d 100644 (file)
@@ -84,11 +84,11 @@ static CONST_PREFIX char *php_apache_flag_handler(cmd_parms *cmd, php_per_dir_co
 static CONST_PREFIX char *php_apache_flag_handler_ex(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2, int mode);
 static CONST_PREFIX char *php_apache_admin_flag_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1, char *arg2);
 
-/* ### these should be defined in mod_php5.h or somewhere else */
+/* ### these should be defined in mod_php7.h or somewhere else */
 #define USE_PATH 1
 #define IGNORE_URL 2
 
-module MODULE_VAR_EXPORT php5_module;
+module MODULE_VAR_EXPORT php7_module;
 
 int saved_umask;
 /* static int setup_env = 0; */
@@ -667,7 +667,7 @@ static int send_php(request_rec *r, int display_source_mode, char *filename)
                        return DECLINED;
                }
 
-               per_dir_conf = (php_per_dir_config *) get_module_config(r->per_dir_config, &php5_module);
+               per_dir_conf = (php_per_dir_config *) get_module_config(r->per_dir_config, &php7_module);
                if (per_dir_conf) {
                        zend_hash_apply((HashTable *) per_dir_conf->ini_settings, (apply_func_t) php_apache_alter_ini_entries TSRMLS_CC);
                }
@@ -934,7 +934,7 @@ static CONST_PREFIX char *php_set_server_handler(server_rec *s, char *arg1, long
        handler->type = handler_type;
        handler->stage = handler_stage;
        handler->name = strdup(arg1);
-       conf = get_module_config(s->module_config, &php5_module);
+       conf = get_module_config(s->module_config, &php7_module);
        switch(handler_stage) {
                case AP_URI_TRANS:
                        sapi_stack_push(&conf->uri_handlers, handler);
@@ -1184,7 +1184,7 @@ static int php_xbithack_handler(request_rec * r)
                r->allowed |= (1 << METHODS) - 1;
                return DECLINED;
        }
-       conf = (php_per_dir_config *) get_module_config(r->per_dir_config, &php5_module);
+       conf = (php_per_dir_config *) get_module_config(r->per_dir_config, &php7_module);
        if (conf) {
                zend_hash_apply((HashTable *) conf->ini_settings, (apply_func_t) php_apache_alter_ini_entries TSRMLS_CC);
        }
@@ -1266,7 +1266,7 @@ static int php_run_hook(php_handler *handler, request_rec *r)
        TSRMLS_FETCH();
 
        if(!AP(apache_config_loaded)) {
-               conf = (php_per_dir_config *) get_module_config(r->per_dir_config, &php5_module);
+               conf = (php_per_dir_config *) get_module_config(r->per_dir_config, &php7_module);
                if (conf)
                           zend_hash_apply((HashTable *)conf->ini_settings, (apply_func_t) php_apache_alter_ini_entries TSRMLS_CC);
                AP(apache_config_loaded) = 1;
@@ -1298,7 +1298,7 @@ static int php_uri_translation(request_rec *r)
        php_per_server_config *conf;
        TSRMLS_FETCH();
        AP(current_hook) = AP_URI_TRANS;
-       conf = (php_per_server_config *) get_module_config(r->server->module_config, &php5_module);
+       conf = (php_per_server_config *) get_module_config(r->server->module_config, &php7_module);
        return sapi_stack_apply_with_argument_stop_if_equals(&conf->uri_handlers, 
                        ZEND_STACK_APPLY_BOTTOMUP, 
                        (int (*)(void *element, void *)) php_run_hook, r, OK);
@@ -1309,7 +1309,7 @@ static int php_header_hook(request_rec *r)
        php_per_dir_config *conf;
        TSRMLS_FETCH();
        AP(current_hook) = AP_HEADER_PARSE;
-       conf = (php_per_dir_config *) get_module_config(r->per_dir_config, &php5_module);
+       conf = (php_per_dir_config *) get_module_config(r->per_dir_config, &php7_module);
        return sapi_stack_apply_with_argument_stop_if_http_error(&conf->headers_handlers,
                        ZEND_STACK_APPLY_BOTTOMUP,
                        (int (*)(void *element, void *)) php_run_hook, r);
@@ -1320,7 +1320,7 @@ static int php_auth_hook(request_rec *r)
        php_per_dir_config *conf;
        TSRMLS_FETCH();
        AP(current_hook) = AP_AUTHENTICATION;
-       conf = (php_per_dir_config *) get_module_config(r->per_dir_config, &php5_module);
+       conf = (php_per_dir_config *) get_module_config(r->per_dir_config, &php7_module);
        return sapi_stack_apply_with_argument_stop_if_equals(&conf->auth_handlers, 
                        ZEND_STACK_APPLY_BOTTOMUP, 
                        (int (*)(void *element, void *)) php_run_hook, r, OK);
@@ -1332,7 +1332,7 @@ static int php_access_hook(request_rec *r)
        int status = DECLINED;
        TSRMLS_FETCH();
        AP(current_hook) = AP_ACCESS_CONTROL;
-       conf = (php_per_dir_config *) get_module_config(r->per_dir_config, &php5_module);
+       conf = (php_per_dir_config *) get_module_config(r->per_dir_config, &php7_module);
        status =  sapi_stack_apply_with_argument_stop_if_http_error(&conf->access_handlers,
                        ZEND_STACK_APPLY_BOTTOMUP,
                        (int (*)(void *element, void *)) php_run_hook, r);
@@ -1345,7 +1345,7 @@ static int php_type_hook(request_rec *r)
        php_per_dir_config *conf;
        TSRMLS_FETCH();
        AP(current_hook) = AP_TYPE_CHECKING;
-       conf = (php_per_dir_config *) get_module_config(r->per_dir_config, &php5_module);
+       conf = (php_per_dir_config *) get_module_config(r->per_dir_config, &php7_module);
        return sapi_stack_apply_with_argument_stop_if_equals(&conf->type_handlers,
                        ZEND_STACK_APPLY_BOTTOMUP,
                        (int (*)(void *element, void *)) php_run_hook,
@@ -1357,7 +1357,7 @@ static int php_fixup_hook(request_rec *r)
        php_per_dir_config *conf;
        TSRMLS_FETCH();
        AP(current_hook) = AP_FIXUP;
-       conf = (php_per_dir_config *) get_module_config(r->per_dir_config, &php5_module);
+       conf = (php_per_dir_config *) get_module_config(r->per_dir_config, &php7_module);
        return sapi_stack_apply_with_argument_stop_if_http_error(&conf->fixup_handlers,
                        ZEND_STACK_APPLY_BOTTOMUP,
                        (int (*)(void *element, void *)) php_run_hook,
@@ -1369,7 +1369,7 @@ static int php_logger_hook(request_rec *r)
        php_per_dir_config *conf;
        TSRMLS_FETCH();
        AP(current_hook) = AP_LOGGING;
-       conf = (php_per_dir_config *) get_module_config(r->per_dir_config, &php5_module);
+       conf = (php_per_dir_config *) get_module_config(r->per_dir_config, &php7_module);
        return sapi_stack_apply_with_argument_stop_if_http_error(&conf->logger_handlers,
                        ZEND_STACK_APPLY_BOTTOMUP,
                        (int (*)(void *element, void *)) php_run_hook,
@@ -1382,11 +1382,11 @@ static int php_post_read_hook(request_rec *r)
        php_per_server_config *svr;
        TSRMLS_FETCH();
        AP(current_hook) = AP_POST_READ;
-       svr = get_module_config(r->server->module_config, &php5_module);
+       svr = get_module_config(r->server->module_config, &php7_module);
        if(ap_is_initial_req(r)) {
                sapi_stack_apply_with_argument_all(&svr->requires, ZEND_STACK_APPLY_BOTTOMUP, (int (*)(void *element, void *)) php_run_hook, r);
        }
-       conf = (php_per_dir_config *) get_module_config(r->per_dir_config, &php5_module);
+       conf = (php_per_dir_config *) get_module_config(r->per_dir_config, &php7_module);
        return sapi_stack_apply_with_argument_stop_if_http_error(&conf->post_read_handlers,
                        ZEND_STACK_APPLY_BOTTOMUP,
                        (int (*)(void *element, void *)) php_run_hook, r);
@@ -1397,7 +1397,7 @@ static int php_response_handler(request_rec *r)
        php_per_dir_config *conf;
        TSRMLS_FETCH();
        AP(current_hook) = AP_RESPONSE;
-       conf = (php_per_dir_config *) get_module_config(r->per_dir_config, &php5_module);
+       conf = (php_per_dir_config *) get_module_config(r->per_dir_config, &php7_module);
        return sapi_stack_apply_with_argument_all(&conf->response_handlers, ZEND_STACK_APPLY_BOTTOMUP, (int (*)(void *element, void *)) php_run_hook, r);
 }
 
@@ -1449,9 +1449,9 @@ command_rec php_commands[] =
 };
 /* }}} */
 
-/* {{{ module MODULE_VAR_EXPORT php5_module
+/* {{{ module MODULE_VAR_EXPORT php7_module
  */
-module MODULE_VAR_EXPORT php5_module =
+module MODULE_VAR_EXPORT php7_module =
 {
        STANDARD_MODULE_STUFF,
        php_init_handler,                       /* initializer */
diff --git a/sapi/apache_hooks/mod_php7.exp b/sapi/apache_hooks/mod_php7.exp
new file mode 100644 (file)
index 0000000..1469b03
--- /dev/null
@@ -0,0 +1 @@
+php7_module
similarity index 97%
rename from sapi/apache_hooks/mod_php5.h
rename to sapi/apache_hooks/mod_php7.h
index 3db828ec832c5d072af1e56724fe20f01e5b466a..612aab523a79490e56550d98dc796e685ad6c57d 100644 (file)
@@ -17,8 +17,8 @@
  */
 /* $Id$ */
 
-#ifndef MOD_PHP5_H
-#define MOD_PHP5_H
+#ifndef MOD_PHP7_H
+#define MOD_PHP7_H
 
 #if !defined(WIN32) && !defined(WINNT)
 #ifndef MODULE_VAR_EXPORT
@@ -78,7 +78,7 @@ extern php_apache_info_struct php_apache_info;
 # define MODULE_VAR_EXPORT PHPAPI
 #endif
 
-#endif                                                 /* MOD_PHP5_H */
+#endif                                                 /* MOD_PHP7_H */
 
 /*
  * Local variables:
index 9ad0f0a0adbc0fe08f8fac3e6d471ff872ef1cba..1469b0314d5a4d2e612001fffe3599f03a838f9d 100644 (file)
@@ -1 +1 @@
-php5_module
+php7_module
old mode 100755 (executable)
new mode 100644 (file)
similarity index 79%
rename from sapi/apache_hooks/php5apache_hooks.dsp
rename to sapi/apache_hooks/php7apache_hooks.dsp
index cc60f4b..2a786cd
@@ -1,25 +1,25 @@
-# Microsoft Developer Studio Project File - Name="php5apache_hooks" - Package Owner=<4>\r
+# Microsoft Developer Studio Project File - Name="php7apache_hooks" - Package Owner=<4>\r
 # Microsoft Developer Studio Generated Build File, Format Version 6.00\r
 # ** DO NOT EDIT **\r
 \r
 # TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102\r
 \r
-CFG=php5apache_hooks - Win32 Release_TS\r
+CFG=php7apache_hooks - Win32 Release_TS\r
 !MESSAGE This is not a valid makefile. To build this project using NMAKE,\r
 !MESSAGE use the Export Makefile command and run\r
 !MESSAGE \r
-!MESSAGE NMAKE /f "php5apache_hooks.mak".\r
+!MESSAGE NMAKE /f "php7apache_hooks.mak".\r
 !MESSAGE \r
 !MESSAGE You can specify a configuration when running NMAKE\r
 !MESSAGE by defining the macro CFG on the command line. For example:\r
 !MESSAGE \r
-!MESSAGE NMAKE /f "php5apache_hooks.mak" CFG="php5apache_hooks - Win32 Release_TS"\r
+!MESSAGE NMAKE /f "php7apache_hooks.mak" CFG="php7apache_hooks - Win32 Release_TS"\r
 !MESSAGE \r
 !MESSAGE Possible choices for configuration are:\r
 !MESSAGE \r
-!MESSAGE "php5apache_hooks - Win32 Release_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
-!MESSAGE "php5apache_hooks - Win32 Debug_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
-!MESSAGE "php5apache_hooks - Win32 Release_TS_inline" (based on "Win32 (x86) Dynamic-Link Library")\r
+!MESSAGE "php7apache_hooks - Win32 Release_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
+!MESSAGE "php7apache_hooks - Win32 Debug_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
+!MESSAGE "php7apache_hooks - Win32 Release_TS_inline" (based on "Win32 (x86) Dynamic-Link Library")\r
 !MESSAGE \r
 \r
 # Begin Project\r
@@ -30,7 +30,7 @@ CPP=cl.exe
 MTL=midl.exe\r
 RSC=rc.exe\r
 \r
-!IF  "$(CFG)" == "php5apache_hooks - Win32 Release_TS"\r
+!IF  "$(CFG)" == "php7apache_hooks - Win32 Release_TS"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 0\r
@@ -43,8 +43,8 @@ RSC=rc.exe
 # PROP Intermediate_Dir "Release_TS"\r
 # PROP Ignore_Export_Lib 0\r
 # PROP Target_Dir ""\r
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "APACHEPHP5_EXPORTS" /YX /FD /c\r
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "...\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\..\regex" /I "..\.." /I "..\..\..\bindlib_w32" /I "..\..\..\php_build\apache\src\include" /I "..\..\main" /I "..\..\TSRM" /D ZEND_DEBUG=0 /D "NDEBUG" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "_WINDOWS" /D "_USRDLL" /D "APACHEPHP5_EXPORTS" /D "WIN32" /D "_MBCS" /D "APACHE_READDIR_H" /YX /FD /c\r
+# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "APACHEPHP7_EXPORTS" /YX /FD /c\r
+# ADD CPP /nologo /MD /W3 /GX /O2 /I "...\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\..\regex" /I "..\.." /I "..\..\..\bindlib_w32" /I "..\..\..\php_build\apache\src\include" /I "..\..\main" /I "..\..\TSRM" /D ZEND_DEBUG=0 /D "NDEBUG" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "_WINDOWS" /D "_USRDLL" /D "APACHEPHP7_EXPORTS" /D "WIN32" /D "_MBCS" /D "APACHE_READDIR_H" /YX /FD /c\r
 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD BASE RSC /l 0x409 /d "NDEBUG"\r
@@ -54,9 +54,9 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 php5ts.lib ApacheCore.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x60000000" /version:4.0 /dll /machine:I386 /libpath:"..\..\..\php_build\apache\src\corer" /libpath:"..\..\Release_TS" /libpath:"..\..\TSRM\Release_TS" /libpath:"..\..\Zend\Release_TS"\r
+# ADD LINK32 php7ts.lib ApacheCore.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x60000000" /version:4.0 /dll /machine:I386 /libpath:"..\..\..\php_build\apache\src\corer" /libpath:"..\..\Release_TS" /libpath:"..\..\TSRM\Release_TS" /libpath:"..\..\Zend\Release_TS"\r
 \r
-!ELSEIF  "$(CFG)" == "php5apache_hooks - Win32 Debug_TS"\r
+!ELSEIF  "$(CFG)" == "php7apache_hooks - Win32 Debug_TS"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 0\r
@@ -69,8 +69,8 @@ LINK32=link.exe
 # PROP Intermediate_Dir "Debug_TS"\r
 # PROP Ignore_Export_Lib 0\r
 # PROP Target_Dir ""\r
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "APACHEPHP5_EXPORTS" /YX /FD /c\r
-# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "...\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\..\regex" /I "..\.." /I "..\..\..\bindlib_w32" /I "..\..\..\php_build\apache\src\include" /I "..\..\main" /I "..\..\TSRM" /D "_DEBUG" /D ZEND_DEBUG=1 /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "_WINDOWS" /D "_USRDLL" /D "APACHEPHP5_EXPORTS" /D "WIN32" /D "_MBCS" /D "APACHE_READDIR_H" /FR /YX /FD /c\r
+# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "APACHEPHP7_EXPORTS" /YX /FD /c\r
+# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "...\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\..\regex" /I "..\.." /I "..\..\..\bindlib_w32" /I "..\..\..\php_build\apache\src\include" /I "..\..\main" /I "..\..\TSRM" /D "_DEBUG" /D ZEND_DEBUG=1 /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "_WINDOWS" /D "_USRDLL" /D "APACHEPHP7_EXPORTS" /D "WIN32" /D "_MBCS" /D "APACHE_READDIR_H" /FR /YX /FD /c\r
 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD BASE RSC /l 0x409 /d "NDEBUG"\r
@@ -80,9 +80,9 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 php5ts_debug.lib ApacheCore.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x60000000" /version:4.0 /dll /incremental:yes /debug /machine:I386 /out:"..\..\Debug_TS/php5apache_hooks.dll" /pdbtype:sept /libpath:"..\..\..\php_build\apache\src\cored" /libpath:"..\..\Debug_TS" /libpath:"..\..\TSRM\Debug_TS" /libpath:"..\..\Zend\Debug_TS"\r
+# ADD LINK32 php7ts_debug.lib ApacheCore.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x60000000" /version:4.0 /dll /incremental:yes /debug /machine:I386 /out:"..\..\Debug_TS/php7apache_hooks.dll" /pdbtype:sept /libpath:"..\..\..\php_build\apache\src\cored" /libpath:"..\..\Debug_TS" /libpath:"..\..\TSRM\Debug_TS" /libpath:"..\..\Zend\Debug_TS"\r
 \r
-!ELSEIF  "$(CFG)" == "php5apache_hooks - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7apache_hooks - Win32 Release_TS_inline"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 0\r
@@ -95,8 +95,8 @@ LINK32=link.exe
 # PROP Intermediate_Dir "Release_TS_inline"\r
 # PROP Ignore_Export_Lib 0\r
 # PROP Target_Dir ""\r
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "APACHEPHP5_EXPORTS" /YX /FD /c\r
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "...\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\..\regex" /I "..\.." /I "..\..\..\bindlib_w32" /I "..\..\..\php_build\apache\src\include" /I "..\..\main" /I "..\..\TSRM" /D ZEND_DEBUG=0 /D "ZEND_WIN32_FORCE_INLINE" /D "NDEBUG" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "_WINDOWS" /D "_USRDLL" /D "APACHEPHP5_EXPORTS" /D "WIN32" /D "_MBCS" /D "APACHE_READDIR_H" /YX /FD /c\r
+# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "APACHEPHP7_EXPORTS" /YX /FD /c\r
+# ADD CPP /nologo /MD /W3 /GX /O2 /I "...\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\..\regex" /I "..\.." /I "..\..\..\bindlib_w32" /I "..\..\..\php_build\apache\src\include" /I "..\..\main" /I "..\..\TSRM" /D ZEND_DEBUG=0 /D "ZEND_WIN32_FORCE_INLINE" /D "NDEBUG" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "_WINDOWS" /D "_USRDLL" /D "APACHEPHP7_EXPORTS" /D "WIN32" /D "_MBCS" /D "APACHE_READDIR_H" /YX /FD /c\r
 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD BASE RSC /l 0x409 /d "NDEBUG"\r
@@ -106,21 +106,21 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 php5ts.lib ApacheCore.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /version:4.0 /dll /machine:I386 /libpath:"\apache\src\corer" /libpath:"..\..\Release_TS_inline" /libpath:"..\..\TSRM\Release_TS_inline" /libpath:"..\..\Zend\Release_TS_inline"\r
+# ADD LINK32 php7ts.lib ApacheCore.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /version:4.0 /dll /machine:I386 /libpath:"\apache\src\corer" /libpath:"..\..\Release_TS_inline" /libpath:"..\..\TSRM\Release_TS_inline" /libpath:"..\..\Zend\Release_TS_inline"\r
 \r
 !ENDIF \r
 \r
 # Begin Target\r
 \r
-# Name "php5apache_hooks - Win32 Release_TS"\r
-# Name "php5apache_hooks - Win32 Debug_TS"\r
-# Name "php5apache_hooks - Win32 Release_TS_inline"\r
+# Name "php7apache_hooks - Win32 Release_TS"\r
+# Name "php7apache_hooks - Win32 Debug_TS"\r
+# Name "php7apache_hooks - Win32 Release_TS_inline"\r
 # Begin Group "Source Files"\r
 \r
 # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"\r
 # Begin Source File\r
 \r
-SOURCE=.\mod_php5.c\r
+SOURCE=.\mod_php7.c\r
 # End Source File\r
 # Begin Source File\r
 \r
@@ -136,7 +136,7 @@ SOURCE=.\sapi_apache.c
 # PROP Default_Filter "h;hpp;hxx;hm;inl"\r
 # Begin Source File\r
 \r
-SOURCE=.\mod_php5.h\r
+SOURCE=.\mod_php7.h\r
 # End Source File\r
 # Begin Source File\r
 \r
index 23cf7fea69d4557404351956ceb8e59dec58987f..e6610741c764eb4501080ae6dd99eb7b873faad9 100644 (file)
@@ -36,7 +36,7 @@
 #include "php_ini.h"
 #include "ext/standard/php_standard.h"
 
-#include "mod_php5.h"
+#include "mod_php7.h"
 
 
 zval *php_apache_request_new(request_rec *r);
index 946f7a039eec0f3066ff0d05ef21030efb55496a..1b9754dc2c6902decae9e40cc57e90098c5d98dd 100644 (file)
@@ -38,7 +38,7 @@
  */
 #define NO_PIKE_SHORTHAND
 
-/* Ok, we are now using Pike level threads to handle PHP5 since
+/* Ok, we are now using Pike level threads to handle PHP7 since
  * the nice th_farm threads aren't working on Linux with glibc 2.2
  * (why this is I don't know).
  */
@@ -79,7 +79,7 @@
 #endif
 
 #ifndef PIKE_THREADS
-#error The PHP5 module requires that your Pike has thread support.
+#error The PHP7 module requires that your Pike has thread support.
 #endif
 
 #undef HIDE_GLOBAL_VARIABLES
@@ -625,7 +625,7 @@ static void php_caudium_module_main(php_caudium_request *ureq)
     SG(request_info).headers_only = 0;
   }
 
-  /* Let PHP5 handle the deconding of the AUTH */
+  /* Let PHP7 handle the deconding of the AUTH */
   php_handle_auth_data(lookup_string_header("HTTP_AUTHORIZATION", NULL), TSRMLS_C);
    /* Swap out this thread and release the interpreter lock to allow
    * Pike threads to run. We wait since the above would otherwise require
diff --git a/sapi/caudium/caudium.c.orig b/sapi/caudium/caudium.c.orig
new file mode 100644 (file)
index 0000000..946f7a0
--- /dev/null
@@ -0,0 +1,783 @@
+/* 
+   +----------------------------------------------------------------------+
+   | PHP Version 5                                                        |
+   +----------------------------------------------------------------------+
+   | Copyright (c) 1997-2014 The PHP Group                                |
+   +----------------------------------------------------------------------+
+   | This source file is subject to version 3.01 of the PHP license,      |
+   | that is bundled with this package in the file LICENSE, and is        |
+   | available through the world-wide-web at the following url:           |
+   | http://www.php.net/license/3_01.txt                                  |
+   | If you did not receive a copy of the PHP license and are unable to   |
+   | obtain it through the world-wide-web, please send a note to          |
+   | license@php.net so we can mail you a copy immediately.               |
+   +----------------------------------------------------------------------+
+   | Author: David Hedbor <neotron@php.net>                               |
+   | Based on aolserver SAPI by Sascha Schumann <sascha@schumann.cx>      |
+   +----------------------------------------------------------------------+
+ */
+
+/* $Id$ */
+
+#include "php.h"
+#ifdef HAVE_CAUDIUM
+
+#include "php_ini.h"
+#include "php_globals.h"
+#include "SAPI.h"
+#include "php_main.h" 
+#include "ext/standard/info.h"
+
+#include "php_version.h"
+
+/* Pike Include Files 
+ *
+ * conflicts with pike avoided by only using long names. Requires a new
+ * Pike 0.7 since it was implemented for this interface only.
+ *
+ */
+#define NO_PIKE_SHORTHAND
+
+/* Ok, we are now using Pike level threads to handle PHP5 since
+ * the nice th_farm threads aren't working on Linux with glibc 2.2
+ * (why this is I don't know).
+ */
+#define USE_PIKE_LEVEL_THREADS
+
+#include <fdlib.h>
+#include <program.h>
+#include <pike_types.h>
+#include <interpret.h>
+#include <module_support.h>
+#include <array.h>
+#include <backend.h>
+#include <stralloc.h>
+#include <mapping.h>
+#include <object.h>
+#include <threads.h>
+#include <builtin_functions.h>
+#include <operators.h>
+#include <version.h>
+
+#if (PIKE_MAJOR_VERSION == 7 && PIKE_MINOR_VERSION == 1 && PIKE_BUILD_VERSION >= 12) || PIKE_MAJOR_VERSION > 7 || (PIKE_MAJOR_VERSION == 7 && PIKE_MINOR_VERSION > 1)
+# include "pike_error.h"
+#else
+# include "error.h"
+# ifndef Pike_error
+#  define Pike_error error
+# endif
+#endif
+
+/* Pike 7.x and newer */
+#define MY_MAPPING_LOOP(md, COUNT, KEY) \
+  for(COUNT=0;COUNT < md->data->hashsize; COUNT++ ) \
+       for(KEY=md->data->hash[COUNT];KEY;KEY=KEY->next)
+
+#ifndef ZTS
+/* Need thread safety */
+#error You need to compile PHP with threads.
+#endif
+
+#ifndef PIKE_THREADS
+#error The PHP5 module requires that your Pike has thread support.
+#endif
+
+#undef HIDE_GLOBAL_VARIABLES
+#undef REVEAL_GLOBAL_VARIABLES
+#define HIDE_GLOBAL_VARIABLES()
+#define REVEAL_GLOBAL_VARIABLES()
+
+/* php_caudium_request is per-request object storage */
+
+typedef struct
+{
+  struct mapping *request_data;
+  struct object *my_fd_obj;
+  struct svalue done_cb;
+  struct pike_string *filename;
+  int my_fd;
+  int written;
+  TSRMLS_D;
+} php_caudium_request;
+
+
+void pike_module_init(void);
+void pike_module_exit(void);
+static void free_struct(TSRMLS_D);
+void f_php_caudium_request_handler(INT32 args);
+
+/* Defines to get to the data supplied when the script is started. */
+
+/* Per thread storage area id... */
+static int caudium_globals_id;
+
+#define GET_THIS() php_caudium_request *_request = ts_resource(caudium_globals_id)
+#define THIS _request
+#define PTHIS ((php_caudium_request *)(Pike_fp->current_storage))
+/* File descriptor integer. Used to write directly to the FD without 
+ * passing Pike
+ */
+#define MY_FD    (THIS->my_fd)
+
+/* FD object. Really a PHPScript object from Pike which implements a couple
+ * of functions to handle headers, writing and buffering.
+ */
+#define MY_FD_OBJ        ((struct object *)(THIS->my_fd_obj))
+
+/* Mapping with data supplied from the calling Caudium module. Contains
+ * a mapping with headers, an FD object etc.
+ */
+#define REQUEST_DATA ((struct mapping *)(THIS->request_data))
+
+extern int fd_from_object(struct object *o);
+static unsigned char caudium_php_initialized;
+
+#ifndef mt_lock_interpreter
+#define mt_lock_interpreter()     mt_lock(&interpreter_lock);
+#define mt_unlock_interpreter()   mt_unlock(&interpreter_lock);
+#endif
+
+
+/* This allows calling of pike functions from the PHP callbacks,
+ * which requires the Pike interpreter to be locked.
+ */
+#define THREAD_SAFE_RUN(COMMAND, what)  do {\
+  struct thread_state *state;\
+  if((state = thread_state_for_id(th_self()))!=NULL) {\
+    if(!state->swapped) {\
+      COMMAND;\
+    } else {\
+      mt_lock_interpreter();\
+      SWAP_IN_THREAD(state);\
+      COMMAND;\
+      SWAP_OUT_THREAD(state);\
+      mt_unlock_interpreter();\
+    }\
+  }\
+} while(0)
+
+
+
+/* Low level header lookup. Basically looks for the named header in the mapping
+ * headers in the supplied options mapping.
+ */
+INLINE static struct svalue *lookup_header(char *headername)
+{
+  struct svalue *headers, *value;
+  struct pike_string *sind;
+  GET_THIS();
+  sind = make_shared_string("env");
+  headers = low_mapping_string_lookup(REQUEST_DATA, sind);
+  free_string(sind);
+  if(!headers || headers->type != PIKE_T_MAPPING) return NULL;
+  sind = make_shared_string(headername);
+  value = low_mapping_string_lookup(headers->u.mapping, sind);
+  free_string(sind);
+  if(!value) return NULL;
+  return value;
+}
+
+/* Lookup a header in the mapping and return the value as a string, or
+ * return the default if it's missing
+ */
+INLINE static char *lookup_string_header(char *headername, char *default_value)
+{
+  struct svalue *head = NULL;
+  THREAD_SAFE_RUN(head = lookup_header(headername), "header lookup");
+  if(!head || head->type != PIKE_T_STRING)
+    return default_value;
+  return head->u.string->str;
+}
+
+/* Lookup a header in the mapping and return the value as if it's an integer
+ * and otherwise return the default.
+ */
+INLINE static int lookup_integer_header(char *headername, int default_value)
+{
+  struct svalue *head = NULL;
+  THREAD_SAFE_RUN(head = lookup_header(headername), "header lookup");
+  if(!head || head->type != PIKE_T_INT)
+    return default_value;
+  return head->u.integer;
+}
+
+/*
+ * php_caudium_low_ub_write() writes data to the client connection. Might be
+ * rewritten to do more direct IO to save CPU and the need to lock the 
+ * interpreter for better threading.
+ */
+
+INLINE static int
+php_caudium_low_ub_write(const char *str, uint str_length TSRMLS_DC) {
+  int sent_bytes = 0;
+  struct pike_string *to_write = NULL;
+  GET_THIS();
+  if(!MY_FD_OBJ->prog) {
+    PG(connection_status) = PHP_CONNECTION_ABORTED;
+    zend_bailout();
+    return -1;
+  }
+  to_write = make_shared_binary_string(str, str_length);
+  push_string(to_write);
+  safe_apply(MY_FD_OBJ, "write", 1);
+  if(Pike_sp[-1].type == PIKE_T_INT)
+    sent_bytes = Pike_sp[-1].u.integer;
+  pop_stack();
+  if(sent_bytes != str_length) {
+    /* This means the connection is closed. Dead. Gone. *sniff*  */
+    PG(connection_status) = PHP_CONNECTION_ABORTED;
+    zend_bailout();
+  }
+  return sent_bytes;
+}
+
+/*
+ * php_caudium_sapi_ub_write() calls php_caudium_low_ub_write in a Pike thread
+ * safe manner or writes directly to the output FD if RXML post-parsing is
+ * disabled. 
+ */
+
+static int
+php_caudium_sapi_ub_write(const char *str, uint str_length TSRMLS_DC)
+{
+  GET_THIS();
+  int sent_bytes = 0, fd = MY_FD;
+  if(fd)
+  {
+    for(sent_bytes=0;sent_bytes < str_length;)
+    {
+      int written;
+      written = fd_write(fd, str + sent_bytes, str_length - sent_bytes);
+      if(written < 0)
+      {
+       switch(errno)
+       {
+        default:
+         /* This means the connection is closed. Dead. Gone. *sniff*  */
+         PG(connection_status) = PHP_CONNECTION_ABORTED;
+         zend_bailout();
+         THIS->written += sent_bytes;
+         return sent_bytes;
+        case EINTR: 
+        case EWOULDBLOCK:
+         continue;
+       }
+      } else {
+       sent_bytes += written;
+      }
+    }
+    THIS->written += sent_bytes;
+  } else {
+    THREAD_SAFE_RUN(sent_bytes = php_caudium_low_ub_write(str, str_length TSRMLS_CC),
+                   "write");
+  }
+  return sent_bytes;
+}
+
+/* php_caudium_set_header() sets a header in the header mapping. Called in a
+ * thread safe manner from php_caudium_sapi_header_handler.
+ */
+INLINE static void
+php_caudium_set_header(char *header_name, char *value, char *p)
+{
+  struct svalue hsval;
+  struct pike_string *hval, *ind, *hind;
+  struct mapping *headermap;
+  struct svalue *s_headermap, *soldval;
+  int vallen;
+  GET_THIS();
+  /*  hval = make_shared_string(value); */
+  ind = make_shared_string(" _headers");
+  hind = make_shared_binary_string(header_name,
+                                  (int)(p - header_name));
+
+  s_headermap = low_mapping_string_lookup(REQUEST_DATA, ind);
+  if(!s_headermap || s_headermap->type != PIKE_T_MAPPING)
+  {
+    struct svalue mappie;                                           
+    mappie.type = PIKE_T_MAPPING;
+    headermap = allocate_mapping(1);
+    mappie.u.mapping = headermap;
+    mapping_string_insert(REQUEST_DATA, ind, &mappie);
+    free_mapping(headermap);
+    hval = make_shared_string(value);
+  } else {
+    headermap = s_headermap->u.mapping;
+    soldval = low_mapping_string_lookup(headermap, hind);
+    vallen = strlen(value);
+    if(soldval != NULL && 
+       soldval->type == PIKE_T_STRING &&
+       soldval->u.string->size_shift == 0) {
+      /* Existing, valid header. Prepend.*/
+      hval = begin_shared_string(soldval->u.string->len + 1 + vallen);
+      MEMCPY(hval->str, soldval->u.string->str, soldval->u.string->len);
+      STR0(hval)[soldval->u.string->len] = '\0';
+      MEMCPY(hval->str+soldval->u.string->len+1, value, vallen);
+      hval = end_shared_string(hval);
+    } else { 
+      hval = make_shared_string(value);
+    }
+  }
+  hsval.type = PIKE_T_STRING;
+  hsval.u.string = hval;
+
+  mapping_string_insert(headermap, hind, &hsval);
+
+  free_string(hval);
+  free_string(ind);
+  free_string(hind);
+}
+
+/*
+ * php_caudium_sapi_header_handler() sets a HTTP reply header to be 
+ * sent to the client.
+ */
+static int
+php_caudium_sapi_header_handler(sapi_header_struct *sapi_header,
+                             sapi_headers_struct *sapi_headers TSRMLS_DC)
+{
+  char *header_name, *header_content, *p;
+  header_name = sapi_header->header;
+  header_content = p = strchr(header_name, ':');
+  
+  if(p) {
+  do {
+    header_content++;
+  } while(*header_content == ' ');
+    THREAD_SAFE_RUN(php_caudium_set_header(header_name, header_content, p), "header handler");
+  }
+  sapi_free_header(sapi_header);
+  return 0;
+}
+
+/*
+ * php_caudium_sapi_send_headers() flushes the headers to the client.
+ * Called before real content is sent by PHP.
+ */
+
+INLINE static int
+php_caudium_low_send_headers(sapi_headers_struct *sapi_headers TSRMLS_DC)
+{
+  struct pike_string *ind;
+  struct svalue *s_headermap;
+  GET_THIS();
+  if(!MY_FD_OBJ->prog) {
+    PG(connection_status) = PHP_CONNECTION_ABORTED;
+    zend_bailout();
+    return SAPI_HEADER_SEND_FAILED;
+  }
+  ind = make_shared_string(" _headers");  
+  s_headermap = low_mapping_string_lookup(REQUEST_DATA, ind);
+  free_string(ind);
+  
+  push_int(SG(sapi_headers).http_response_code);
+  if(s_headermap && s_headermap->type == PIKE_T_MAPPING)
+    ref_push_mapping(s_headermap->u.mapping);
+  else
+    push_int(0);
+  safe_apply(MY_FD_OBJ, "send_headers", 2);
+  pop_stack();
+  
+  return SAPI_HEADER_SENT_SUCCESSFULLY;
+}
+
+static int
+php_caudium_sapi_send_headers(sapi_headers_struct *sapi_headers TSRMLS_DC)
+{
+  int res = 0;
+  THREAD_SAFE_RUN(res = php_caudium_low_send_headers(sapi_headers TSRMLS_CC), "send headers");
+  return res;
+}
+
+/*
+ * php_caudium_sapi_read_post() reads a specified number of bytes from
+ * the client. Used for POST/PUT requests.
+ */
+
+INLINE static int php_caudium_low_read_post(char *buf, uint count_bytes TSRMLS_DC)
+{
+  uint total_read = 0;
+  GET_THIS();
+  
+  if(!MY_FD_OBJ->prog)
+  {
+    PG(connection_status) = PHP_CONNECTION_ABORTED;
+    zend_bailout();
+    return -1;
+  }
+  push_int(count_bytes);
+  safe_apply(MY_FD_OBJ, "read_post", 1);
+  if(Pike_sp[-1].type == PIKE_T_STRING) {
+    MEMCPY(buf, Pike_sp[-1].u.string->str,
+           (total_read = Pike_sp[-1].u.string->len));
+    buf[total_read] = '\0';
+  } else
+    total_read = 0;
+  pop_stack();
+  return total_read;
+}
+
+static int
+php_caudium_sapi_read_post(char *buf, uint count_bytes TSRMLS_DC)
+{
+  uint total_read = 0;
+  THREAD_SAFE_RUN(total_read = php_caudium_low_read_post(buf, count_bytes TSRMLS_CC), "read post");
+  return total_read;
+}
+
+/* 
+ * php_caudium_sapi_read_cookies() returns the Cookie header from
+ * the HTTP request header
+ */
+       
+static char *
+php_caudium_sapi_read_cookies(TSRMLS_D)
+{
+  char *cookies;
+  cookies = lookup_string_header("HTTP_COOKIE", NULL);
+  return cookies;
+}
+
+static void php_info_caudium(ZEND_MODULE_INFO_FUNC_ARGS)
+{
+  /*  char buf[512]; */
+  php_info_print_table_start();
+  php_info_print_table_row(2, "SAPI module version", "$Id$");
+  /*  php_info_print_table_row(2, "Build date", Ns_InfoBuildDate());
+      php_info_print_table_row(2, "Config file path", Ns_InfoConfigFile());
+      php_info_print_table_row(2, "Error Log path", Ns_InfoErrorLog());
+      php_info_print_table_row(2, "Installation path", Ns_InfoHomePath());
+      php_info_print_table_row(2, "Hostname of server", Ns_InfoHostname());
+      php_info_print_table_row(2, "Source code label", Ns_InfoLabel());
+      php_info_print_table_row(2, "Server platform", Ns_InfoPlatform());
+      snprintf(buf, 511, "%s/%s", Ns_InfoServerName(), Ns_InfoServerVersion());
+      php_info_print_table_row(2, "Server version", buf);
+      snprintf(buf, 511, "%d day(s), %02d:%02d:%02d", 
+      uptime / 86400,
+      (uptime / 3600) % 24,
+      (uptime / 60) % 60,
+      uptime % 60);
+      php_info_print_table_row(2, "Server uptime", buf);
+  */
+  php_info_print_table_end();
+}
+
+static zend_module_entry php_caudium_module = {
+  STANDARD_MODULE_HEADER,
+  "Caudium",
+  NULL,
+  NULL,
+  NULL,
+  NULL,
+  NULL,
+  php_info_caudium,
+  NULL,
+  STANDARD_MODULE_PROPERTIES
+};
+
+
+INLINE static void low_sapi_caudium_register_variables(zval *track_vars_array TSRMLS_DC)   
+{
+  int i;
+  struct keypair *k;
+  struct svalue *headers;
+  struct pike_string *sind;
+  struct svalue *ind;
+  struct svalue *val;
+  GET_THIS();
+  php_register_variable("PHP_SELF", SG(request_info).request_uri,
+                       track_vars_array TSRMLS_CC);
+  php_register_variable("GATEWAY_INTERFACE", "CGI/1.1",
+                       track_vars_array TSRMLS_CC);
+  php_register_variable("REQUEST_METHOD",
+                       (char *) SG(request_info).request_method,
+                       track_vars_array TSRMLS_CC);
+  php_register_variable("REQUEST_URI", SG(request_info).request_uri,
+                       track_vars_array TSRMLS_CC);
+  php_register_variable("PATH_TRANSLATED", SG(request_info).path_translated,
+                       track_vars_array TSRMLS_CC);
+
+  sind = make_shared_string("env");
+  headers = low_mapping_string_lookup(REQUEST_DATA, sind);
+  free_string(sind);
+  if(headers && headers->type == PIKE_T_MAPPING) {
+    MY_MAPPING_LOOP(headers->u.mapping, i, k) {
+      ind = &k->ind;
+      val = &k->val;
+      if(ind && ind->type == PIKE_T_STRING &&
+        val && val->type == PIKE_T_STRING) {
+       php_register_variable(ind->u.string->str, val->u.string->str,
+                             track_vars_array TSRMLS_CC );
+      }
+    }
+  }
+}
+
+static void sapi_caudium_register_variables(zval *track_vars_array TSRMLS_DC)
+{
+  THREAD_SAFE_RUN(low_sapi_caudium_register_variables(track_vars_array TSRMLS_CC), "register_variables");
+}
+
+
+static int php_caudium_startup(sapi_module_struct *sapi_module)
+{
+       if (php_module_startup(sapi_module, &php_caudium_module, 1)==FAILURE) {
+               return FAILURE;
+       }
+       return SUCCESS;
+}
+
+
+/* this structure is static (as in "it does not change") */
+static sapi_module_struct caudium_sapi_module = {
+  "caudium",
+  "Caudium",
+  php_caudium_startup,                 /* startup */
+  php_module_shutdown_wrapper,         /* shutdown */
+  NULL,                                        /* activate */
+  NULL,                                        /* deactivate */
+  php_caudium_sapi_ub_write,           /* unbuffered write */
+  NULL,                                        /* flush */
+  NULL,                                        /* get uid */
+  NULL,                                        /* getenv */
+  php_error,                           /* error handler */
+  php_caudium_sapi_header_handler,     /* header handler */
+  php_caudium_sapi_send_headers,       /* send headers handler */
+  NULL,                                        /* send header handler */
+  php_caudium_sapi_read_post,          /* read POST data */
+  php_caudium_sapi_read_cookies,       /* read cookies */
+  sapi_caudium_register_variables,     /* register server variables */
+  NULL,                                        /* Log message */
+  NULL,                                        /* Get request time */
+  NULL,                                        /* Child terminate */
+
+  STANDARD_SAPI_MODULE_PROPERTIES
+};
+
+/*
+ * php_caudium_module_main() is called by the per-request handler and
+ * "executes" the script
+ */
+
+static void php_caudium_module_main(php_caudium_request *ureq)
+{
+  int res;
+  zend_file_handle file_handle;
+#ifndef USE_PIKE_LEVEL_THREADS
+  struct thread_state *state;
+  extern struct program *thread_id_prog;
+#endif
+  TSRMLS_FETCH();
+  GET_THIS();
+  THIS->filename = ureq->filename;
+  THIS->done_cb = ureq->done_cb;
+  THIS->my_fd_obj = ureq->my_fd_obj;
+  THIS->my_fd = ureq->my_fd;
+  THIS->request_data = ureq->request_data;
+  free(ureq);
+
+#ifndef USE_PIKE_LEVEL_THREADS
+  mt_lock_interpreter();
+  init_interpreter();
+#if PIKE_MAJOR_VERSION == 7 && PIKE_MINOR_VERSION < 1
+  thread_id = low_clone(thread_id_prog);
+  state = OBJ2THREAD(thread_id);
+  Pike_stack_top=((char *)&state)+ (thread_stack_size-16384) * STACK_DIRECTION;
+  recoveries = NULL;
+  call_c_initializers(thread_id);
+  OBJ2THREAD(thread_id)->id=th_self();
+  num_threads++;
+  thread_table_insert(thread_id);
+  state->status=THREAD_RUNNING;
+#else
+  Pike_interpreter.thread_id = low_clone(thread_id_prog);
+  state = OBJ2THREAD(Pike_interpreter.thread_id);
+  Pike_interpreter.stack_top=((char *)&state)+ (thread_stack_size-16384) * STACK_DIRECTION;
+  Pike_interpreter.recoveries = NULL;
+  call_c_initializers(Pike_interpreter.thread_id);
+  state->id=th_self();
+  /*  SWAP_OUT_THREAD(OBJ2THREAD(Pike_interpreter.thread_id)); */
+  num_threads++;
+  thread_table_insert(Pike_interpreter.thread_id);
+  state->status=THREAD_RUNNING;
+#endif
+  state->swapped = 0;
+#endif 
+  SG(request_info).query_string = lookup_string_header("QUERY_STRING", 0);
+  SG(server_context) = (void *)1; /* avoid server_context == NULL */
+
+  /* path_translated is apparently the absolute path to the file, not
+     the translated PATH_INFO
+  */
+  SG(request_info).path_translated =
+    lookup_string_header("SCRIPT_FILENAME", NULL);
+  SG(request_info).request_uri = lookup_string_header("DOCUMENT_URI", NULL);
+  if(!SG(request_info).request_uri)
+    SG(request_info).request_uri = lookup_string_header("SCRIPT_NAME", NULL);
+  SG(request_info).request_method = lookup_string_header("REQUEST_METHOD", "GET");
+  SG(request_info).content_length = lookup_integer_header("HTTP_CONTENT_LENGTH", 0);
+  SG(request_info).content_type = lookup_string_header("HTTP_CONTENT_TYPE", NULL);
+  SG(sapi_headers).http_response_code = 200;
+  if (!strcmp(SG(request_info).request_method, "HEAD")) {
+    SG(request_info).headers_only = 1;
+  } else {
+    SG(request_info).headers_only = 0;
+  }
+
+  /* Let PHP5 handle the deconding of the AUTH */
+  php_handle_auth_data(lookup_string_header("HTTP_AUTHORIZATION", NULL), TSRMLS_C);
+   /* Swap out this thread and release the interpreter lock to allow
+   * Pike threads to run. We wait since the above would otherwise require
+   * a lot of unlock/lock.
+   */
+#ifndef USE_PIKE_LEVEL_THREADS
+  SWAP_OUT_THREAD(state);
+  mt_unlock_interpreter();
+#else
+  THREADS_ALLOW();
+#endif
+
+  file_handle.type = ZEND_HANDLE_FILENAME;
+  file_handle.filename = THIS->filename->str;
+  file_handle.opened_path = NULL;
+  file_handle.free_filename = 0;
+
+  THIS->written = 0;
+  res = php_request_startup(TSRMLS_C);
+
+  if(res == FAILURE) {
+    THREAD_SAFE_RUN({
+      apply_svalue(&THIS->done_cb, 0);
+      pop_stack();
+      free_struct(TSRMLS_C);
+    }, "Negative run response");
+  } else {
+    php_execute_script(&file_handle TSRMLS_CC);
+    php_request_shutdown(NULL);
+    THREAD_SAFE_RUN({
+      push_int(THIS->written);
+      apply_svalue(&THIS->done_cb, 1);
+      pop_stack();
+      free_struct(TSRMLS_C);
+    }, "positive run response");
+  }
+
+#ifndef USE_PIKE_LEVEL_THREADS
+  mt_lock_interpreter();
+  SWAP_IN_THREAD(state);
+#if PIKE_MAJOR_VERSION == 7 && PIKE_MINOR_VERSION < 1
+  state->status=THREAD_EXITED;
+  co_signal(& state->status_change);
+  thread_table_delete(thread_id);
+  free_object(thread_id);
+  thread_id=NULL;
+#else
+  state->status=THREAD_EXITED;
+  co_signal(& state->status_change);
+  thread_table_delete(Pike_interpreter.thread_id);
+  free_object(Pike_interpreter.thread_id);
+  Pike_interpreter.thread_id=NULL;
+#endif
+  cleanup_interpret();
+  num_threads--;
+  mt_unlock_interpreter();
+#else
+  THREADS_DISALLOW();
+#endif
+}
+
+/*
+ * The php_caudium_request_handler() is called per request and handles
+ * everything for one request.
+ */
+
+void f_php_caudium_request_handler(INT32 args)
+{
+  struct object *my_fd_obj;
+  struct mapping *request_data;
+  struct svalue *done_callback;
+  struct pike_string *script;
+  struct svalue *raw_fd;
+  struct pike_string *ind;
+  php_caudium_request *_request;
+  THIS = malloc(sizeof(php_caudium_request));
+  if(THIS == NULL)
+    Pike_error("Out of memory.");
+
+  get_all_args("PHP5.Interpreter->run", args, "%S%m%O%*", &script,
+              &request_data, &my_fd_obj, &done_callback);
+  if(done_callback->type != PIKE_T_FUNCTION) 
+    Pike_error("PHP5.Interpreter->run: Bad argument 4, expected function.\n");
+  add_ref(request_data);
+  add_ref(my_fd_obj);
+  add_ref(script);
+
+  THIS->request_data = request_data;
+  THIS->my_fd_obj = my_fd_obj;
+  THIS->filename = script;
+  assign_svalue_no_free(&THIS->done_cb, done_callback);
+
+  ind = make_shared_binary_string("my_fd", 5);
+  raw_fd = low_mapping_string_lookup(THIS->request_data, ind);
+  if(raw_fd && raw_fd->type == PIKE_T_OBJECT)
+  {
+    int fd = fd_from_object(raw_fd->u.object);
+    if(fd == -1)
+      THIS->my_fd = 0; /* Don't send directly to this FD... */
+    else
+      THIS->my_fd = fd;
+  } else
+    THIS->my_fd = 0;
+#ifdef USE_PIKE_LEVEL_THREADS
+  php_caudium_module_main(THIS);
+#else
+  th_farm((void (*)(void *))php_caudium_module_main, THIS);
+#endif
+  pop_n_elems(args);
+}
+
+static void free_struct(TSRMLS_D)
+{
+  GET_THIS();
+  if(THIS->request_data) free_mapping(THIS->request_data);
+  if(THIS->my_fd_obj)    free_object(THIS->my_fd_obj);
+  free_svalue(&THIS->done_cb);
+  if(THIS->filename)     free_string(THIS->filename);
+  MEMSET(THIS, 0, sizeof(php_caudium_request));
+}
+
+
+/*
+ * pike_module_init() is called by Pike once at startup
+ *
+ * This functions allocates basic structures
+ */
+
+void pike_module_init( void )
+{
+  if (!caudium_php_initialized) {
+    caudium_php_initialized = 1;
+    tsrm_startup(1, 1, 0, NULL);
+    ts_allocate_id(&caudium_globals_id, sizeof(php_caudium_request), NULL, NULL);
+    sapi_startup(&caudium_sapi_module);
+    sapi_module.startup(&caudium_sapi_module);
+  }
+  start_new_program(); /* Text */
+  pike_add_function("run", f_php_caudium_request_handler,
+                   "function(string, mapping, object, function:void)", 0);
+  end_class("Interpreter", 0);
+}
+
+/*
+ * pike_module_exit() performs the last steps before the
+ * server exists. Shutdowns basic services and frees memory
+ */
+
+void pike_module_exit(void)
+{
+  caudium_php_initialized = 0;
+  sapi_module.shutdown(&caudium_sapi_module);
+  tsrm_shutdown();
+}
+#endif
diff --git a/sapi/caudium/caudium.c.rej b/sapi/caudium/caudium.c.rej
new file mode 100644 (file)
index 0000000..438b586
--- /dev/null
@@ -0,0 +1,15 @@
+--- sapi/caudium/caudium.c
++++ sapi/caudium/caudium.c
+@@ -705,10 +705,10 @@
+   if(THIS == NULL)
+     Pike_error("Out of memory.");
+-  get_all_args("PHP5.Interpreter->run", args, "%S%m%O%*", &script,
++  get_all_args("PHP7.Interpreter->run", args, "%S%m%O%*", &script,
+              &request_data, &my_fd_obj, &done_callback);
+   if(done_callback->type != PIKE_T_FUNCTION)
+-    Pike_error("PHP5.Interpreter->run: Bad argument 4, expected function.\n");
++    Pike_error("PHP7.Interpreter->run: Bad argument 4, expected function.\n");
+   add_ref(request_data);
+   add_ref(my_fd_obj);
+   add_ref(script);
index 5ce55f3f0102466cd3c7a912c6de89a679ac681e..13a6b2943e60f4fbe91a7b099bf50d1817e1e993 100644 (file)
@@ -79,12 +79,12 @@ if test "$PHP_CAUDIUM" != "no"; then
       AC_MSG_RESULT(not found)
     fi
   else
-    AC_MSG_ERROR([Caudium PHP5 requires Pike 7.0 or newer])
+    AC_MSG_ERROR([Caudium PHP7 requires Pike 7.0 or newer])
   fi
   PIKE_VERSION=`$PIKE -e 'string v; int rel;sscanf(version(), "Pike v%s release %d", v, rel); write(v+"."+rel);'`   
   AC_DEFINE(HAVE_CAUDIUM,1,[Whether to compile with Caudium support])
   PHP_SELECT_SAPI(caudium, shared, caudium.c)
-  INSTALL_IT="\$(INSTALL) -m 0755 $SAPI_SHARED $PHP_CAUDIUM/lib/$PIKE_VERSION/PHP5.so"
+  INSTALL_IT="\$(INSTALL) -m 0755 $SAPI_SHARED $PHP_CAUDIUM/lib/$PIKE_VERSION/PHP7.so"
   RESULT="  *** Pike binary used:         $PIKE
   *** Pike include dir(s) used: $PIKE_INCLUDE_DIR
   *** Pike version:             $PIKE_VERSION"
index de029474e502c140127fd284325ce69b78d8a640..b7cf41cf5e2d80474c7170cc0c215cbe76135560 100755 (executable)
@@ -31,4 +31,3 @@ In PHP5.3 all additional configure options (except --enable-cgi) are removed:
 
                             Now it is disabled by default, but can be enabled
                             with ini directive "cgi.discard_path=1".
-
index 3dda295d843342b771f5456f450c1c27cc40201a..f0f11e102dc44f88cc4ca7e3cc512014d993f0d3 100644 (file)
@@ -69,7 +69,7 @@ a line in your config like:
 
 Don't load mod_php, by the way. Make sure it is commented out!
 
-    #LoadModule php5_module /usr/lib/apache/2.0/libphp5.so
+    #LoadModule php7_module /usr/lib/apache/2.0/libphp7.so
 
 Now, we'll create a fcgi-bin directory, just like you would do with normal
 CGI scripts. You'll need to create a directory somewhere to store your
index 9a1b98da46193c8f736caa20990a5e0b1aba80ac..090574a0078333c9a02495aeab0e8331b90d7fc3 100644 (file)
@@ -45,7 +45,7 @@ if test "$PHP_CLI" != "no"; then
     BUILD_CLI="\$(CC) \$(CFLAGS_CLEAN) \$(EXTRA_CFLAGS) \$(EXTRA_LDFLAGS_PROGRAM) \$(LDFLAGS) \$(NATIVE_RPATHS) \$(PHP_GLOBAL_OBJS:.lo=.o) \$(PHP_BINARY_OBJS:.lo=.o) \$(PHP_CLI_OBJS:.lo=.o) \$(PHP_FRAMEWORKS) \$(EXTRA_LIBS) \$(ZEND_EXTRA_LIBS) -o \$(SAPI_CLI_PATH)"
     ;;
   *netware*)
-    BUILD_CLI="\$(LIBTOOL) --mode=link \$(CC) -export-dynamic \$(CFLAGS_CLEAN) \$(EXTRA_CFLAGS) \$(EXTRA_LDFLAGS_PROGRAM) \$(LDFLAGS) \$(PHP_RPATHS) \$(PHP_BINARY_OBJS) \$(PHP_CLI_OBJS) \$(EXTRA_LIBS) \$(ZEND_EXTRA_LIBS) -Lnetware -lphp5lib -o \$(SAPI_CLI_PATH)"
+    BUILD_CLI="\$(LIBTOOL) --mode=link \$(CC) -export-dynamic \$(CFLAGS_CLEAN) \$(EXTRA_CFLAGS) \$(EXTRA_LDFLAGS_PROGRAM) \$(LDFLAGS) \$(PHP_RPATHS) \$(PHP_BINARY_OBJS) \$(PHP_CLI_OBJS) \$(EXTRA_LIBS) \$(ZEND_EXTRA_LIBS) -Lnetware -lphp7lib -o \$(SAPI_CLI_PATH)"
     ;;
   *)
     BUILD_CLI="\$(LIBTOOL) --mode=link \$(CC) -export-dynamic \$(CFLAGS_CLEAN) \$(EXTRA_CFLAGS) \$(EXTRA_LDFLAGS_PROGRAM) \$(LDFLAGS) \$(PHP_RPATHS) \$(PHP_GLOBAL_OBJS) \$(PHP_BINARY_OBJS) \$(PHP_CLI_OBJS) \$(EXTRA_LIBS) \$(ZEND_EXTRA_LIBS) -o \$(SAPI_CLI_PATH)"
similarity index 78%
rename from sapi/embed/php5embed.dsp
rename to sapi/embed/php7embed.dsp
index 8564b117977837481c49b4b7a6ef196ded0c0bad..9df89a0478c11af4b7ea324ef3acb81a77994b1c 100644 (file)
@@ -1,24 +1,24 @@
-# Microsoft Developer Studio Project File - Name="php5embed" - Package Owner=<4>\r
+# Microsoft Developer Studio Project File - Name="php7embed" - Package Owner=<4>\r
 # Microsoft Developer Studio Generated Build File, Format Version 6.00\r
 # ** DO NOT EDIT **\r
 \r
 # TARGTYPE "Win32 (x86) Static Library" 0x0104\r
 \r
-CFG=php5embed - Win32 Debug_TS\r
+CFG=php7embed - Win32 Debug_TS\r
 !MESSAGE This is not a valid makefile. To build this project using NMAKE,\r
 !MESSAGE use the Export Makefile command and run\r
 !MESSAGE \r
-!MESSAGE NMAKE /f "php5embed.mak".\r
+!MESSAGE NMAKE /f "php7embed.mak".\r
 !MESSAGE \r
 !MESSAGE You can specify a configuration when running NMAKE\r
 !MESSAGE by defining the macro CFG on the command line. For example:\r
 !MESSAGE \r
-!MESSAGE NMAKE /f "php5embed.mak" CFG="php5embed - Win32 Debug_TS"\r
+!MESSAGE NMAKE /f "php7embed.mak" CFG="php7embed - Win32 Debug_TS"\r
 !MESSAGE \r
 !MESSAGE Possible choices for configuration are:\r
 !MESSAGE \r
-!MESSAGE "php5embed - Win32 Debug_TS" (based on "Win32 (x86) Static Library")\r
-!MESSAGE "php5embed - Win32 Release_TS" (based on "Win32 (x86) Static Library")\r
+!MESSAGE "php7embed - Win32 Debug_TS" (based on "Win32 (x86) Static Library")\r
+!MESSAGE "php7embed - Win32 Release_TS" (based on "Win32 (x86) Static Library")\r
 !MESSAGE \r
 \r
 # Begin Project\r
@@ -28,7 +28,7 @@ CFG=php5embed - Win32 Debug_TS
 CPP=cl.exe\r
 RSC=rc.exe\r
 \r
-!IF  "$(CFG)" == "php5embed - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7embed - Win32 Debug_TS"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 1\r
@@ -49,9 +49,9 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LIB32=link.exe -lib\r
 # ADD BASE LIB32 /nologo\r
-# ADD LIB32 /nologo /out:"..\..\Debug_TS\php5embed.lib"\r
+# ADD LIB32 /nologo /out:"..\..\Debug_TS\php7embed.lib"\r
 \r
-!ELSEIF  "$(CFG)" == "php5embed - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7embed - Win32 Release_TS"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 0\r
@@ -72,14 +72,14 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LIB32=link.exe -lib\r
 # ADD BASE LIB32 /nologo\r
-# ADD LIB32 /nologo /out:"..\..\Release_TS\php5embed.lib"\r
+# ADD LIB32 /nologo /out:"..\..\Release_TS\php7embed.lib"\r
 \r
 !ENDIF \r
 \r
 # Begin Target\r
 \r
-# Name "php5embed - Win32 Debug_TS"\r
-# Name "php5embed - Win32 Release_TS"\r
+# Name "php7embed - Win32 Debug_TS"\r
+# Name "php7embed - Win32 Release_TS"\r
 # Begin Group "Source Files"\r
 \r
 # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"\r
index c5f4abc59ca2cc982992c14c7b47cf3257110fe1..a355df2a5743faf5351a5d7952aebf13fc3700ae 100644 (file)
@@ -490,7 +490,7 @@ pm.max_spare_servers = 3
 ; exectute php code.
 ; Note: set an empty value to allow all extensions.
 ; Default Value: .php
-;security.limit_extensions = .php .php3 .php4 .php5
+;security.limit_extensions = .php .php3 .php4 .php5 .php7
  
 ; Pass environment variables like LD_LIBRARY_PATH. All $VARIABLEs are taken from
 ; the current environment.
index 6014bab09fce3addbf5fbb8884179b139c7bcf27..4073173eafc61e2f7a6b2418a8e1fdfa184f9373 100644 (file)
@@ -15,7 +15,7 @@ if test "$PHP_ISAPI" != "no"; then
   PHP_BUILD_THREAD_SAFE
   AC_DEFINE(WITH_ZEUS, 1, [ ])
   PHP_ADD_INCLUDE($ZEUSPATH/web/include)
-  PHP_SELECT_SAPI(isapi, shared, php5isapi.c)
+  PHP_SELECT_SAPI(isapi, shared, php7isapi.c)
   INSTALL_IT="\$(SHELL) \$(srcdir)/install-sh -m 0755 $SAPI_SHARED \$(INSTALL_ROOT)$ZEUSPATH/web/bin/"
 fi
 
index 8012352744240e4a1bef6bb20cc721a397366623..5a359f11b2070a6b76286449f7ee060914b70ed3 100644 (file)
@@ -7,7 +7,7 @@ if (PHP_ISAPI == "yes") {
        if (PHP_ZTS == "no") {
                WARNING("ISAPI module requires an --enable-zts build of PHP");
        } else {
-               SAPI('isapi', 'php5isapi.c', 'php' + PHP_VERSION + 'isapi.dll', '/D PHP5ISAPI_EXPORTS');
-               ADD_FLAG('LDFLAGS_ISAPI', '/DEF:sapi\\isapi\\php5isapi.def');
+               SAPI('isapi', 'php7isapi.c', 'php' + PHP_VERSION + 'isapi.dll', '/D PHP7ISAPI_EXPORTS');
+               ADD_FLAG('LDFLAGS_ISAPI', '/DEF:sapi\\isapi\\php7isapi.def');
        }
 }
similarity index 74%
rename from sapi/isapi/php5isapi.dsp
rename to sapi/isapi/php7isapi.dsp
index 3dbab11effe3318d7713f8e197aad11886736794..0952e54d9abc86a072c9a2ee7283be0b51cec9d1 100644 (file)
@@ -1,26 +1,26 @@
-# Microsoft Developer Studio Project File - Name="php5isapi" - Package Owner=<4>\r
+# Microsoft Developer Studio Project File - Name="php7isapi" - Package Owner=<4>\r
 # Microsoft Developer Studio Generated Build File, Format Version 6.00\r
 # ** DO NOT EDIT **\r
 \r
 # TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102\r
 \r
-CFG=php5isapi - Win32 Debug_TS\r
+CFG=php7isapi - Win32 Debug_TS\r
 !MESSAGE This is not a valid makefile. To build this project using NMAKE,\r
 !MESSAGE use the Export Makefile command and run\r
 !MESSAGE \r
-!MESSAGE NMAKE /f "php5isapi.mak".\r
+!MESSAGE NMAKE /f "php7isapi.mak".\r
 !MESSAGE \r
 !MESSAGE You can specify a configuration when running NMAKE\r
 !MESSAGE by defining the macro CFG on the command line. For example:\r
 !MESSAGE \r
-!MESSAGE NMAKE /f "php5isapi.mak" CFG="php5isapi - Win32 Debug_TS"\r
+!MESSAGE NMAKE /f "php7isapi.mak" CFG="php7isapi - Win32 Debug_TS"\r
 !MESSAGE \r
 !MESSAGE Possible choices for configuration are:\r
 !MESSAGE \r
-!MESSAGE "php5isapi - Win32 Debug_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
-!MESSAGE "php5isapi - Win32 Release_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
-!MESSAGE "php5isapi - Win32 Release_TS_inline" (based on "Win32 (x86) Dynamic-Link Library")\r
-!MESSAGE "php5isapi - Win32 Release_TSDbg" (based on "Win32 (x86) Dynamic-Link Library")\r
+!MESSAGE "php7isapi - Win32 Debug_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
+!MESSAGE "php7isapi - Win32 Release_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
+!MESSAGE "php7isapi - Win32 Release_TS_inline" (based on "Win32 (x86) Dynamic-Link Library")\r
+!MESSAGE "php7isapi - Win32 Release_TSDbg" (based on "Win32 (x86) Dynamic-Link Library")\r
 !MESSAGE \r
 \r
 # Begin Project\r
@@ -31,7 +31,7 @@ CPP=cl.exe
 MTL=midl.exe\r
 RSC=rc.exe\r
 \r
-!IF  "$(CFG)" == "php5isapi - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7isapi - Win32 Debug_TS"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 1\r
@@ -44,8 +44,8 @@ RSC=rc.exe
 # PROP Intermediate_Dir "Debug_TS"\r
 # PROP Ignore_Export_Lib 0\r
 # PROP Target_Dir ""\r
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PHP5ISAPI_EXPORTS" /YX /FD /GZ /c\r
-# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\main" /I "..\..\TSRM" /D "_DEBUG" /D "COMPILE_LIBZEND" /D ZEND_DEBUG=1 /D "_WINDOWS" /D "_USRDLL" /D "PHP5ISAPI_EXPORTS" /D "MSVC5" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "WIN32" /D "_MBCS" /FR /YX /FD /GZ /c\r
+# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PHP7ISAPI_EXPORTS" /YX /FD /GZ /c\r
+# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\main" /I "..\..\TSRM" /D "_DEBUG" /D "COMPILE_LIBZEND" /D ZEND_DEBUG=1 /D "_WINDOWS" /D "_USRDLL" /D "PHP7ISAPI_EXPORTS" /D "MSVC5" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "WIN32" /D "_MBCS" /FR /YX /FD /GZ /c\r
 # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32\r
 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32\r
 # ADD BASE RSC /l 0x40d /d "_DEBUG"\r
@@ -55,9 +55,9 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts_debug.lib /nologo /version:4.0 /dll /debug /machine:I386 /nodefaultlib:"libcmt" /pdbtype:sept /libpath:"..\..\Debug_TS"\r
+# ADD LINK32 wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts_debug.lib /nologo /version:4.0 /dll /debug /machine:I386 /nodefaultlib:"libcmt" /pdbtype:sept /libpath:"..\..\Debug_TS"\r
 \r
-!ELSEIF  "$(CFG)" == "php5isapi - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7isapi - Win32 Release_TS"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 0\r
@@ -70,8 +70,8 @@ LINK32=link.exe
 # PROP Intermediate_Dir "Release_TS"\r
 # PROP Ignore_Export_Lib 0\r
 # PROP Target_Dir ""\r
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PHP5ISAPI_EXPORTS" /YX /FD /c\r
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "...\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\main" /I "..\..\TSRM" /D "NDEBUG" /D ZEND_DEBUG=0 /D "_WINDOWS" /D "_USRDLL" /D "PHP5ISAPI_EXPORTS" /D "MSVC5" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "WIN32" /D "_MBCS" /FR /YX /FD /c\r
+# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PHP7ISAPI_EXPORTS" /YX /FD /c\r
+# ADD CPP /nologo /MD /W3 /GX /O2 /I "...\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\main" /I "..\..\TSRM" /D "NDEBUG" /D ZEND_DEBUG=0 /D "_WINDOWS" /D "_USRDLL" /D "PHP7ISAPI_EXPORTS" /D "MSVC5" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "WIN32" /D "_MBCS" /FR /YX /FD /c\r
 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD BASE RSC /l 0x40d /d "NDEBUG"\r
@@ -81,14 +81,14 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib /nologo /version:4.0 /dll /machine:I386 /libpath:"..\..\Release_TS"\r
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib /nologo /version:4.0 /dll /machine:I386 /libpath:"..\..\Release_TS"\r
 \r
-!ELSEIF  "$(CFG)" == "php5isapi - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7isapi - Win32 Release_TS_inline"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 0\r
-# PROP BASE Output_Dir "php5isapi___Win32_Release_TS_inline"\r
-# PROP BASE Intermediate_Dir "php5isapi___Win32_Release_TS_inline"\r
+# PROP BASE Output_Dir "php7isapi___Win32_Release_TS_inline"\r
+# PROP BASE Intermediate_Dir "php7isapi___Win32_Release_TS_inline"\r
 # PROP BASE Ignore_Export_Lib 0\r
 # PROP BASE Target_Dir ""\r
 # PROP Use_MFC 0\r
@@ -97,8 +97,8 @@ LINK32=link.exe
 # PROP Intermediate_Dir "Release_TS_inline"\r
 # PROP Ignore_Export_Lib 0\r
 # PROP Target_Dir ""\r
-# ADD BASE CPP /nologo /MD /W3 /GX /O2 /I "...\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "PHP5ISAPI_EXPORTS" /D "MSVC5" /D "ZTS" /D "WIN32" /D "_MBCS" /D ZEND_DEBUG=0 /FR /YX /FD /c\r
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "...\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\main" /I "..\..\TSRM" /D "NDEBUG" /D ZEND_DEBUG=0 /D "ZEND_WIN32_FORCE_INLINE" /D "_WINDOWS" /D "_USRDLL" /D "PHP5ISAPI_EXPORTS" /D "MSVC5" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "WIN32" /D "_MBCS" /FR /YX /FD /c\r
+# ADD BASE CPP /nologo /MD /W3 /GX /O2 /I "...\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "PHP7ISAPI_EXPORTS" /D "MSVC5" /D "ZTS" /D "WIN32" /D "_MBCS" /D ZEND_DEBUG=0 /FR /YX /FD /c\r
+# ADD CPP /nologo /MD /W3 /GX /O2 /I "...\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\main" /I "..\..\TSRM" /D "NDEBUG" /D ZEND_DEBUG=0 /D "ZEND_WIN32_FORCE_INLINE" /D "_WINDOWS" /D "_USRDLL" /D "PHP7ISAPI_EXPORTS" /D "MSVC5" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "WIN32" /D "_MBCS" /FR /YX /FD /c\r
 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD BASE RSC /l 0x40d /d "NDEBUG"\r
@@ -107,15 +107,15 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib /nologo /dll /machine:I386 /libpath:"..\..\Release_TS"\r
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib /nologo /version:4.0 /dll /machine:I386 /libpath:"..\..\Release_TS_inline"\r
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib /nologo /dll /machine:I386 /libpath:"..\..\Release_TS"\r
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib /nologo /version:4.0 /dll /machine:I386 /libpath:"..\..\Release_TS_inline"\r
 \r
-!ELSEIF  "$(CFG)" == "php5isapi - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7isapi - Win32 Release_TSDbg"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 0\r
-# PROP BASE Output_Dir "php5isapi___Win32_Release_TSDbg"\r
-# PROP BASE Intermediate_Dir "php5isapi___Win32_Release_TSDbg"\r
+# PROP BASE Output_Dir "php7isapi___Win32_Release_TSDbg"\r
+# PROP BASE Intermediate_Dir "php7isapi___Win32_Release_TSDbg"\r
 # PROP BASE Ignore_Export_Lib 0\r
 # PROP BASE Target_Dir ""\r
 # PROP Use_MFC 0\r
@@ -124,8 +124,8 @@ LINK32=link.exe
 # PROP Intermediate_Dir "Release_TSDbg"\r
 # PROP Ignore_Export_Lib 0\r
 # PROP Target_Dir ""\r
-# ADD BASE CPP /nologo /MD /W3 /GX /O2 /I "...\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\main" /I "..\..\TSRM" /D "NDEBUG" /D ZEND_DEBUG=0 /D "_WINDOWS" /D "_USRDLL" /D "PHP5ISAPI_EXPORTS" /D "MSVC5" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "WIN32" /D "_MBCS" /FR /YX /FD /c\r
-# ADD CPP /nologo /MD /W3 /GX /Zi /Od /I "...\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\main" /I "..\..\TSRM" /D "NDEBUG" /D ZEND_DEBUG=0 /D "_WINDOWS" /D "_USRDLL" /D "PHP5ISAPI_EXPORTS" /D "MSVC5" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "WIN32" /D "_MBCS" /FR /YX /FD /c\r
+# ADD BASE CPP /nologo /MD /W3 /GX /O2 /I "...\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\main" /I "..\..\TSRM" /D "NDEBUG" /D ZEND_DEBUG=0 /D "_WINDOWS" /D "_USRDLL" /D "PHP7ISAPI_EXPORTS" /D "MSVC5" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "WIN32" /D "_MBCS" /FR /YX /FD /c\r
+# ADD CPP /nologo /MD /W3 /GX /Zi /Od /I "...\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\main" /I "..\..\TSRM" /D "NDEBUG" /D ZEND_DEBUG=0 /D "_WINDOWS" /D "_USRDLL" /D "PHP7ISAPI_EXPORTS" /D "MSVC5" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "WIN32" /D "_MBCS" /FR /YX /FD /c\r
 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD BASE RSC /l 0x40d /d "NDEBUG"\r
@@ -134,27 +134,27 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib /nologo /version:4.0 /dll /machine:I386 /libpath:"..\..\Release_TS"\r
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib /nologo /version:4.0 /dll /debug /machine:I386 /libpath:"..\..\Release_TSDbg"\r
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib /nologo /version:4.0 /dll /machine:I386 /libpath:"..\..\Release_TS"\r
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts.lib /nologo /version:4.0 /dll /debug /machine:I386 /libpath:"..\..\Release_TSDbg"\r
 \r
 !ENDIF \r
 \r
 # Begin Target\r
 \r
-# Name "php5isapi - Win32 Debug_TS"\r
-# Name "php5isapi - Win32 Release_TS"\r
-# Name "php5isapi - Win32 Release_TS_inline"\r
-# Name "php5isapi - Win32 Release_TSDbg"\r
+# Name "php7isapi - Win32 Debug_TS"\r
+# Name "php7isapi - Win32 Release_TS"\r
+# Name "php7isapi - Win32 Release_TS_inline"\r
+# Name "php7isapi - Win32 Release_TSDbg"\r
 # Begin Group "Source Files"\r
 \r
 # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"\r
 # Begin Source File\r
 \r
-SOURCE=.\php5isapi.c\r
+SOURCE=.\php7isapi.c\r
 # End Source File\r
 # Begin Source File\r
 \r
-SOURCE=.\php5isapi.def\r
+SOURCE=.\php7isapi.def\r
 # End Source File\r
 # End Group\r
 # Begin Group "Header Files"\r
index f58ab3c0e9ba77fe3149fcd9001c1d5defff8172..e6d10dd486a08b73ca260c88be6ad9d4ef19fd94 100644 (file)
@@ -44,7 +44,7 @@ Run: stresstest L files.txt
 supply the path to the parent of the "tests" directory (expect a couple
 long pauses for a couple of the larger tests)
 
-Run: stresstest T c:\php5-source
+Run: stresstest T c:\php7-source
 
 
 
index 9a5964a6ba7f2001cd936b455d58a005c1b80c54..8ad414fab6921a051b3c1376cb9c21937f92bcb4 100644 (file)
@@ -529,7 +529,7 @@ int main(int argc, char* argv[])
                    0,
                    NULL 
                );
-               fprintf(stderr,"Error: Dll 'php5isapi.dll' not found -%d\n%s\n", GetLastError(), lpMsgBuf);
+               fprintf(stderr,"Error: Dll 'php7isapi.dll' not found -%d\n%s\n", GetLastError(), lpMsgBuf);
                free (module);
                free(filelist);
                LocalFree( lpMsgBuf );
index 54980bf0e0d8effd41676f009c09f21f5e60ae47..812507957ef7ec4069335ef12a3ddeed8fc11124 100644 (file)
@@ -1,4 +1,4 @@
-Configuration of your Netscape/iPlanet/Sun Webserver for PHP5
+Configuration of your Netscape/iPlanet/Sun Webserver for PHP7
 -----------------------------------------------------------------
 
 These instructions are targetted at Netscape Enterprise Web Server and
@@ -28,13 +28,13 @@ Place the following two lines after mime.types init in
 for iPlanet/Sun Webserver 6.0 and above however at the end of the
 <path-to-server>/https-servername/config/magnus.conf file:
 
-    Init fn="load-modules" funcs="php5_init,php5_execute,php5_auth_trans" shlib="/path/to/phplibrary"
-    Init fn=php5_init errorString="Failed to initialize PHP!" [php_ini="/path/to/php.ini"]
+    Init fn="load-modules" funcs="php7_init,php7_execute,php7_auth_trans" shlib="/path/to/phplibrary"
+    Init fn=php7_init errorString="Failed to initialize PHP!" [php_ini="/path/to/php.ini"]
 
 The "shlib" will vary depending on your OS:
 
-       Unix: "<path-to-server>/bin/libphp5.so".
-       Windows: "c:/path/to/php5/php5nsapi.dll"
+       Unix: "<path-to-server>/bin/libphp7.so".
+       Windows: "c:/path/to/php7/php7nsapi.dll"
 
 
 In obj.conf (for virtual server classes [Sun 6.0+] in their vserver.obj.conf):
@@ -50,7 +50,7 @@ In obj.conf (for virtual server classes [Sun 6.0+] in their vserver.obj.conf):
     # For boolean ini-keys please use 0/1 as value, NOT "On","Off",... (this will not work
     # correctly), e.g. zlib.output_compression=1 instead of zlib.output_compression="On"
 
-    Service fn="php5_execute" type="magnus-internal/x-httpd-php" [inikey=value ...]
+    Service fn="php7_execute" type="magnus-internal/x-httpd-php" [inikey=value ...]
     .
     .
     .
@@ -61,7 +61,7 @@ PHP scripts (same like a cgi-bin directory):
 
     <Object name="x-httpd-php">
     ObjectType fn="force-type" type="magnus-internal/x-httpd-php"
-    Service fn="php5_execute" [inikey=value ...]
+    Service fn="php7_execute" [inikey=value ...]
     </Object>
 
 After that you can configure a directory in the Administration server and assign it
@@ -81,7 +81,7 @@ AUTHENTICATION IS PASSED TO YOUR PHP SCRIPT.  To configure PHP
 Authentication for the entire server, add the following line:
 
     <Object name="default">
-    AuthTrans fn=php5_auth_trans
+    AuthTrans fn=php7_auth_trans
     .
     .
     .
@@ -92,7 +92,7 @@ Authentication for the entire server, add the following line:
 To use PHP Authentication on a single directory, add the following:
 
     <Object ppath="d:\path\to\authenticated\dir\*">
-    AuthTrans fn=php5_auth_trans
+    AuthTrans fn=php7_auth_trans
     </Object>
 
 
@@ -103,7 +103,7 @@ You can use PHP to generate the error pages for "404 Not Found"
 or similar. Add the following line to the object in obj.conf for
 every error page you want to overwrite:
 
-    Error fn="php5_execute" code=XXX script="/path/to/script.php" [inikey=value inikey=value...]
+    Error fn="php7_execute" code=XXX script="/path/to/script.php" [inikey=value inikey=value...]
 
 where XXX ist the HTTP error code. Please delete any other Error
 directives which could interfere with yours.
@@ -116,7 +116,7 @@ Just generate a PHP script which displays a directory listing and
 replace the corresponding default Service line for
 type="magnus-internal/directory" in obj.conf with the following:
 
-    Service fn="php5_execute" type="magnus-internal/directory" script="/path/to/script.php" [inikey=value inikey=value...]
+    Service fn="php7_execute" type="magnus-internal/directory" script="/path/to/script.php" [inikey=value inikey=value...]
 
 For both error and directory listing pages the original URI and
 translated URI are in the variables $_SERVER['PATH_INFO'] and
@@ -141,9 +141,9 @@ till version 6.1. If a newer version of the Sun server is used, the detection
 fails and nsapi_virtual() is disabled.
 
 If this is the case, try the following:
-Add the following parameter to php5_init in magnus.conf:
+Add the following parameter to php7_init in magnus.conf:
 
-    Init fn=php5_init ... server_lib="ns-httpdXX.dll"
+    Init fn=php7_init ... server_lib="ns-httpdXX.dll"
     
 where XX is the correct DLL version number. To get it, look in the server-root
 for the correct DLL name. The DLL with the biggest filesize is the right one.
index 496596d773896847e9e54cf3e0e3a26360276157..814b12737ab74d4f44c91a4112ba379cd4a9213c 100644 (file)
@@ -251,7 +251,7 @@ static void php_nsapi_init_dynamic_symbols(void)
                /* try user specified server_lib */
                module = GetModuleHandle(nsapi_dll);
                if (!module) {
-                       log_error(LOG_WARN, "php5_init", NULL, NULL, "Cannot find DLL specified by server_lib parameter: %s", nsapi_dll);
+                       log_error(LOG_WARN, "php7_init", NULL, NULL, "Cannot find DLL specified by server_lib parameter: %s", nsapi_dll);
                }
        } else {
                /* find a LOADED dll module from nsapi_dlls */
@@ -781,7 +781,7 @@ static void nsapi_log_message(char *message TSRMLS_DC)
        if (rc) {
                log_error(LOG_INFORM, pblock_findval("fn", rc->pb), rc->sn, rc->rq, "%s", message);
        } else {
-               log_error(LOG_INFORM, "php5", NULL, NULL, "%s", message);
+               log_error(LOG_INFORM, "php7", NULL, NULL, "%s", message);
        }
 }
 
@@ -868,7 +868,7 @@ static void nsapi_php_ini_entries(NSLS_D TSRMLS_DC)
        }
 }
 
-void NSAPI_PUBLIC php5_close(void *vparam)
+void NSAPI_PUBLIC php7_close(void *vparam)
 {
        if (nsapi_sapi_module.shutdown) {
                nsapi_sapi_module.shutdown(&nsapi_sapi_module);
@@ -888,13 +888,13 @@ void NSAPI_PUBLIC php5_close(void *vparam)
        sapi_shutdown();
        tsrm_shutdown();
 
-       log_error(LOG_INFORM, "php5_close", NULL, NULL, "Shutdown PHP Module");
+       log_error(LOG_INFORM, "php7_close", NULL, NULL, "Shutdown PHP Module");
 }
 
 /*********************************************************
 / init SAF
 /
-/ Init fn="php5_init" [php_ini="/path/to/php.ini"] [server_lib="ns-httpdXX.dll"]
+/ Init fn="php7_init" [php_ini="/path/to/php.ini"] [server_lib="ns-httpdXX.dll"]
 /   Initialize the NSAPI module in magnus.conf
 /
 / php_ini: gives path to php.ini file
@@ -902,7 +902,7 @@ void NSAPI_PUBLIC php5_close(void *vparam)
 /  servact_* functions
 /
 /*********************************************************/
-int NSAPI_PUBLIC php5_init(pblock *pb, Session *sn, Request *rq)
+int NSAPI_PUBLIC php7_init(pblock *pb, Session *sn, Request *rq)
 {
        php_core_globals *core_globals;
        char *strval;
@@ -917,13 +917,13 @@ int NSAPI_PUBLIC php5_init(pblock *pb, Session *sn, Request *rq)
 
        core_globals = ts_resource(core_globals_id);
 
-       /* look if php_ini parameter is given to php5_init */
+       /* look if php_ini parameter is given to php7_init */
        if (strval = pblock_findval("php_ini", pb)) {
                nsapi_sapi_module.php_ini_path_override = strdup(strval);
        }
        
 #ifdef PHP_WIN32
-       /* look if server_lib parameter is given to php5_init
+       /* look if server_lib parameter is given to php7_init
         * (this disables the automatic search for the newest ns-httpdXX.dll) */
        if (strval = pblock_findval("server_lib", pb)) {
                nsapi_dll = strdup(strval);
@@ -934,7 +934,7 @@ int NSAPI_PUBLIC php5_init(pblock *pb, Session *sn, Request *rq)
        sapi_startup(&nsapi_sapi_module);
        nsapi_sapi_module.startup(&nsapi_sapi_module);
 
-       daemon_atrestart(&php5_close, NULL);
+       daemon_atrestart(&php7_close, NULL);
 
        log_error(LOG_INFORM, pblock_findval("fn", pb), sn, rq, "Initialized PHP Module (%d threads expected)", threads);
        return REQ_PROCEED;
@@ -943,19 +943,19 @@ int NSAPI_PUBLIC php5_init(pblock *pb, Session *sn, Request *rq)
 /*********************************************************
 / normal use in Service directive:
 /
-/ Service fn="php5_execute" type=... method=... [inikey=inivalue inikey=inivalue...]
+/ Service fn="php7_execute" type=... method=... [inikey=inivalue inikey=inivalue...]
 /
 / use in Service for a directory to supply a php-made directory listing instead of server default:
 /
-/ Service fn="php5_execute" type="magnus-internal/directory" script="/path/to/script.php" [inikey=inivalue inikey=inivalue...]
+/ Service fn="php7_execute" type="magnus-internal/directory" script="/path/to/script.php" [inikey=inivalue inikey=inivalue...]
 /
 / use in Error SAF to display php script as error page:
 /
-/ Error fn="php5_execute" code=XXX script="/path/to/script.php" [inikey=inivalue inikey=inivalue...]
-/ Error fn="php5_execute" reason="Reason" script="/path/to/script.php" [inikey=inivalue inikey=inivalue...]
+/ Error fn="php7_execute" code=XXX script="/path/to/script.php" [inikey=inivalue inikey=inivalue...]
+/ Error fn="php7_execute" reason="Reason" script="/path/to/script.php" [inikey=inivalue inikey=inivalue...]
 /
 /*********************************************************/
-int NSAPI_PUBLIC php5_execute(pblock *pb, Session *sn, Request *rq)
+int NSAPI_PUBLIC php7_execute(pblock *pb, Session *sn, Request *rq)
 {
        int retval;
        nsapi_request_context *request_context;
@@ -1076,15 +1076,15 @@ int NSAPI_PUBLIC php5_execute(pblock *pb, Session *sn, Request *rq)
 / will pass authentication through to php, and allow us to
 / check authentication with our scripts.
 /
-/ php5_auth_trans
+/ php7_auth_trans
 /   main function called from netscape server to authenticate
 /   a line in obj.conf:
-/              funcs=php5_auth_trans shlib="path/to/this/phpnsapi.dll"
+/              funcs=php7_auth_trans shlib="path/to/this/phpnsapi.dll"
 /      and:
 /              <Object ppath="path/to/be/authenticated/by/php/*">
-/              AuthTrans fn="php5_auth_trans"
+/              AuthTrans fn="php7_auth_trans"
 /*********************************************************/
-int NSAPI_PUBLIC php5_auth_trans(pblock * pb, Session * sn, Request * rq)
+int NSAPI_PUBLIC php7_auth_trans(pblock * pb, Session * sn, Request * rq)
 {
        /* This is a DO NOTHING function that allows authentication
         * information
similarity index 76%
rename from sapi/nsapi/php5nsapi.dsp
rename to sapi/nsapi/php7nsapi.dsp
index 6cd0079b43a1007d1c7fb7c1a788438e7a66f5dc..04628871fad5fdcb4fdaae1fc5d93a3a99404455 100644 (file)
@@ -1,25 +1,25 @@
-# Microsoft Developer Studio Project File - Name="php5nsapi" - Package Owner=<4>\r
+# Microsoft Developer Studio Project File - Name="php7nsapi" - Package Owner=<4>\r
 # Microsoft Developer Studio Generated Build File, Format Version 6.00\r
 # ** DO NOT EDIT **\r
 \r
 # TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102\r
 \r
-CFG=php5nsapi - Win32 Debug_TS\r
+CFG=php7nsapi - Win32 Debug_TS\r
 !MESSAGE This is not a valid makefile. To build this project using NMAKE,\r
 !MESSAGE use the Export Makefile command and run\r
 !MESSAGE \r
-!MESSAGE NMAKE /f "php5nsapi.mak".\r
+!MESSAGE NMAKE /f "php7nsapi.mak".\r
 !MESSAGE \r
 !MESSAGE You can specify a configuration when running NMAKE\r
 !MESSAGE by defining the macro CFG on the command line. For example:\r
 !MESSAGE \r
-!MESSAGE NMAKE /f "php5nsapi.mak" CFG="php5nsapi - Win32 Debug_TS"\r
+!MESSAGE NMAKE /f "php7nsapi.mak" CFG="php7nsapi - Win32 Debug_TS"\r
 !MESSAGE \r
 !MESSAGE Possible choices for configuration are:\r
 !MESSAGE \r
-!MESSAGE "php5nsapi - Win32 Release_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
-!MESSAGE "php5nsapi - Win32 Release_TS_inline" (based on "Win32 (x86) Dynamic-Link Library")\r
-!MESSAGE "php5nsapi - Win32 Debug_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
+!MESSAGE "php7nsapi - Win32 Release_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
+!MESSAGE "php7nsapi - Win32 Release_TS_inline" (based on "Win32 (x86) Dynamic-Link Library")\r
+!MESSAGE "php7nsapi - Win32 Debug_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
 !MESSAGE \r
 \r
 # Begin Project\r
@@ -30,12 +30,12 @@ CPP=cl.exe
 MTL=midl.exe\r
 RSC=rc.exe\r
 \r
-!IF  "$(CFG)" == "php5nsapi - Win32 Release_TS"\r
+!IF  "$(CFG)" == "php7nsapi - Win32 Release_TS"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 0\r
-# PROP BASE Output_Dir "php5nsapi___Win32_Release_TS"\r
-# PROP BASE Intermediate_Dir "php5nsapi___Win32_Release_TS"\r
+# PROP BASE Output_Dir "php7nsapi___Win32_Release_TS"\r
+# PROP BASE Intermediate_Dir "php7nsapi___Win32_Release_TS"\r
 # PROP BASE Target_Dir ""\r
 # PROP Use_MFC 0\r
 # PROP Use_Debug_Libraries 0\r
@@ -43,8 +43,8 @@ RSC=rc.exe
 # PROP Intermediate_Dir "Release_TS"\r
 # PROP Ignore_Export_Lib 0\r
 # PROP Target_Dir ""\r
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "php5nsapi_EXPORTS" /YX /FD /c\r
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "." /I "..\..\..\php_build\nsapi30\include\\" /I "..\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\..\bindlib_w32" /I "..\..\main" /I "..\..\tsrm" /D ZEND_DEBUG=0 /D "NDEBUG" /D "XP_WIN32" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "_WINDOWS" /D "_USRDLL" /D "php5nsapi_EXPORTS" /D "WIN32" /D "_MBCS" /YX /FD /c\r
+# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "php7nsapi_EXPORTS" /YX /FD /c\r
+# ADD CPP /nologo /MD /W3 /GX /O2 /I "." /I "..\..\..\php_build\nsapi30\include\\" /I "..\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\..\bindlib_w32" /I "..\..\main" /I "..\..\tsrm" /D ZEND_DEBUG=0 /D "NDEBUG" /D "XP_WIN32" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "_WINDOWS" /D "_USRDLL" /D "php7nsapi_EXPORTS" /D "WIN32" /D "_MBCS" /YX /FD /c\r
 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD BASE RSC /l 0x409 /d "NDEBUG"\r
@@ -54,14 +54,14 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 ns-httpd30.lib php5ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x62000000" /version:4.0 /dll /machine:I386 /libpath:"..\..\..\php_build\nsapi30\lib\\" /libpath:"..\..\Release_TS" /libpath:"..\..\TSRM\Release_TS" /libpath:"..\..\Zend\Release_TS"\r
+# ADD LINK32 ns-httpd30.lib php7ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x62000000" /version:4.0 /dll /machine:I386 /libpath:"..\..\..\php_build\nsapi30\lib\\" /libpath:"..\..\Release_TS" /libpath:"..\..\TSRM\Release_TS" /libpath:"..\..\Zend\Release_TS"\r
 \r
-!ELSEIF  "$(CFG)" == "php5nsapi - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7nsapi - Win32 Release_TS_inline"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 0\r
-# PROP BASE Output_Dir "php5nsapi___Win32_Release_TS_inline"\r
-# PROP BASE Intermediate_Dir "php5nsapi___Win32_Release_TS_inline"\r
+# PROP BASE Output_Dir "php7nsapi___Win32_Release_TS_inline"\r
+# PROP BASE Intermediate_Dir "php7nsapi___Win32_Release_TS_inline"\r
 # PROP BASE Target_Dir ""\r
 # PROP Use_MFC 0\r
 # PROP Use_Debug_Libraries 0\r
@@ -69,8 +69,8 @@ LINK32=link.exe
 # PROP Intermediate_Dir "Release_TS_inline"\r
 # PROP Ignore_Export_Lib 0\r
 # PROP Target_Dir ""\r
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "php5nsapi_EXPORTS" /YX /FD /c\r
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "." /I "..\..\..\php_build\nsapi30\include\\" /I "..\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\..\bindlib_w32" /I "..\..\main" /I "..\..\tsrm" /D ZEND_DEBUG=0 /D "ZEND_WIN32_FORCE_INLINE" /D "NDEBUG" /D "XP_WIN32" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "_WINDOWS" /D "_USRDLL" /D "php5nsapi_EXPORTS" /D "WIN32" /D "_MBCS" /YX /FD /c\r
+# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "php7nsapi_EXPORTS" /YX /FD /c\r
+# ADD CPP /nologo /MD /W3 /GX /O2 /I "." /I "..\..\..\php_build\nsapi30\include\\" /I "..\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\..\bindlib_w32" /I "..\..\main" /I "..\..\tsrm" /D ZEND_DEBUG=0 /D "ZEND_WIN32_FORCE_INLINE" /D "NDEBUG" /D "XP_WIN32" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "_WINDOWS" /D "_USRDLL" /D "php7nsapi_EXPORTS" /D "WIN32" /D "_MBCS" /YX /FD /c\r
 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD BASE RSC /l 0x409 /d "NDEBUG"\r
@@ -80,14 +80,14 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 ns-httpd30.lib php5ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x62000000" /version:4.0 /dll /machine:I386 /libpath:"..\..\..\php_build\nsapi30\lib\\" /libpath:"..\..\Release_TS_inline" /libpath:"..\..\TSRM\Release_TS_inline" /libpath:"..\..\Zend\Release_TS_inline"\r
+# ADD LINK32 ns-httpd30.lib php7ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x62000000" /version:4.0 /dll /machine:I386 /libpath:"..\..\..\php_build\nsapi30\lib\\" /libpath:"..\..\Release_TS_inline" /libpath:"..\..\TSRM\Release_TS_inline" /libpath:"..\..\Zend\Release_TS_inline"\r
 \r
-!ELSEIF  "$(CFG)" == "php5nsapi - Win32 Debug_TS"\r
+!ELSEIF  "$(CFG)" == "php7nsapi - Win32 Debug_TS"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 1\r
-# PROP BASE Output_Dir "php5nsapi___Win32_Debug_TS"\r
-# PROP BASE Intermediate_Dir "php5nsapi___Win32_Debug_TS"\r
+# PROP BASE Output_Dir "php7nsapi___Win32_Debug_TS"\r
+# PROP BASE Intermediate_Dir "php7nsapi___Win32_Debug_TS"\r
 # PROP BASE Target_Dir ""\r
 # PROP Use_MFC 0\r
 # PROP Use_Debug_Libraries 1\r
@@ -95,8 +95,8 @@ LINK32=link.exe
 # PROP Intermediate_Dir "Debug_TS"\r
 # PROP Ignore_Export_Lib 0\r
 # PROP Target_Dir ""\r
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "php5nsapi_EXPORTS" /YX /FD /GZ /c\r
-# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "." /I "..\..\..\php_build\nsapi30\include\\" /I "..\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\..\bindlib_w32" /I "..\..\main" /I "..\..\tsrm" /D "_Debug_TS" /D ZEND_DEBUG=1 /D "_DEBUG" /D "XP_WIN32" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "_WINDOWS" /D "_USRDLL" /D "php5nsapi_EXPORTS" /D "WIN32" /D "_MBCS" /FR /YX /FD /GZ /c\r
+# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "php7nsapi_EXPORTS" /YX /FD /GZ /c\r
+# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "." /I "..\..\..\php_build\nsapi30\include\\" /I "..\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\..\bindlib_w32" /I "..\..\main" /I "..\..\tsrm" /D "_Debug_TS" /D ZEND_DEBUG=1 /D "_DEBUG" /D "XP_WIN32" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "_WINDOWS" /D "_USRDLL" /D "php7nsapi_EXPORTS" /D "WIN32" /D "_MBCS" /FR /YX /FD /GZ /c\r
 # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32\r
 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32\r
 # ADD BASE RSC /l 0x409 /d "_DEBUG"\r
@@ -106,15 +106,15 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 ns-httpd30.lib php5ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x62000000" /version:4.0 /dll /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\php_build\nsapi30\lib\\" /libpath:"..\..\Debug_TS" /libpath:"..\..\TSRM\Debug_TS" /libpath:"..\..\Zend\Debug_TS"\r
+# ADD LINK32 ns-httpd30.lib php7ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x62000000" /version:4.0 /dll /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\php_build\nsapi30\lib\\" /libpath:"..\..\Debug_TS" /libpath:"..\..\TSRM\Debug_TS" /libpath:"..\..\Zend\Debug_TS"\r
 \r
 !ENDIF \r
 \r
 # Begin Target\r
 \r
-# Name "php5nsapi - Win32 Release_TS"\r
-# Name "php5nsapi - Win32 Release_TS_inline"\r
-# Name "php5nsapi - Win32 Debug_TS"\r
+# Name "php7nsapi - Win32 Release_TS"\r
+# Name "php7nsapi - Win32 Release_TS_inline"\r
+# Name "php7nsapi - Win32 Debug_TS"\r
 # Begin Group "Source Files"\r
 \r
 # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"\r
index 5e4d144c8386eaf621623cd58673b0c6a0e54d3b..b6c26df565f1f479e740269b475b2a8339b8e5c3 100644 (file)
@@ -7,7 +7,7 @@ phpdbg \- The interactive PHP debugger
 [\fB\-e\fIFILE\fR]
 .SH DESCRIPTION
 .B phpdbg
-a lightweight, powerful, easy to use debugging platform for PHP5.
+a lightweight, powerful, easy to use debugging platform for PHP7.
 .SH OPTIONS
 The following switches are implemented (just like cli SAPI):
 .TP
index e3e523e94047d1829038c87c7b7f3ad2eeadedc1..e7726edcf4cca97ca805f174a75848e0e629c630 100644 (file)
@@ -1,36 +1,36 @@
-PHP5 Module
+PHP7 Module
 ==========
-This module requires PHP5 as thread safe shared library. Have a look
+This module requires PHP7 as thread safe shared library. Have a look
 into the INSTALL file which accompanies that distribution.
 
 If you distribute this software bundled with the PHP software in source
 or binary form, then you must adhere to the PHP copyright conditions -
 the terms are reasonable.
 
-You should have checked out and built the PHP5 source package from the
-PHP CVS tree into the Pi3Web source directory called 'PHP5' first. Then
-build PHP5 as Pi3Web module and after that build the Pi3Web PHP5 wrapper:
+You should have checked out and built the PHP7 source package from the
+PHP CVS tree into the Pi3Web source directory called 'PHP7' first. Then
+build PHP7 as Pi3Web module and after that build the Pi3Web PHP7 wrapper:
 
-1. Checkout PHP5
+1. Checkout PHP7
 ================
 cvs -d :pserver:cvsread@cvs.php.net:/repository login
 The required password is phpfi
 
-cvs -z3 -d :pserver:cvsread@cvs.php.net:/repository co php5
+cvs -z3 -d :pserver:cvsread@cvs.php.net:/repository co php7
 
 You must also checkout the TSRM and the ZEND module from the ZEND cvs tree
-into the PHP5 root directory
+into the PHP7 root directory
 
 cvs -d :pserver:cvsread@cvs.zend.com:/repository login
 The required password is zend
 
 cvs -z3 -d :pserver:cvsread@cvs.zend.com:/repository co Zend TSRM
 
-2. Build PHP5 
+2. Build PHP7 
 =============
 2.1 POSIX
 ---------
-cd ./php5
+cd ./php7
 ./buildconf
 ./configure --with-pi3web
 make
@@ -41,10 +41,10 @@ other required downloads from the php website
   - bison 1.25
   - bindlib32
   - number4.tar.gz
-nmake php5dllts.mak
+nmake php7dllts.mak
 
-3. Build Pi3Web PHP5 wrapper
+3. Build Pi3Web PHP7 wrapper
 ============================
-Run make in the Pi3Web /Source/PHP5 directory.
+Run make in the Pi3Web /Source/PHP7 directory.
 
 For further information refer to http://www.php.net/version4/
index 347a74ca06173820c39a7724aaa56d8342f16e1e..42ff164394fe150c74086704788eeacd520f5eb0 100644 (file)
@@ -17,7 +17,7 @@ if test "$PHP_PI3WEB" != "no"; then
   PHP_ADD_INCLUDE($PI3PATH/PiAPI)
   PHP_ADD_INCLUDE($PI3PATH/Pi2API)
   PHP_ADD_INCLUDE($PI3PATH/Pi3API)
-  PHP_ADD_INCLUDE($PI3PATH/PHP5)
+  PHP_ADD_INCLUDE($PI3PATH/PHP7)
   PHP_SELECT_SAPI(pi3web, shared, pi3web_sapi.c)
   INSTALL_IT="\$(SHELL) \$(srcdir)/install-sh -m 0755 $SAPI_SHARED \$(INSTALL_ROOT)$PI3PATH/bin/"
 fi
index a5393e621ba22da57865a9cdc27f568be38ca4f6..9441784468fddb221549c563cf8af90b86e36dcd 100644 (file)
@@ -8,7 +8,7 @@ if (PHP_PI3WEB != "no") {
                   CHECK_LIB('piapi.lib', 'pi3web', PHP_PHP_BUILD + "\\Pi3Web\\lib;" + PHP_PI3WEB) &&
                   CHECK_LIB('pi2api.lib', 'pi3web', PHP_PHP_BUILD + "\\Pi3Web\\lib;" + PHP_PI3WEB) &&
                   CHECK_LIB('pi3api.lib', 'pi3web', PHP_PHP_BUILD + "\\Pi3Web\\lib;" + PHP_PI3WEB)) {
-               SAPI('pi3web', 'pi3web_sapi.c', 'php' + PHP_VERSION + 'pi3web.dll', '/D PHP5PI3WEB_EXPORTS');
+               SAPI('pi3web', 'pi3web_sapi.c', 'php' + PHP_VERSION + 'pi3web.dll', '/D PHP7PI3WEB_EXPORTS');
                AC_DEFINE('WITH_PI3WEB', 1);
        } else {
                WARNING('Pi3Web not enabled; headers/libraries not found');
similarity index 80%
rename from sapi/pi3web/php5pi3web.dsp
rename to sapi/pi3web/php7pi3web.dsp
index bb5a2488022a572fed489457912ca402bdb04d16..b7f38cecfe70bdb764702c8195a8b6b6c0d9ddf7 100644 (file)
@@ -1,25 +1,25 @@
-# Microsoft Developer Studio Project File - Name="php5pi3web" - Package Owner=<4>\r
+# Microsoft Developer Studio Project File - Name="php7pi3web" - Package Owner=<4>\r
 # Microsoft Developer Studio Generated Build File, Format Version 6.00\r
 # ** DO NOT EDIT **\r
 \r
 # TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102\r
 \r
-CFG=php5pi3web - Win32 Debug_TS\r
+CFG=php7pi3web - Win32 Debug_TS\r
 !MESSAGE This is not a valid makefile. To build this project using NMAKE,\r
 !MESSAGE use the Export Makefile command and run\r
 !MESSAGE \r
-!MESSAGE NMAKE /f "php5pi3web.mak".\r
+!MESSAGE NMAKE /f "php7pi3web.mak".\r
 !MESSAGE \r
 !MESSAGE You can specify a configuration when running NMAKE\r
 !MESSAGE by defining the macro CFG on the command line. For example:\r
 !MESSAGE \r
-!MESSAGE NMAKE /f "php5pi3web.mak" CFG="php5pi3web - Win32 Debug_TS"\r
+!MESSAGE NMAKE /f "php7pi3web.mak" CFG="php7pi3web - Win32 Debug_TS"\r
 !MESSAGE \r
 !MESSAGE Possible choices for configuration are:\r
 !MESSAGE \r
-!MESSAGE "php5pi3web - Win32 Debug_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
-!MESSAGE "php5pi3web - Win32 Release_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
-!MESSAGE "php5pi3web - Win32 Release_TS_inline" (based on "Win32 (x86) Dynamic-Link Library")\r
+!MESSAGE "php7pi3web - Win32 Debug_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
+!MESSAGE "php7pi3web - Win32 Release_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
+!MESSAGE "php7pi3web - Win32 Release_TS_inline" (based on "Win32 (x86) Dynamic-Link Library")\r
 !MESSAGE \r
 \r
 # Begin Project\r
@@ -30,7 +30,7 @@ CPP=cl.exe
 MTL=midl.exe\r
 RSC=rc.exe\r
 \r
-!IF  "$(CFG)" == "php5pi3web - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7pi3web - Win32 Debug_TS"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 1\r
@@ -43,8 +43,8 @@ RSC=rc.exe
 # PROP Intermediate_Dir "Debug_TS"\r
 # PROP Ignore_Export_Lib 0\r
 # PROP Target_Dir ""\r
-# ADD BASE CPP /nologo /MTd /W3 /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "php5pi3web_EXPORTS" /YX /FD /GZ /c\r
-# ADD CPP /nologo /MDd /W3 /GX /ZI /Od /I "...\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\main" /I "..\..\TSRM" /I "..\..\..\..\PIAPI" /I "..\..\..\..\PI2API" /I "..\..\..\..\PI3API" /D "_DEBUG" /D ZEND_DEBUG=1 /D "_WINDOWS" /D "_USRDLL" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "WIN32" /D "_MBCS" /D "PHP5PI3WEB_EXPORTS" /FR /YX /FD /GZ /c\r
+# ADD BASE CPP /nologo /MTd /W3 /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "php7pi3web_EXPORTS" /YX /FD /GZ /c\r
+# ADD CPP /nologo /MDd /W3 /GX /ZI /Od /I "...\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\main" /I "..\..\TSRM" /I "..\..\..\..\PIAPI" /I "..\..\..\..\PI2API" /I "..\..\..\..\PI3API" /D "_DEBUG" /D ZEND_DEBUG=1 /D "_WINDOWS" /D "_USRDLL" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "WIN32" /D "_MBCS" /D "PHP7PI3WEB_EXPORTS" /FR /YX /FD /GZ /c\r
 # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32\r
 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32\r
 # ADD BASE RSC /l 0x40d /d "_DEBUG"\r
@@ -54,9 +54,9 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 php5ts_debug.lib kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib PiAPI.lib Pi2API.lib Pi3API.lib /nologo /version:4.0 /dll /debug /machine:I386 /nodefaultlib:"libcmt" /nodefaultlib:"libc" /pdbtype:sept /libpath:"..\..\Debug_TS" /libpath:"..\..\..\..\PIAPI" /libpath:"..\..\..\..\PI2API" /libpath:"..\..\..\..\PI3API"\r
+# ADD LINK32 php7ts_debug.lib kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib PiAPI.lib Pi2API.lib Pi3API.lib /nologo /version:4.0 /dll /debug /machine:I386 /nodefaultlib:"libcmt" /nodefaultlib:"libc" /pdbtype:sept /libpath:"..\..\Debug_TS" /libpath:"..\..\..\..\PIAPI" /libpath:"..\..\..\..\PI2API" /libpath:"..\..\..\..\PI3API"\r
 \r
-!ELSEIF  "$(CFG)" == "php5pi3web - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7pi3web - Win32 Release_TS"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 0\r
@@ -69,8 +69,8 @@ LINK32=link.exe
 # PROP Intermediate_Dir "Release_TS"\r
 # PROP Ignore_Export_Lib 0\r
 # PROP Target_Dir ""\r
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "php5pi3web_EXPORTS" /YX /FD /c\r
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "...\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\main" /I "..\..\TSRM" /I "..\..\..\..\PIAPI" /I "..\..\..\..\PI2API" /I "..\..\..\..\PI3API" /D "NDEBUG" /D ZEND_DEBUG=0 /D "_WINDOWS" /D "_USRDLL" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "WIN32" /D "_MBCS" /D "PHP5PI3WEB_EXPORTS" /FR /YX /FD /c\r
+# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "php7pi3web_EXPORTS" /YX /FD /c\r
+# ADD CPP /nologo /MD /W3 /GX /O2 /I "...\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\main" /I "..\..\TSRM" /I "..\..\..\..\PIAPI" /I "..\..\..\..\PI2API" /I "..\..\..\..\PI3API" /D "NDEBUG" /D ZEND_DEBUG=0 /D "_WINDOWS" /D "_USRDLL" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "WIN32" /D "_MBCS" /D "PHP7PI3WEB_EXPORTS" /FR /YX /FD /c\r
 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD BASE RSC /l 0x40d /d "NDEBUG"\r
@@ -80,14 +80,14 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 php5ts.lib kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib PiAPI.lib Pi2API.lib Pi3API.lib /nologo /version:4.0 /dll /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libcmt.lib" /libpath:"..\..\Release_TS" /libpath:"..\..\..\..\PIAPI" /libpath:"..\..\..\..\PI2API" /libpath:"..\..\..\..\PI3API"\r
+# ADD LINK32 php7ts.lib kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib PiAPI.lib Pi2API.lib Pi3API.lib /nologo /version:4.0 /dll /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libcmt.lib" /libpath:"..\..\Release_TS" /libpath:"..\..\..\..\PIAPI" /libpath:"..\..\..\..\PI2API" /libpath:"..\..\..\..\PI3API"\r
 \r
-!ELSEIF  "$(CFG)" == "php5pi3web - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7pi3web - Win32 Release_TS_inline"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 0\r
-# PROP BASE Output_Dir "php5pi3web___Win32_Release_TS_inline"\r
-# PROP BASE Intermediate_Dir "php5pi3web___Win32_Release_TS_inline"\r
+# PROP BASE Output_Dir "php7pi3web___Win32_Release_TS_inline"\r
+# PROP BASE Intermediate_Dir "php7pi3web___Win32_Release_TS_inline"\r
 # PROP BASE Ignore_Export_Lib 0\r
 # PROP BASE Target_Dir ""\r
 # PROP Use_MFC 0\r
@@ -96,8 +96,8 @@ LINK32=link.exe
 # PROP Intermediate_Dir "Release_TS_inline"\r
 # PROP Ignore_Export_Lib 0\r
 # PROP Target_Dir ""\r
-# ADD BASE CPP /nologo /MD /W3 /GX /O2 /I ".." /I "..\main" /I "..\regex" /I "..\..\bindlib_w32" /I "..\Zend" /I "..\TSRM" /I "..\ext\mysql\libmysql" /I "..\..\..\PiAPI" /I "..\..\..\Pi2API" /I "..\..\..\Pi3API" /D "NDEBUG" /D ZEND_DEBUG=0 /D "_WINDOWS" /D "_USRDLL" /D "PHP5DLLTS_EXPORTS" /D "PHP_EXPORTS" /D "LIBZEND_EXPORTS" /D "TSRM_EXPORTS" /D "SAPI_EXPORTS" /D "MSVC5" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "WIN32" /D "_MBCS" /FR /YX /FD /c\r
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "...\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\main" /I "..\..\TSRM" /I "..\..\..\..\PIAPI" /I "..\..\..\..\PI2API" /I "..\..\..\..\PI3API" /D "NDEBUG" /D ZEND_DEBUG=0 /D "ZEND_WIN32_FORCE_INLINE" /D "_WINDOWS" /D "_USRDLL" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "WIN32" /D "_MBCS" /D "PHP5PI3WEB_EXPORTS" /FR /YX /FD /c\r
+# ADD BASE CPP /nologo /MD /W3 /GX /O2 /I ".." /I "..\main" /I "..\regex" /I "..\..\bindlib_w32" /I "..\Zend" /I "..\TSRM" /I "..\ext\mysql\libmysql" /I "..\..\..\PiAPI" /I "..\..\..\Pi2API" /I "..\..\..\Pi3API" /D "NDEBUG" /D ZEND_DEBUG=0 /D "_WINDOWS" /D "_USRDLL" /D "PHP7DLLTS_EXPORTS" /D "PHP_EXPORTS" /D "LIBZEND_EXPORTS" /D "TSRM_EXPORTS" /D "SAPI_EXPORTS" /D "MSVC5" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "WIN32" /D "_MBCS" /FR /YX /FD /c\r
+# ADD CPP /nologo /MD /W3 /GX /O2 /I "...\..\include" /I "..\..\win32" /I "..\..\Zend" /I "..\.." /I "..\..\main" /I "..\..\TSRM" /I "..\..\..\..\PIAPI" /I "..\..\..\..\PI2API" /I "..\..\..\..\PI3API" /D "NDEBUG" /D ZEND_DEBUG=0 /D "ZEND_WIN32_FORCE_INLINE" /D "_WINDOWS" /D "_USRDLL" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "WIN32" /D "_MBCS" /D "PHP7PI3WEB_EXPORTS" /FR /YX /FD /c\r
 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD BASE RSC /l 0x409 /d "NDEBUG"\r
@@ -106,16 +106,16 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ZendTS.lib TSRM.lib resolv.lib libmysql.lib PiAPI.lib Pi2API.lib Pi3API.lib /nologo /version:4.0 /dll /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libcmt.lib" /out:"..\Release_TS\php5ts.dll" /libpath:"..\TSRM\Release_TS" /libpath:"..\Zend\Release_TS" /libpath:"..\..\bindlib_w32\Release" /libpath:"..\ext\mysql\libmysql\Release_TS" /libpath:"Release_TS" /libpath:"..\..\..\PiAPI" /libpath:"..\..\..\Pi2API" /libpath:"..\..\..\Pi3API"\r
-# ADD LINK32 php5ts.lib kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib PiAPI.lib Pi2API.lib Pi3API.lib /nologo /version:4.0 /dll /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libcmt.lib" /libpath:"..\..\Release_TS_inline" /libpath:"..\..\..\..\PIAPI" /libpath:"..\..\..\..\PI2API" /libpath:"..\..\..\..\PI3API"\r
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ZendTS.lib TSRM.lib resolv.lib libmysql.lib PiAPI.lib Pi2API.lib Pi3API.lib /nologo /version:4.0 /dll /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libcmt.lib" /out:"..\Release_TS\php7ts.dll" /libpath:"..\TSRM\Release_TS" /libpath:"..\Zend\Release_TS" /libpath:"..\..\bindlib_w32\Release" /libpath:"..\ext\mysql\libmysql\Release_TS" /libpath:"Release_TS" /libpath:"..\..\..\PiAPI" /libpath:"..\..\..\Pi2API" /libpath:"..\..\..\Pi3API"\r
+# ADD LINK32 php7ts.lib kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib PiAPI.lib Pi2API.lib Pi3API.lib /nologo /version:4.0 /dll /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libcmt.lib" /libpath:"..\..\Release_TS_inline" /libpath:"..\..\..\..\PIAPI" /libpath:"..\..\..\..\PI2API" /libpath:"..\..\..\..\PI3API"\r
 \r
 !ENDIF \r
 \r
 # Begin Target\r
 \r
-# Name "php5pi3web - Win32 Debug_TS"\r
-# Name "php5pi3web - Win32 Release_TS"\r
-# Name "php5pi3web - Win32 Release_TS_inline"\r
+# Name "php7pi3web - Win32 Debug_TS"\r
+# Name "php7pi3web - Win32 Release_TS"\r
+# Name "php7pi3web - Win32 Release_TS_inline"\r
 # Begin Group "Source Files"\r
 \r
 # PROP Default_Filter ".c"\r
index 0e17c0e0290630f9ce45a6a2062eb8c337bdcf34..d6bc2997f4da6474cbd97650ced9e02829c256c5 100644 (file)
@@ -342,7 +342,7 @@ static sapi_module_struct pi3web_sapi_module = {
        STANDARD_SAPI_MODULE_PROPERTIES
 };
 
-MODULE_API DWORD PHP5_wrapper(LPCONTROL_BLOCK lpCB)
+MODULE_API DWORD PHP7_wrapper(LPCONTROL_BLOCK lpCB)
 {
        zend_file_handle file_handle = {0};
        int iRet = PIAPI_COMPLETED;
@@ -411,7 +411,7 @@ MODULE_API DWORD PHP5_wrapper(LPCONTROL_BLOCK lpCB)
        return iRet;
 }
 
-MODULE_API BOOL PHP5_startup() {
+MODULE_API BOOL PHP7_startup() {
        tsrm_startup(1, 1, 0, NULL);
        sapi_startup(&pi3web_sapi_module);
        if (pi3web_sapi_module.startup) {
@@ -421,7 +421,7 @@ MODULE_API BOOL PHP5_startup() {
        return IWasLoaded;
 };
 
-MODULE_API BOOL PHP5_shutdown() {
+MODULE_API BOOL PHP7_shutdown() {
        if (pi3web_sapi_module.shutdown) {
                pi3web_sapi_module.shutdown(&pi3web_sapi_module);
        };
index d229fec53faf33b6838943ca59ec6c600f12c168..83f483d92455994d4ef525f4539f28c8fc86eb5b 100644 (file)
@@ -3,7 +3,7 @@
 
 #ifdef PHP_WIN32
 #      include <windows.h>
-#      ifdef PHP5PI3WEB_EXPORTS
+#      ifdef PHP7PI3WEB_EXPORTS
 #              define MODULE_API __declspec(dllexport) 
 #      else
 #              define MODULE_API __declspec(dllimport) 
@@ -86,9 +86,9 @@ typedef struct _CONTROL_BLOCK {
 
 } CONTROL_BLOCK, *LPCONTROL_BLOCK;
 
-MODULE_API DWORD PHP5_wrapper(LPCONTROL_BLOCK lpCB);
-MODULE_API BOOL PHP5_startup();
-MODULE_API BOOL PHP5_shutdown();
+MODULE_API DWORD PHP7_wrapper(LPCONTROL_BLOCK lpCB);
+MODULE_API BOOL PHP7_startup();
+MODULE_API BOOL PHP7_shutdown();
 
 // the following type declaration is for the server side
 typedef DWORD ( * PFN_WRAPPERFUNC )( CONTROL_BLOCK *pCB );
index d834a0000e75dbd837bfe630fd7d6105355aedb3..59c215cba0e80e278fc325d1e6d90746b3dde02e 100644 (file)
@@ -8,9 +8,9 @@ script is executed at any one time). The second option is using ZTS
 (Zend Thread Safe mode). Unless --enable-roxen-zts is specified, this
 won't be used.
 
-This solution now works fine and is recommended. Multiple PHP5
+This solution now works fine and is recommended. Multiple PHP7
 requests will be run in parallell. The maximum number of parallell
-PHP5-execution is limited to the number of handle threads Roxen is
+PHP7-execution is limited to the number of handle threads Roxen is
 started with.
 
 Support for this module is lacking. Please contact Roxen Internet
index 248f36f52e70872007eaf51938fba81d297f56f2..47143f1be10daa20874d28f0b09678076ab94c14 100644 (file)
@@ -10,18 +10,18 @@ BUGS:
     And another error (when trying to include a class)
     
     Recursive mutex locks!
-    /Usr/local/pike/7.0.54/lib/modules/PHP5.so.Interpreter:
-    run("/home/www/www.tx.pl/news/test.php",mapping[3],modules/scripting/php5.pike.PHPScript(),modules/scripting/php5.pike.PHPScript.done)
-    modules/scripting/php5.pike:169: run()
+    /Usr/local/pike/7.0.54/lib/modules/PHP7.so.Interpreter:
+    run("/home/www/www.tx.pl/news/test.php",mapping[3],modules/scripting/php7.pike.PHPScript(),modules/scripting/php7.pike.PHPScript.done)
+    modules/scripting/php7.pike:169: run()
     base_server/roxen.pike:569: handler_thread(3).
     
     And after this every access to any php script (on other virtual sites
     also) ends (of course there is no proper output) with this error:
     
     Php4.Interpreter->run: Tried to run a PHP-script from a PHP
-    callback!/usr/local/pike/7.0.54/lib/modules/PHP5.so.Interpreter:
-    run("/home/www/biall.com.pl/index.php3",mapping[2],modules/scripting/php5.pike.PHPScript(),modules/scripting/php5.pike.PHPScript.done)
-    modules/scripting/php5.pike:169: run()
+    callback!/usr/local/pike/7.0.54/lib/modules/PHP7.so.Interpreter:
+    run("/home/www/biall.com.pl/index.php3",mapping[2],modules/scripting/php7.pike.PHPScript(),modules/scripting/php7.pike.PHPScript.done)
+    modules/scripting/php7.pike:169: run()
     base_server/roxen.pike:569: handler_thread(3).
     
 
index 7601b0c1ed95d05b2f7f2440ff214d6f6a1b3260..d536ac571b8f35b0bf7e9d867df7831644352be4 100644 (file)
@@ -36,7 +36,7 @@ if test "$PHP_ROXEN" != "no"; then
   PHP_ADD_INCLUDE($PIKE_INCLUDE_DIR)
   AC_DEFINE(HAVE_ROXEN, 1, [Whether you use Roxen])
   PHP_SELECT_SAPI(roxen, shared, roxen.c)
-  INSTALL_IT="\$(INSTALL) -m 0755 $SAPI_SHARED $PIKE_MODULE_DIR/PHP5.so"
+  INSTALL_IT="\$(INSTALL) -m 0755 $SAPI_SHARED $PIKE_MODULE_DIR/PHP7.so"
   RESULT="yes
   Pike binary used:      $PIKE
   Pike include dir:      $PIKE_INCLUDE_DIR
index 14456477b0a79ff20756512cddd35c111e17ad4d..0a0e49be54cb439900f14f5eb0d8b8902ff9c968 100644 (file)
@@ -616,12 +616,12 @@ void f_php_roxen_request_handler(INT32 args)
   TSRMLS_FETCH();
 
   if(current_thread == th_self())
-    php_error(E_WARNING, "PHP5.Interpreter->run: Tried to run a PHP-script from a PHP "
+    php_error(E_WARNING, "PHP7.Interpreter->run: Tried to run a PHP-script from a PHP "
          "callback!");
-  get_all_args("PHP5.Interpreter->run", args, "%S%m%O%*", &script,
+  get_all_args("PHP7.Interpreter->run", args, "%S%m%O%*", &script,
               &request_data, &my_fd_obj, &done_callback);
   if(done_callback->type != PIKE_T_FUNCTION) 
-    php_error(E_WARNING, "PHP5.Interpreter->run: Bad argument 4, expected function.\n");
+    php_error(E_WARNING, "PHP7.Interpreter->run: Bad argument 4, expected function.\n");
   PHP_LOCK(THIS); /* Need to lock here or reusing the same object might cause
                       * problems in changing stuff in that object */
 #ifndef ROXEN_USE_ZTS
@@ -657,7 +657,7 @@ void f_php_roxen_request_handler(INT32 args)
   {
     int fd = fd_from_object(raw_fd->u.object);
     if(fd == -1)
-      php_error(E_WARNING, "PHP5.Interpreter->run: my_fd object not open or not an FD.\n");
+      php_error(E_WARNING, "PHP7.Interpreter->run: my_fd object not open or not an FD.\n");
     THIS->my_fd = fd;
   } else
     THIS->my_fd = 0;
index 371edaee8455b99111ee078bea67f869bb43d69b..fddb709d92b4085f92dbe4cfc165d2c2ad62271d 100644 (file)
@@ -25,10 +25,10 @@ if test "$PHP_THTTPD" != "no"; then
   fi
   PHP_TARGET_RDYNAMIC
   INSTALL_IT="\
-    echo 'PHP_LIBS = -L. -lphp5 \$(PHP_LIBS) \$(EXTRA_LIBS)' > $THTTPD/php_makefile; \
+    echo 'PHP_LIBS = -L. -lphp7 \$(PHP_LIBS) \$(EXTRA_LIBS)' > $THTTPD/php_makefile; \
     echo 'PHP_LDFLAGS = \$(NATIVE_RPATHS) \$(PHP_LDFLAGS)' >> $THTTPD/php_makefile; \
     echo 'PHP_CFLAGS = \$(COMMON_FLAGS) \$(CFLAGS_CLEAN) \$(CPPFLAGS) \$(EXTRA_CFLAGS)' >> $THTTPD/php_makefile; \
-    rm -f $THTTPD/php_thttpd.c $THTTPD/php_thttpd.h $THTTPD/libphp5.a; \
+    rm -f $THTTPD/php_thttpd.c $THTTPD/php_thttpd.h $THTTPD/libphp7.a; \
     \$(LN_S) $abs_srcdir/sapi/thttpd/thttpd.c $THTTPD/php_thttpd.c; \
     \$(LN_S) $abs_srcdir/sapi/thttpd/php_thttpd.h $abs_builddir/$SAPI_STATIC $THTTPD/;\
     $patch"
index 33de9214891a8bdecda06559fab67d4760b1d1da..c79ee44e62625ec26b05499a9abfa4907d617143 100644 (file)
@@ -34,7 +34,7 @@ diff -ur thttpd-2.21b/Makefile.in thttpd-2.21b-cool/Makefile.in
  this:         $(ALL)
  
 -thttpd: $(OBJ)
-+thttpd: $(OBJ) libphp5.a
++thttpd: $(OBJ) libphp7.a
        @rm -f $@
        $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJ) $(LIBS) $(NETLIBS)
  
index 92c021123ff02e18e6dd4d1c4cb6747da7ab68e3..3c5ebc56ba97b7a28e336ddeb2837c4d4659b891 100644 (file)
@@ -56,31 +56,31 @@ BUILD INSTRUCTIONS
 
        $ ./configure --help
 
-    3. Touch a file in your web-root 'php5.tux'.  This will
-       cause requests to '/php5.tux' to be redirected to the
-       userspace module php5.tux.
+    3. Touch a file in your web-root 'php7.tux'.  This will
+       cause requests to '/php7.tux' to be redirected to the
+       userspace module php7.tux.
 
     4. Start TUX with something like
 
-       # tux -d -t 8 -r /www -m /tux-modules php5.tux
+       # tux -d -t 8 -r /www -m /tux-modules php7.tux
       
        (daemon mode, eight threads, web-root /www, modules in
-        /tux-modules, load php5.tux)
+        /tux-modules, load php7.tux)
 
        BEFORE running this command, the kernel side of TUX has to
        be properly setup.
        
     5. Try to access
 
-           http://yourserver/php5.tux?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000
+           http://yourserver/php7.tux?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000
 
        It should display the PHP credits page.
 
        To access a script /foo/bar.php, use
 
-           http://yourserver/php5.tux?/foo/bar.php
+           http://yourserver/php7.tux?/foo/bar.php
 
        Parameters can be appended:
        
-           http://yourserver/php5.tux?/foo/bar.php&var=value
+           http://yourserver/php7.tux?/foo/bar.php&var=value
 
index 06788be7576d4c1117c40d751b16df3f854c6165..db4be82cf1a7a955d90f87a860887a336421e8e2 100644 (file)
@@ -7,7 +7,7 @@ PHP_ARG_WITH(tux,,
 
 AC_MSG_CHECKING([for TUX])
 if test "$PHP_TUX" != "no"; then
-  INSTALL_IT="\$(INSTALL) -m 0755 $SAPI_SHARED $PHP_TUX/php5.tux.so"
+  INSTALL_IT="\$(INSTALL) -m 0755 $SAPI_SHARED $PHP_TUX/php7.tux.so"
   AC_CHECK_HEADERS(tuxmodule.h,[:],[AC_MSG_ERROR([Cannot find tuxmodule.h])])
   PHP_SELECT_SAPI(tux, shared, php_tux.c)
   AC_MSG_RESULT([$PHP_TUX])
index 746a7762fb258924d82ac60092f435cd441b9c1f..15a7be3de0e48140d9fb1fbd3db41f040ed33997 100644 (file)
@@ -16,7 +16,7 @@ http://www.webjames.alexwaugh.com/
 
 BUILDING
 
-$ cd php5
+$ cd php7
 $ ./configure \
        --host=arm-riscos-aof \
        --with-webjames=../webjames/src \
index 801637cd1973c4b559066e8b13e426c56ac58b5e..5be84fda07475f5933ad678539614bdfe5cc2beb 100755 (executable)
@@ -10,9 +10,9 @@ do
 /* 
                       DO NOT EDIT THIS FILE!
 
- it has been automaticaly created by php5/scripts/credits from  
- the information found in the various php5/ext/.../CREDITS and
- php5/sapi/.../CREDITS files 
+ it has been automaticaly created by php7/scripts/credits from  
+ the information found in the various php7/ext/.../CREDITS and
+ php7/sapi/.../CREDITS files 
  
  if you want to change an entry you have to edit the appropriate 
  CREDITS file instead
index cca528e29c89fa27d670640aea67e7b09064f328..0b8cf2650e92dd215846a28b4ac74fe2ba821163 100644 (file)
@@ -17,13 +17,13 @@ class Child_php4 extends Base_php4 {
   }
 }
 
-class Base_php5 {
+class Base_php7 {
   function __construct() {
     var_dump('Base constructor');
   }
   }
 
-class Child_php5 extends Base_php5 {
+class Child_php7 extends Base_php7 {
   function __construct() {
     var_dump('Child constructor');
     parent::__construct();
@@ -37,7 +37,7 @@ class Child_mx1 extends Base_php4 {
   }
 }
 
-class Child_mx2 extends Base_php5 {
+class Child_mx2 extends Base_php7 {
   function Child_mx2() {
     var_dump('Child constructor');
     parent::__construct();
@@ -47,8 +47,8 @@ class Child_mx2 extends Base_php5 {
 echo "### PHP 4 style\n";
 $c4= new Child_php4();
 
-echo "### PHP 5 style\n";
-$c5= new Child_php5();
+echo "### PHP 7 style\n";
+$c5= new Child_php7();
 
 echo "### Mixed style 1\n";
 $cm= new Child_mx1();
@@ -60,7 +60,7 @@ $cm= new Child_mx2();
 ### PHP 4 style
 string(17) "Child constructor"
 string(16) "Base constructor"
-### PHP 5 style
+### PHP 7 style
 string(17) "Child constructor"
 string(16) "Base constructor"
 ### Mixed style 1
index b78e4b8757a5bcf3b85450a07d5be1cba41d136a..80862191dee3923d39ba8dd32db1f0af4fda6add 100644 (file)
@@ -6,7 +6,7 @@ Bug #24396 (global $$variable broken)
 $arr = array('a' => 1, 'b' => 2, 'c' => 3);
 
 foreach($arr as $k=>$v)  {
-    global $$k; // comment this out and it works in PHP 5 too..
+    global $$k; // comment this out and it works in PHP 7 too..
                
     echo "($k => $v)\n";
                        
index 7a3be93e87c84a41e3e23c577dcb6cf445cc8475..fc1127cbcff0dae57344ddecf1b353d5a91a6e7c 100644 (file)
@@ -62,9 +62,9 @@ Zend\zend_language_scanner.c: Zend\zend_language_scanner.l
 !endif
 
 !if $(PGOMGR) != ""
-PHP5_PGD_OPTION=/PGD:$(PGOPGD_DIR)\php5.pgd
+PHP7_PGD_OPTION=/PGD:$(PGOPGD_DIR)\php7.pgd
 !else
-PHP5_PGD_OPTION=
+PHP7_PGD_OPTION=
 !endif
 
 PHPDLL_RES=$(BUILD_DIR)\$(PHPDLL).res
@@ -89,7 +89,7 @@ $(PHPDLL_RES): win32\build\template.rc
                win32\build\template.rc
 
 $(BUILD_DIR)\$(PHPDLL): generated_files $(PHPDEF) $(PHP_GLOBAL_OBJS) $(STATIC_EXT_OBJS) $(PHPDLL_RES) $(MCFILE)
-       @$(CC) $(PHP_GLOBAL_OBJS) $(STATIC_EXT_OBJS) $(STATIC_EXT_LIBS) $(LIBS) $(PHPDLL_RES) /link /out:$(BUILD_DIR)\$(PHPDLL) $(PHP5_PGD_OPTION) $(PHP_LDFLAGS) $(LDFLAGS) $(STATIC_EXT_LDFLAGS)
+       @$(CC) $(PHP_GLOBAL_OBJS) $(STATIC_EXT_OBJS) $(STATIC_EXT_LIBS) $(LIBS) $(PHPDLL_RES) /link /out:$(BUILD_DIR)\$(PHPDLL) $(PHP7_PGD_OPTION) $(PHP_LDFLAGS) $(LDFLAGS) $(STATIC_EXT_LDFLAGS)
        -@$(_VC_MANIFEST_EMBED_DLL)
 
 $(BUILD_DIR)\$(PHPLIB): $(BUILD_DIR)\$(PHPDLL)
index 2f2682dc715ff538ff5f60520da267468afcfee8..fd7386e6aba1b9be3e2b53fe8b113bf404086e93 100644 (file)
@@ -8,7 +8,7 @@ Package=<5>
 Package=<4>
 {{{
     Begin Project Dependency
-    Project_Dep_Name php5ts
+    Project_Dep_Name php7ts
     End Project Dependency
 }}}
 
index 564cea2dcc65bfa114393dee9e9e5afbdd95db1c..1d2949c5ae9baa5ffde7e7aa4c876fb391b1bab0 100644 (file)
@@ -131,7 +131,7 @@ DEFINE('PHP_PREFIX', PHP_PREFIX);
 DEFINE("BASE_INCLUDES", "/I . /I main /I Zend /I TSRM /I ext ");
 
 // CFLAGS for building the PHP dll
-DEFINE("CFLAGS_PHP", "/D _USRDLL /D PHP5DLLTS_EXPORTS /D PHP_EXPORTS \
+DEFINE("CFLAGS_PHP", "/D _USRDLL /D PHP7DLLTS_EXPORTS /D PHP_EXPORTS \
 /D LIBZEND_EXPORTS /D TSRM_EXPORTS /D SAPI_EXPORTS /D WINVER=0x500");
 
 DEFINE('CFLAGS_PHP_OBJ', '$(CFLAGS_PHP) $(STATIC_EXT_CFLAGS)');
index cfec2a28f104b7835717a63aa8a3756e9f49ebba..af24193d36045844f520ebfa0f30904c54b1cbee 100644 (file)
@@ -115,7 +115,7 @@ DEFINE('PHP_PREFIX', PHP_PREFIX);
 DEFINE("BASE_INCLUDES", "/I " + PHP_DIR + "/include /I " + PHP_DIR + "/include/main /I " + PHP_DIR + "/include/Zend /I " + PHP_DIR + "/include/TSRM /I " + PHP_DIR + "/include/ext ");\r
 \r
 // CFLAGS for building the PHP dll\r
-DEFINE("CFLAGS_PHP", "/D _USRDLL /D PHP5DLLTS_EXPORTS /D PHP_EXPORTS \\r
+DEFINE("CFLAGS_PHP", "/D _USRDLL /D PHP7DLLTS_EXPORTS /D PHP_EXPORTS \\r
 /D LIBZEND_EXPORTS /D TSRM_EXPORTS /D SAPI_EXPORTS /D WINVER=0x500");\r
 \r
 DEFINE('CFLAGS_PHP_OBJ', '$(CFLAGS_PHP) $(STATIC_EXT_CFLAGS)');\r
index 390a303fb4a145bb30132eb13d562214b3796bb3..8adb887786f4bc24813e4113903d7be073306391 100644 (file)
@@ -142,14 +142,14 @@ function generate_parsers_or_scanners(arr, type)
        return ret;
 }
 
-/* generate .defs file for php5[ts].dll */
+/* generate .defs file for php7[ts].dll */
 function generate_php_defs()
 {
        var defs = get_define("PHP_DLL_DEF_SOURCES").split(" ");
        var bdir = get_define("BUILD_DIR") + "\\";
        var file = get_define("PHPLIB").replace("lib", "def");
        var path = "..\\" + bdir + file;
-       var deps = "USERDEP__PHP5TS=";
+       var deps = "USERDEP__PHP7TS=";
        var cmds = "BuildCmds= \\\r\n";
        var cmd = '$(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r\n\t$(BuildCmds)\r\n';
 
@@ -168,7 +168,7 @@ function generate_php_defs()
        return ret;
 }
 
-/* generate win32\wsyslog.h for php5[ts].dll */
+/* generate win32\wsyslog.h for php7[ts].dll */
 function generate_wsyslog()
 {
        var path = ".\\build\\wsyslog.mc\r\n\r\n";
@@ -183,7 +183,7 @@ function generate_wsyslog()
        return ret;
 }
 
-/* generate ext\date\lib\timelib_config.h for php5[ts].dll */
+/* generate ext\date\lib\timelib_config.h for php7[ts].dll */
 function generate_timelib_conf(headers)
 {
        var file = "timelib_config.h";
@@ -202,11 +202,11 @@ function generate_timelib_conf(headers)
        return headers;
 }
 
-/* generate php5[ts].dsp */
+/* generate php7[ts].dsp */
 function generate_core_dsp(core_headers, core_sources, headers, sources, cflags, ldflags, libs)
 {
        var ts = (PHP_ZTS != "no" ? "ts" : "");
-       var extname = "php5" + ts;
+       var extname = "php7" + ts;
        var tmpl = generate_dsp_file(extname, ".", false, false);
 
        cflags += get_define("CFLAGS_PHP").replace("/D _USRDLL", "");
@@ -232,8 +232,8 @@ function generate_core_dsp(core_headers, core_sources, headers, sources, cflags,
        defs = generate_php_defs();
        tmpl = tmpl.replace(/DEFS/, defs);
 
-       dsp = FSO.CreateTextFile("win32\\php5" + ts + ".dsp", true);
-       STDOUT.WriteLine("\tGenerating win32\\php5" + ts + ".dsp");
+       dsp = FSO.CreateTextFile("win32\\php7" + ts + ".dsp", true);
+       STDOUT.WriteLine("\tGenerating win32\\php7" + ts + ".dsp");
        dsp.Write(tmpl);
        dsp.Close();
 
@@ -250,8 +250,8 @@ function generate_dsw_files(sblocks, mblocks)
        /* push all the sapi blocks to the same tag */
        stmpl = stmpl.replace("INSERT", sblocks);
        stmpl = (PHP_ZTS != "no" ? stmpl : stmpl.replace(/dllts/g, "dll"));
-       sdsw = FSO.CreateTextFile("win32\\php5" + ts + ".dsw", true);
-       STDOUT.WriteLine("\tGenerating win32\\php5" + ts + ".dsw");
+       sdsw = FSO.CreateTextFile("win32\\php7" + ts + ".dsw", true);
+       STDOUT.WriteLine("\tGenerating win32\\php7" + ts + ".dsw");
        sdsw.Write(stmpl);
        sdsw.Close();
 
@@ -345,8 +345,8 @@ function copy_dsp_files()
 
                        } else {
 
-                               /* there's always one... most sapis just get a 'php5' prefix */
-                               newext = (ext.match(/apache2handler/) ? "php5apache2" : "php5" + ext);
+                               /* there's always one... most sapis just get a 'php7' prefix */
+                               newext = (ext.match(/apache2handler/) ? "php7apache2" : "php7" + ext);
                                address = address.replace(ext + ".dsp", newext + ".dsp");
                                srcpath = ".\\";
                                oldext = new RegExp(('[^=\\\\]'+ext), "g");
@@ -361,7 +361,7 @@ function copy_dsp_files()
                        dsp.Write(contents);
                        dsp.Close();
 
-                       /* add all configured sapis to the list in php5ts.dsw */
+                       /* add all configured sapis to the list in php7ts.dsw */
                        sblocks += file_get_contents("win32\\build\\block.template.dsw");
                        sblocks = sblocks.replace("ADDRESS", address);
                        sblocks = sblocks.replace("EXTNAME", newext);
@@ -389,7 +389,7 @@ function copy_dsp_files()
 
                } else {
 
-                       /* bound for php5[ts].dsp */
+                       /* bound for php7[ts].dsp */
                        cflags = get_define("CFLAGS_" + EXT);
                        cflags = cflags ? cflags.replace(/-(I|D)/g, " /$1") : "";
                        cflags = cflags? cflags.replace(/\/(I|D)\s+/g, "/$1") : "";
@@ -539,7 +539,7 @@ function generate_dsp_file(ext, ext_dir, files, shared)
        var baseflags = "";
 
        /* store the final path and value of shared in the tmp file */
-       if (!ext.match("php5")) {
+       if (!ext.match("php7")) {
                tmpl = ext_dir + "\\" + ext + ".dsp#" + shared + tmpl;
        }
 
@@ -568,7 +568,7 @@ function generate_dsp_file(ext, ext_dir, files, shared)
                        path += "..\\";
                }
                type = ".lib";
-       } else if (ext.match("php5")) {
+       } else if (ext.match("php7")) {
                path = "..\\";
                type = ".dll";
        } else {
@@ -599,7 +599,7 @@ function generate_dsp_file(ext, ext_dir, files, shared)
        incs = incs.replace('"' + path + '."', '".."');
        lcflags = cflags.replace(/\$\(BASE_INCLUDES\)/, incs + (type == ".exe" ? '/I "..\\sapi" ' : "") + '/I "' + path + '..\\bindlib_w32"');
        tmpl = tmpl.replace(/BASECPP/, (type == ".dll" ? lcflags : lcflags.replace(ld + " ", "")));
-       tmpl = tmpl.replace(/BASELIBS/, "/nologo " + get_define("LIBS") + " " + (ext.match("php5") ? "" : get_define("PHPLIB")));
+       tmpl = tmpl.replace(/BASELIBS/, "/nologo " + get_define("LIBS") + " " + (ext.match("php7") ? "" : get_define("PHPLIB")));
        ldflags = get_define("LDFLAGS").replace(/\s?(\/nologo|\/libpath:\S+)\s?/g, "");
        tmpl = tmpl.replace(/BASELDFLAGS/, ldflags + (type == ".dll" ? " " + get_define("DLL_LDFLAGS") : "") + (debug ? ' /nodefaultlib:"msvcrt"' : ""));
        out = '/out:"' + outpath + "\\" + ext + type + '"' + ' /libpath:"' + outpath + '"' + ' /libpath:"..\\' + path + 'bindlib_w32\\' + status + '"';
@@ -611,7 +611,7 @@ function generate_dsp_file(ext, ext_dir, files, shared)
        tmpl = tmpl.replace(/TEXTFILES/, txt);
        tmpl = tmpl.replace(/RESOURCEFILES/, res);
 
-       if (ext.match("php5")) {
+       if (ext.match("php7")) {
                return tmpl;
        }
 
index ac781664ff88b831778c2a849e6e7a7d880831c7..67aa72365b08632768dcce49492f64488467920b 100644 (file)
@@ -30,7 +30,7 @@ Package=<4>
 
 ###############################################################################
 
-Project: "php5ts"=..\win32\php5ts.dsp - Package Owner=<4>
+Project: "php7ts"=..\win32\php7ts.dsp - Package Owner=<4>
 
 Package=<5>
 {{{
index f36f2c041c87361100a230f34256b091fc772fcf..b28645822f0d679e2c2976f7b2ef5214e1385b72 100644 (file)
@@ -23,7 +23,7 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
 # ifdef FILE_DESCRIPTION
 #define INTERNAL_NAME FILE_DESCRIPTION /* e.g. 'PHP Script Interpreter', 'GD imaging' */
 # else
-#define INTERNAL_NAME FILE_NAME /* e.g. 'php5ts.dll', 'php_bz2.dll' */
+#define INTERNAL_NAME FILE_NAME /* e.g. 'php7ts.dll', 'php_bz2.dll' */
 # endif
 #endif
 
index b240ad2723e4cfb19880ebb715171d1eee5b55f1..3c91aeafd7325bf02e69017c00d84d541571cee9 100644 (file)
@@ -283,7 +283,7 @@ Manual Installation Steps
 
    Extract the distribution file into a directory of your choice. If you
    are installing PHP 4, extract to C:\, as the zip file expands to a
-   foldername like php-4.3.7-Win32. If you are installing PHP 5, extract
+   foldername like php-4.3.7-Win32. If you are installing PHP 7, extract
    to C:\php as the zip file doesn't expand as in PHP 4. You may choose a
    different location but do not have spaces in the path (like C:\Program
    Files\PHP) as some web servers will crash if you do.
@@ -291,12 +291,12 @@ Manual Installation Steps
    The directory structure extracted from the zip is different for PHP
    versions 4 and 5 and look like as follows:
 
-   Example 2-2. PHP 5 package structure
+   Example 2-2. PHP 7 package structure
 c:\php
    |
    +--dev
    |  |
-   |  |-php5ts.lib
+   |  |-php7ts.lib
    |
    +--ext                 -- extension DLLs for PHP
    |  |
@@ -385,7 +385,7 @@ c:\php
    other server modules failing, such as ASP.
 
    The CGI and CLI binaries, and the web server modules all require the
-   php5ts.dll file to be available to them. You have to make
+   php7ts.dll file to be available to them. You have to make
    sure that this file can be found by your PHP installation. The search
    order for this DLL is as follows:
 
@@ -394,7 +394,7 @@ c:\php
        Files\Apache Group\Apache2\bin).
      * Any directory in your Windows PATH environment variable.
 
-   To make php5ts.dll available you have three options: copy
+   To make php7ts.dll available you have three options: copy
    the file to the Windows system directory, copy the file to the web
    server's directory, or add your PHP directory, C:\php to the PATH. For
    better maintenance, we advise you to follow the last option, add C:\php
@@ -463,13 +463,13 @@ ActiveScript
      Note: You should read the manual installation steps first!
 
    After installing PHP, you should download the ActiveScript DLL
-   (php5activescript.dll) and place it in the main PHP folder (e.g.
+   (php7activescript.dll) and place it in the main PHP folder (e.g.
    C:\php).
 
    After having all the files needed, you must register the DLL on your
    system. To achieve this, open a Command Prompt window (located in the
    Start Menu). Then go to your PHP directory by typing something like cd
-   C:\php. To register the DLL just type regsvr32 php5activescript.dll.
+   C:\php. To register the DLL just type regsvr32 php7activescript.dll.
 
    To test if ActiveScript is working, create a new file, named test.wsf
    (the extension is very important) and type:
@@ -516,8 +516,8 @@ General considerations for all installations of PHP with IIS
        Also, CGI users may want to set the cgi.redirect_status_env
        directive. When using directives, be sure these directives aren't
        commented out inside php.ini.
-     * The PHP 4 CGI is named php.exe while in PHP 5 it's php-cgi.exe. In
-       PHP 5, php.exe is the CLI, and not the CGI.
+     * The PHP 4 CGI is named php.exe while in PHP 7 it's php-cgi.exe. In
+       PHP 7, php.exe is the CLI, and not the CGI.
      * Modify the Windows PATH environment variable to include the PHP
        directory. This way the PHP DLL files and PHP executables can all
        remain in the PHP directory without cluttering up the Windows
@@ -529,12 +529,12 @@ General considerations for all installations of PHP with IIS
      * Be sure the extension_dir and doc_root PHP directives are
        appropriately set in php.ini. These directives depend on the system
        that PHP is being installed on. In PHP 4, the extension_dir is
-       extensions while with PHP 5 it's ext. So, an example PHP 5
+       extensions while with PHP 7 it's ext. So, an example PHP 7
        extensions_dir value is "c:\php\ext" and an example IIS doc_root
        value is "c:\Inetpub\wwwroot".
      * PHP extension DLL files, such as php_mysql.dll and php_curl.dll,
        are found in the zip package of the PHP download (not the PHP
-       installer). In PHP 5, many extensions are part of PECL and can be
+       installer). In PHP 7, many extensions are part of PECL and can be
        downloaded in the "Collection of PECL modules" package. Files such
        as php_zip.dll and php_ssh2.dll. Download PHP files here.
      * When defining the executable, the 'check that file exists' box may
@@ -561,7 +561,7 @@ Windows NT/200x/XP and IIS 4 or newer
      * Change the Execute Permissions to 'Scripts only'
      * Click on the 'Configuration' button, and choose the Application
        Mappings tab. Click Add and set the Executable path to the
-       appropriate CGI file. An example PHP 5 value is: C:\php\php-cgi.exe
+       appropriate CGI file. An example PHP 7 value is: C:\php\php-cgi.exe
        Supply .php as the extension. Leave 'Method exclusions' blank, and
        check the 'Script engine' checkbox. Now, click OK a few times.
      * Set up the appropriate security. (This is done in Internet Service
@@ -574,14 +574,14 @@ Windows NT/200x/XP and IIS 4 or newer
      * If you don't want to perform HTTP Authentication using PHP, you can
        (and should) skip this step. Under ISAPI Filters, add a new ISAPI
        filter. Use PHP as the filter name, and supply a path to the
-       php5isapi.dll.
+       php7isapi.dll.
      * Under 'Home Directory', 'Virtual Directory', or 'Directory', do the
        following:
      * Change the Execute Permissions to 'Scripts only'
      * Click on the 'Configuration' button, and choose the Application
        Mappings tab. Click Add and set the Executable path to the
-       appropriate ISAPI DLL. An example PHP 5 value is:
-       C:\php\php5isapi.dll Supply .php as the extension. Leave 'Method
+       appropriate ISAPI DLL. An example PHP 7 value is:
+       C:\php\php7isapi.dll Supply .php as the extension. Leave 'Method
        exclusions' blank, and check the 'Script engine' checkbox. Now,
        click OK a few times.
      * Stop IIS completely (NET STOP iisadmin)
@@ -590,7 +590,7 @@ Windows NT/200x/XP and IIS 4 or newer
    With IIS 6 (2003 Server), open up the IIS Manager, go to Web Service
    Extensions, choose "Add a new Web service extension", enter in a name
    such as PHP, choose the Add button and for the value browse to either
-   the ISAPI file (php5isapi.dll) or CGI (php.exe or
+   the ISAPI file (php7isapi.dll) or CGI (php.exe or
    php-cgi.exe) then check "Set extension status to Allowed" and click OK.
 
    In order to use index.php as a default content page, do the following:
@@ -653,12 +653,12 @@ Installing as an Apache module
    This assumes PHP is installed to c:\php. Adjust the path if this is not
    the case.
 
-   For PHP 5:
+   For PHP 7:
 # Add to the end of the LoadModule section
-LoadModule php5_module "C:/php/php5apache.dll"
+LoadModule php7_module "C:/php/php7apache.dll"
 
 # Add to the end of the AddModule section
-AddModule mod_php5.c
+AddModule mod_php7.c
 
    For both:
 # Add this line inside the <IfModule mod_mime.c> conditional brace
@@ -681,7 +681,7 @@ AddType application/x-httpd-php .php
 # For PHP 4
 Action application/x-httpd-php "/php/php.exe"
 
-# For PHP 5
+# For PHP 7
 Action application/x-httpd-php "/php/php-cgi.exe"
 
 # specify the directory where php.ini is
@@ -715,7 +715,7 @@ Apache 2.0.x on Microsoft Windows
 
      Apache 2.2.x Support: Users of Apache 2.2.x may use the
      documentation below except the appropriate DLL file is named
-     php5apache2_2.dll and it only exists as of PHP 5.2.0. See also
+     php7apache2_2.dll and it only exists as of PHP 7.2.0. See also
      http://snaps.php.net/
 
    Warning
@@ -734,8 +734,8 @@ Apache 2.0.x on Microsoft Windows
 
      * PHP 4.3.0 or later available at http://www.php.net/downloads.php.
      * the latest stable development version. Get the source code
-       http://snaps.php.net/php5-latest.tar.gz or download binaries for
-       Windows http://snaps.php.net/win32/php5-win32-latest.zip.
+       http://snaps.php.net/php7-latest.tar.gz or download binaries for
+       Windows http://snaps.php.net/win32/php7-win32-latest.zip.
      * a prerelease version downloadable from http://qa.php.net/.
      * you have always the option to obtain PHP through SVN.
 
@@ -782,7 +782,7 @@ AddType application/x-httpd-php .php
 # For PHP 4
 Action application/x-httpd-php "/php/php.exe"
 
-# For PHP 5
+# For PHP 7
 Action application/x-httpd-php "/php/php-cgi.exe"
 
    Warning
@@ -799,8 +799,8 @@ Installing as an Apache module
 
    Example 2-6. PHP and Apache 2.0 as Module
 
-# For PHP 5 do something like this:
-LoadModule php5_module "c:/php/php5apache2.dll"
+# For PHP 7 do something like this:
+LoadModule php7_module "c:/php/php7apache2.dll"
 AddType application/x-httpd-php .php
 
 # configure the path to php.ini
@@ -836,7 +836,7 @@ CGI setup on Sun, iPlanet and Netscape servers
 
    To install PHP as a CGI handler, do the following:
 
-     * Copy php5ts.dll to your systemroot (the directory where you
+     * Copy php7ts.dll to your systemroot (the directory where you
        installed Windows)
      * Make a file association from the command line. Type the following
        two lines:
@@ -861,7 +861,7 @@ NSAPI setup on Sun, iPlanet and Netscape servers
 
    To install PHP with NSAPI, do the following:
 
-     * Copy php5ts.dll to your systemroot (the directory where you
+     * Copy php7ts.dll to your systemroot (the directory where you
        installed Windows)
      * Make a file association from the command line. Type the following
        two lines:
@@ -876,9 +876,9 @@ ftype PHPScript=c:\php\php.exe %1 %*
        and add the following: You should place the lines after mime types
        init.
 
-Init fn="load-modules" funcs="php5_init,php5_execute,php5_auth_trans" shlib="c:/
-php/sapi/php5nsapi.dll"
-Init fn="php5_init" LateInit="yes" errorString="Failed to initialise PHP!" [php_
+Init fn="load-modules" funcs="php7_init,php7_execute,php7_auth_trans" shlib="c:/
+php/sapi/php7nsapi.dll"
+Init fn="php7_init" LateInit="yes" errorString="Failed to initialise PHP!" [php_
 ini="c:/path/to/php.ini"]
 
        The php_ini parameter is optional but with it you
@@ -888,12 +888,12 @@ ini="c:/path/to/php.ini"]
        <Object name="default"> section, place this line necessarily after
        all 'ObjectType' and before all 'AddLog' lines:
 
-Service fn="php5_execute" type="magnus-internal/x-httpd-php" [inikey=value inike
+Service fn="php7_execute" type="magnus-internal/x-httpd-php" [inikey=value inike
 y=value ...]
 
        As additional parameters you can add some special
        php.ini-values, for example you can set a
-       docroot="/path/to/docroot" specific to the context php5_execute is
+       docroot="/path/to/docroot" specific to the context php7_execute is
        called. For boolean ini-keys please use 0/1 as value, not
        "On","Off",... (this will not work correctly), e.g.
        zlib.output_compression=1 instead of zlib.output_compression="On"
@@ -902,7 +902,7 @@ y=value ...]
 
 <Object name="x-httpd-php">
 ObjectType fn="force-type" type="magnus-internal/x-httpd-php"
-Service fn=php5_execute [inikey=value inikey=value ...]
+Service fn=php7_execute [inikey=value inikey=value ...]
 </Object>
 
        After that you can configure a directory in the Administration
@@ -949,7 +949,7 @@ Special use for error pages or self-made directory listings (PHP >= 4.3.3)
    You can use PHP to generate the error pages for "404 Not Found" or
    similar. Add the following line to the object in obj.conf for every
    error page you want to overwrite:
-Error fn="php5_execute" code=XXX script="/path/to/script.php" [inikey=value inik
+Error fn="php7_execute" code=XXX script="/path/to/script.php" [inikey=value inik
 ey=value...]
 
    where XXX is the HTTP error code. Please delete any other Error
@@ -961,7 +961,7 @@ ey=value...]
    create a PHP script which displays a directory listing and replace the
    corresponding default Service line for type="magnus-internal/directory"
    in obj.conf with the following:
-Service fn="php5_execute" type="magnus-internal/directory" script="/path/to/scri
+Service fn="php7_execute" type="magnus-internal/directory" script="/path/to/scri
 pt.php" [inikey=value inikey=value...]
 
    For both error and directory listing pages the original URI and
@@ -986,8 +986,8 @@ Note about nsapi_virtual() and subrequests (PHP >= 4.3.3)
    server is used, the detection fails and nsapi_virtual() is disabled.
 
    If this is the case, try the following: Add the following parameter to
-   php5_init in magnus.conf/obj.conf:
-   Init fn=php5_init ... server_lib="ns-httpdXX.dll"
+   php7_init in magnus.conf/obj.conf:
+   Init fn=php7_init ... server_lib="ns-httpdXX.dll"
 
    where XX is the correct DLL version number. To get it, look in the
    server-root for the correct DLL name. The DLL with the biggest filesize
@@ -1023,7 +1023,7 @@ OmniHTTPd Server
        select Properties
     3. Click on Web Server Global Settings
     4. On the 'External' tab, enter: virtual = .php | actual =
-       c:\php\php.exe (use php-cgi.exe if installing PHP 5), and use the
+       c:\php\php.exe (use php-cgi.exe if installing PHP 7), and use the
        Add button.
     5. On the Mime tab, enter: virtual = wwwserver/stdcgi | actual = .php,
        and use the Add button.
@@ -1080,11 +1080,11 @@ Installation of extensions on Windows
    that require, or used to require, additional PHP DLL files. Here's a
    list of built in extensions:
 
-   In PHP 5 (updated PHP 5.0.4), the following changes exist. Built in:
+   In PHP 7 (updated PHP 5.0.4), the following changes exist. Built in:
    DOM, LibXML, Iconv, SimpleXML, SPL and SQLite. And the following are no
    longer built in: MySQL and Overload.
 
-   The default location PHP searches for extensions is C:\php5 in PHP 5. 
+   The default location PHP searches for extensions is C:\php7 in PHP 7.
    To change this setting to reflect your setup of PHP edit your php.ini
    file:
 
@@ -1446,7 +1446,7 @@ Running PHP as an Apache module
    (e.g. httpd.conf) and .htaccess files. You will need "AllowOverride
    Options" or "AllowOverride All" privileges to do so.
 
-   With PHP 4 and PHP 5, there are several Apache directives that allow
+   With PHP 4 and PHP 7, there are several Apache directives that allow
    you to change the PHP configuration from within the Apache
    configuration files. For a listing of which directives are PHP_INI_ALL,
    PHP_INI_PERDIR, or PHP_INI_SYSTEM, have a look at the List of php.ini
@@ -1481,7 +1481,7 @@ Running PHP as an Apache module
           directives.
 
    Example 5-2. Apache configuration example
-<IfModule mod_php5.c>
+<IfModule mod_php7.c>
   php_value include_path ".:/usr/local/lib/php"
   php_admin_flag engine on
 </IfModule>
@@ -1558,7 +1558,7 @@ Chapter 6. Installation FAQ
    9. Some operating systems: I have installed PHP without errors, but
           when I try to start apache I get undefined symbol errors:
 
-[mybox:user /src/php5] root# apachectl configtest
+[mybox:user /src/php7] root# apachectl configtest
  apachectl: /usr/local/apache/bin/httpd Undefined symbols:
   _compress
   _uncompress
@@ -1769,7 +1769,7 @@ rpm -ivh /usr/src/redhat/RPMS/i386/mod_php3-3.0.5-2.i386.rpm
 
    9. Some operating systems: I have installed PHP without errors, but
    when I try to start apache I get undefined symbol errors:
-[mybox:user /src/php5] root# apachectl configtest
+[mybox:user /src/php7] root# apachectl configtest
  apachectl: /usr/local/apache/bin/httpd Undefined symbols:
   _compress
   _uncompress
@@ -1797,7 +1797,7 @@ cgi error:
    the browser again. If it still fails then it could be one of the
    following:
 
-     * File permissions on your PHP script, php.exe, php5ts.dll, php.ini
+     * File permissions on your PHP script, php.exe, php7ts.dll, php.ini
        or any PHP extensions you are trying to load are such that the
        anonymous internet user ISUR_<machinename> cannot access them.
      * The script file does not exist (or possibly isn't where you think
@@ -1917,8 +1917,8 @@ cgi error:
 AddHandler php-script php
 AddType text/html php
 
-# PHP 5
-AddHandler php5-script php
+# PHP 7
+AddHandler php7-script php
 AddType text/html php
 
    This solution doesn't work for Apache 1 as PHP module doesn't catch
diff --git a/win32/install.txt.orig b/win32/install.txt.orig
new file mode 100644 (file)
index 0000000..b240ad2
--- /dev/null
@@ -0,0 +1,1934 @@
+Installing PHP
+     __________________________________________________________________
+
+   Table of Contents
+   Preface
+   1. General Installation Considerations
+   2. Installation on Windows systems
+
+        Windows Installer
+        Manual Installation Steps
+        ActiveScript
+        Microsoft IIS
+        Apache 1.3.x on Microsoft Windows
+        Apache 2.0.x on Microsoft Windows
+        Sun, iPlanet and Netscape servers on Microsoft Windows
+        OmniHTTPd Server
+        Sambar Server on Microsoft Windows
+        Xitami on Microsoft Windows
+        Installation of extensions on Windows
+
+   3. Installation of PECL extensions
+
+        Introduction to PECL Installations
+        Downloading PECL extensions
+        PECL for Windows users
+        Compiling shared PECL extensions with the pecl command
+        Compiling shared PECL extensions with phpize
+        Compiling PECL extensions statically into PHP
+
+   4. Problems?
+
+        Read the FAQ
+        Other problems
+        Bug reports
+
+   5. Runtime Configuration
+
+        The configuration file
+        How to change configuration settings
+
+   6. Installation FAQ
+     __________________________________________________________________
+
+Preface
+
+   These installation instructions were generated from the HTML version of
+   the PHP Manual so formatting and linking have been altered. See the
+   online and updated version at: http://php.net/install.windows
+     __________________________________________________________________
+
+Chapter 1. General Installation Considerations
+
+   Before starting the installation, first you need to know what do you
+   want to use PHP for. There are three main fields you can use PHP, as
+   described in the What can PHP do? section:
+
+     * Websites and web applications (server-side scripting)
+     * Command line scripting
+     * Desktop (GUI) applications
+
+   For the first and most common form, you need three things: PHP itself,
+   a web server and a web browser. You probably already have a web
+   browser, and depending on your operating system setup, you may also
+   have a web server (e.g. Apache on Linux and MacOS X; IIS on Windows).
+   You may also rent webspace at a company. This way, you don't need to
+   set up anything on your own, only write your PHP scripts, upload it to
+   the server you rent, and see the results in your browser.
+
+   In case of setting up the server and PHP on your own, you have two
+   choices for the method of connecting PHP to the server. For many
+   servers PHP has a direct module interface (also called SAPI). These
+   servers include Apache, Microsoft Internet Information Server, Netscape
+   and iPlanet servers. Many other servers have support for ISAPI, the
+   Microsoft module interface (OmniHTTPd for example). If PHP has no
+   module support for your web server, you can always use it as a CGI or
+   FastCGI processor. This means you set up your server to use the CGI
+   executable of PHP to process all PHP file requests on the server.
+
+   If you are also interested to use PHP for command line scripting (e.g.
+   write scripts autogenerating some images for you offline, or processing
+   text files depending on some arguments you pass to them), you always
+   need the command line executable. For more information, read the
+   section about writing command line PHP applications. In this case, you
+   need no server and no browser.
+
+   With PHP you can also write desktop GUI applications using the PHP-GTK
+   extension. This is a completely different approach than writing web
+   pages, as you do not output any HTML, but manage Windows and objects
+   within them. For more information about PHP-GTK, please visit the site
+   dedicated to this extension. PHP-GTK is not included in the official
+   PHP distribution.
+
+   From now on, this section deals with setting up PHP for web servers on
+   Unix and Windows with server module interfaces and CGI executables. You
+   will also find information on the command line executable in the
+   following sections.
+
+   PHP source code and binary distributions for Windows can be found at
+   http://www.php.net/downloads.php. We recommend you to choose a mirror
+   nearest to you for downloading the distributions.
+     __________________________________________________________________
+
+Chapter 2. Installation on Windows systems
+
+   This section applies to Windows 98/Me and Windows NT/2000/XP/2003. PHP
+   will not work on 16 bit platforms such as Windows 3.1 and sometimes we
+   refer to the supported Windows platforms as Win32. Windows 95 is no
+   longer supported as of PHP 4.3.0.
+
+   There are two main ways to install PHP for Windows: either manually or
+   by using the installer.
+
+   If you have Microsoft Visual Studio, you can also build PHP from the
+   original source code.
+
+   Once you have PHP installed on your Windows system, you may also want
+   to load various extensions for added functionality.
+
+   Warning
+
+   There are several all-in-one installers over the Internet, but none of
+   those are endorsed by PHP.net, as we believe that the manual
+   installation is the best choice to have your system secure and
+   optimised.
+     __________________________________________________________________
+
+Windows Installer (PHP 5.2 and later)
+
+   The Windows PHP installer for later versions of PHP is built using MSI
+   technology using the Wix Toolkit (http://wix.sourceforge.net/). It will
+   install and configure PHP and all the built-in and PECL extensions, as
+   well as configure many of the popular web servers such as IIS, Apache,
+   and Xitami.
+
+   First, install your selected HTTP (web) server on your system, and make
+   sure that it works. Then proceed with one of the following install
+   types.
+     __________________________________________________________________
+
+Normal Install
+
+   Run the MSI installer and follow the instructions provided by the
+   installation wizard. You will be prompted to select the Web Server you
+   wish to configure first, along with any configuration details needed.
+
+   You will then be prompted to select which features and extensions you
+   wish to install and enable. By selecting "Will be installed on local
+   hard drive" in the drop-down menu for each item you can trigger whether
+   to install the feature or not. By selecting "Entire feature will be
+   installed on local hard drive", you will be able to install all
+   sub-features of the included feature ( for example by selecting this
+   options for the feature "PDO" you will install all PDO Drivers ).
+
+   Warning
+
+   It is not recommended to install all extensions by default, since many
+   other them require dependencies from outside PHP in order to function
+   properly. Instead, use the Installation Repair Mode that can be
+   triggered thru the 'Add/Remove Programs' control panel to enable or
+   disable extensions and features after installation.
+
+   The installer then sets up PHP to be used in Windows and the php.ini
+   file, and configures certain web servers to use PHP. The installer will
+   currently configure IIS (CGI mode only), Apache, Xitami, and Sambar
+   Server; if you are using a different web server you'll need to
+   configure it manually.
+     __________________________________________________________________
+
+Silent Install
+
+   The installer also supports a silent mode, which is helpful for Systems
+   Administrators to deploy PHP easily. To use silent mode:
+   msiexec.exe /i php-VERSION-win32-install.msi /q
+
+   You can control the install directory by passing it as a parameter to
+   the install. For example, to install to e:\php:
+   msiexec.exe /i php-VERSION-win32-install.msi /q INSTALLDIR=e:\php
+
+   You can also use the same syntax to specify the Apache Configuration
+   Directory (APACHEDIR), the Sambar Server directory (SAMBARDIR), and the
+   Xitami Server directory (XITAMIDIR).
+
+   You can also specify what features to install. For example, to install
+   the mysqli extension and the CGI executable:
+   msiexec.exe /i php-VERSION-win32-install.msi /q ADDLOCAL=cgi,ext_php_mysqli
+
+   The current list of Features to install is as follows:
+MainExecutable - php.exe executable
+ScriptExecutable - php-win.exe executable
+ext_php_* - the various extensions ( for example: ext_php_mysql for MySQL )
+apache13 - Apache 1.3 module
+apache20 - Apache 2.0 module
+apache22 - Apache 2,2 module
+apacheCGI - Apache CGI executable
+iis4ISAPI - IIS ISAPI module
+iis4CGI - IIS CGI executable
+NSAPI - Sun/iPlanet/Netscape server module
+Xitami - Xitami CGI executable
+Sambar - Sambar Server ISAPI module
+CGI - php-cgi.exe executable
+PEAR - PEAR installer
+Manual - PHP Manual in CHM Format
+
+   For more information on installing MSI installers from the command
+   line, visit
+   http://msdn.microsoft.com/library/en-us/msi/setup/command_line_options.
+   asp
+     __________________________________________________________________
+
+Windows Installer (PHP 5.1.0 and earlier)
+
+   The Windows PHP installer is available from the downloads page at
+   http://www.php.net/downloads.php. This installs the CGI version of PHP
+   and for IIS and Xitami, it configures the web server as well. The
+   installer does not include any extra external PHP extensions
+   (php_*.dll) as you'll only find those in the Windows Zip Package and
+   PECL downloads.
+
+     Note: While the Windows installer is an easy way to make PHP work,
+     it is restricted in many aspects as, for example, the automatic
+     setup of extensions is not supported. Use of the installer isn't the
+     preferred method for installing PHP.
+
+   First, install your selected HTTP (web) server on your system, and make
+   sure that it works.
+
+   Run the executable installer and follow the instructions provided by
+   the installation wizard. Two types of installation are supported -
+   standard, which provides sensible defaults for all the settings it can,
+   and advanced, which asks questions as it goes along.
+
+   The installation wizard gathers enough information to set up the
+   php.ini file, and configure certain web servers to use PHP. One of the
+   web servers the PHP installer does not configure for is Apache, so
+   you'll need to configure it manually.
+
+   Once the installation has completed, the installer will inform you if
+   you need to restart your system, restart the server, or just start
+   using PHP.
+
+   Warning
+
+   Be aware, that this setup of PHP is not secure. If you would like to
+   have a secure PHP setup, you'd better go on the manual way, and set
+   every option carefully. This automatically working setup gives you an
+   instantly working PHP installation, but it is not meant to be used on
+   online servers.
+     __________________________________________________________________
+
+Manual Installation Steps
+
+   This install guide will help you manually install and configure PHP
+   with a web server on Microsoft Windows. To get started you'll need to
+   download the zip binary distribution from the downloads page at
+   http://www.php.net/downloads.php.
+
+   Although there are many all-in-one installation kits, and we also
+   distribute a PHP installer for Microsoft Windows, we recommend you take
+   the time to setup PHP yourself as this will provide you with a better
+   understanding of the system, and enables you to install PHP extensions
+   easily when needed.
+
+     Upgrading from a previous PHP version: Previous editions of the
+     manual suggest moving various ini and DLL files into your SYSTEM
+     (i.e. C:\WINDOWS) folder and while this simplifies the installation
+     procedure it makes upgrading difficult. We advise you remove all of
+     these files (like php.ini and PHP related DLLs from the Windows
+     SYSTEM folder) before moving on with a new PHP installation. Be sure
+     to backup these files as you might break the entire system. The old
+     php.ini might be useful in setting up the new PHP as well. And as
+     you'll soon learn, the preferred method for installing PHP is to
+     keep all PHP related files in one directory and have this directory
+     available to your systems PATH.
+
+     MDAC requirements: If you use Microsoft Windows 98/NT4 download the
+     latest version of the Microsoft Data Access Components (MDAC) for
+     your platform. MDAC is available at http://msdn.microsoft.com/data/.
+     This requirement exists because ODBC is built into the distributed
+     Windows binaries.
+
+   The following steps should be completed on all installations before any
+   server specific instructions are performed:
+
+   Extract the distribution file into a directory of your choice. If you
+   are installing PHP 4, extract to C:\, as the zip file expands to a
+   foldername like php-4.3.7-Win32. If you are installing PHP 5, extract
+   to C:\php as the zip file doesn't expand as in PHP 4. You may choose a
+   different location but do not have spaces in the path (like C:\Program
+   Files\PHP) as some web servers will crash if you do.
+
+   The directory structure extracted from the zip is different for PHP
+   versions 4 and 5 and look like as follows:
+
+   Example 2-2. PHP 5 package structure
+c:\php
+   |
+   +--dev
+   |  |
+   |  |-php5ts.lib
+   |
+   +--ext                 -- extension DLLs for PHP
+   |  |
+   |  |-php_bz2.dll
+   |  |
+   |  |-php_cpdf.dll
+   |  |
+   |  |-..
+   |
+   +--extras
+   |  |
+   |  +--mibs             -- support files for SNMP
+   |  |
+   |  +--openssl          -- support files for Openssl
+   |  |
+   |  +--pdf-related      -- support files for PDF
+   |  |
+   |  |-mime.magic
+   |
+   +--pear                -- initial copy of PEAR
+   |
+   |
+   |-go-pear.bat          -- PEAR setup script
+   |
+   |-fdftk.dll
+   |
+   |-..
+   |
+   |-php-cgi.exe          -- CGI executable
+   |
+   |-php-win.exe          -- executes scripts without an opened command prompt
+   |
+   |-php.exe              -- CLI executable - ONLY for command line scripting
+   |
+   |-..
+   |
+   |-php.ini-development  -- development php.ini settings
+   |
+   |-php.ini-production   -- recommended php.ini settings for production
+   |
+   |-php5activescript.dll
+   |
+   |-php5apache.dll
+   |
+   |-php5apache2.dll
+   |
+   |-..
+   |
+   |-php5ts.dll           -- core PHP DLL
+   |
+   |-...
+
+   Notice the differences and similarities. Both PHP 4 and PHP 5 have a
+   CGI executable, a CLI executable, and server modules, but they are
+   located in different folders and/or have different names. While PHP 4
+   packages have the server modules in the sapi folder, PHP 5
+   distributions have no such directory and instead they're in the PHP
+   folder root. The supporting DLLs for the PHP 5 extensions are also not
+   in a separate directory.
+
+     Note: In PHP 4, you should move all files located in the dll and
+     sapi folders to the main folder (e.g. C:\php).
+
+   Here is a list of server modules shipped with PHP 5:
+
+     * sapi/php5apache2_2.dll - Apache 2.2.x module.
+     * sapi/php5apache.dll (php5apache.dll) - Apache 1.x module
+     * sapi/php5apache2.dll (php5apache2.dll) -  - Apache 2.0.x module.
+     * sapi/php5isapi.dll - ISAPI Module for ISAPI compliant web servers 
+       like IIS 5.0 or newer. However the FCGI SAPI is recommended with 
+       IIS
+     * sapi/php5nsapi.dll (php5nsapi.dll) - Sun/iPlanet/Netscape server
+       module.
+
+   Server modules provide significantly better performance and additional
+   functionality compared to the CGI binary. The FastCGI is significantly
+   more stable and can be faster than the ISAPI module with IIS.
+   The CLI version is designed to let you use PHP for command line 
+   scripting. More information about CLI is available in the chapter 
+   about using PHP from the command line.
+
+   Warning
+
+   The SAPI modules have been significantly improved as of the 4.1
+   release, however, in older systems you may encounter server errors or
+   other server modules failing, such as ASP.
+
+   The CGI and CLI binaries, and the web server modules all require the
+   php5ts.dll file to be available to them. You have to make
+   sure that this file can be found by your PHP installation. The search
+   order for this DLL is as follows:
+
+     * The same directory from where php.exe is called, or in case you use
+       a SAPI module, the web server's directory (e.g. C:\Program
+       Files\Apache Group\Apache2\bin).
+     * Any directory in your Windows PATH environment variable.
+
+   To make php5ts.dll available you have three options: copy
+   the file to the Windows system directory, copy the file to the web
+   server's directory, or add your PHP directory, C:\php to the PATH. For
+   better maintenance, we advise you to follow the last option, add C:\php
+   to the PATH, because it will be simpler to upgrade PHP in the future.
+   Read more about how to add your PHP directory to PATH in the
+   corresponding FAQ entry (and then don't forget to restart the computer
+   - logoff isn't enough).
+
+   The next step is to set up a valid configuration file for PHP, php.ini.
+   There are two ini files distributed in the zip file, php.ini-development
+   and php.ini-production. We advise you to use php.ini-production, 
+   because we optimized the default settings in this file for performance, 
+   and security. Read this well documented file carefully because it has
+   changes from php.ini-production that will drastically affect your setup.
+   Some examples are display_errors being off and magic_quotes_gpc being off.
+   In addition to reading these, study the ini settings and set every
+   element manually yourself. If you would like to achieve the best
+   security, then this is the way for you, although PHP works fine with
+   these default ini files. Copy your chosen ini-file to a directory that
+   PHP is able to find and rename it to php.ini. PHP searches for php.ini
+   in the locations described in the Section called The configuration file
+   in Chapter 5 section.
+
+   If you are running Apache 2, the simpler option is to use the PHPIniDir
+   directive (read the installation on Apache 2 page), otherwise your best
+   option is to set the PHPRC environment variable. This process is
+   explained in the following FAQ entry.
+
+     Note: If you're using NTFS on Windows NT, 2000, XP or 2003, make
+     sure that the user running the web server has read permissions to
+     your php.ini (e.g. make it readable by Everyone).
+
+   The following steps are optional:
+
+     * Edit your new php.ini file. If you plan to use OmniHTTPd, do not
+       follow the next step. Set the doc_root to point to your web servers
+       document_root. For example:
+
+doc_root = c:\inetpub\wwwroot // for IIS
+
+doc_root = c:\apache\htdocs // for Apache
+
+     * Choose the extensions you would like to load when PHP starts. See
+       the section about Windows extensions, about how to set up one, and
+       what is already built in. Note that on a new installation it is
+       advisable to first get PHP working and tested without any
+       extensions before enabling them in php.ini.
+
+   PHP is now setup on your system. The next step is to choose a web
+   server, and enable it to run PHP. Choose a web server from the table of
+   contents.
+     __________________________________________________________________
+
+ActiveScript
+
+   This section contains notes specific to the ActiveScript installation.
+
+   ActiveScript is a Windows only SAPI that enables you to use PHP script
+   in any ActiveScript compliant host, like Windows Script Host,
+   ASP/ASP.NET, Windows Script Components or Microsoft Scriptlet control.
+
+   As of PHP 5.0.1, ActiveScript has been moved to the PECL repository.
+   The DLL for this PECL extension may be downloaded from either the PHP
+   Downloads page or from http://pecl4win.php.net/
+
+     Note: You should read the manual installation steps first!
+
+   After installing PHP, you should download the ActiveScript DLL
+   (php5activescript.dll) and place it in the main PHP folder (e.g.
+   C:\php).
+
+   After having all the files needed, you must register the DLL on your
+   system. To achieve this, open a Command Prompt window (located in the
+   Start Menu). Then go to your PHP directory by typing something like cd
+   C:\php. To register the DLL just type regsvr32 php5activescript.dll.
+
+   To test if ActiveScript is working, create a new file, named test.wsf
+   (the extension is very important) and type:
+<job id="test">
+
+ <script language="PHPScript">
+  $WScript->Echo("Hello World!");
+ </script>
+
+</job>
+
+   Save and double-click on the file. If you receive a little window
+   saying "Hello World!" you're done.
+
+     Note: In PHP 4, the engine was named 'ActivePHP', so if you are
+     using PHP 4, you should replace 'PHPScript' with 'ActivePHP' in the
+     above example.
+
+     Note: ActiveScript doesn't use the default php.ini file. Instead, it
+     will look only in the same directory as the .exe that caused it to
+     load. You should create php-activescript.ini and place it in that
+     folder, if you wish to load extensions, etc.
+     __________________________________________________________________
+
+Microsoft IIS
+
+   This section contains notes and hints specific to IIS (Microsoft
+   Internet Information Server).
+
+   Warning
+
+   By using the CGI setup, your server is open to several possible
+   attacks. Please read our CGI security section to learn how to defend
+   yourself from those attacks.
+     __________________________________________________________________
+
+General considerations for all installations of PHP with IIS
+
+     * First, read the Manual Installation Instructions. Do not skip this
+       step as it provides crucial information for installing PHP on
+       Windows.
+     * CGI users must set the cgi.force_redirect PHP directive to 0 inside
+       php.ini. Read the faq on cgi.force_redirect for important details.
+       Also, CGI users may want to set the cgi.redirect_status_env
+       directive. When using directives, be sure these directives aren't
+       commented out inside php.ini.
+     * The PHP 4 CGI is named php.exe while in PHP 5 it's php-cgi.exe. In
+       PHP 5, php.exe is the CLI, and not the CGI.
+     * Modify the Windows PATH environment variable to include the PHP
+       directory. This way the PHP DLL files and PHP executables can all
+       remain in the PHP directory without cluttering up the Windows
+       system directory. For more details, see the FAQ on Setting the
+       PATH.
+     * The IIS user (usually IUSR_MACHINENAME) needs permission to read
+       various files and directories, such as php.ini, docroot, and the
+       session tmp directory.
+     * Be sure the extension_dir and doc_root PHP directives are
+       appropriately set in php.ini. These directives depend on the system
+       that PHP is being installed on. In PHP 4, the extension_dir is
+       extensions while with PHP 5 it's ext. So, an example PHP 5
+       extensions_dir value is "c:\php\ext" and an example IIS doc_root
+       value is "c:\Inetpub\wwwroot".
+     * PHP extension DLL files, such as php_mysql.dll and php_curl.dll,
+       are found in the zip package of the PHP download (not the PHP
+       installer). In PHP 5, many extensions are part of PECL and can be
+       downloaded in the "Collection of PECL modules" package. Files such
+       as php_zip.dll and php_ssh2.dll. Download PHP files here.
+     * When defining the executable, the 'check that file exists' box may
+       also be checked. For a small performance penalty, the IIS
+       will check that the script file exists and sort out authentication
+       before firing up PHP. This means that the web server will provide
+       sensible 404 style error messages instead of CGI errors complaining
+       that PHP did not output any data.
+     __________________________________________________________________
+
+Windows NT/200x/XP and IIS 4 or newer
+
+   PHP may be installed as a CGI binary, or with the ISAPI module. In
+   either case, you need to start the Microsoft Management Console (may
+   appear as 'Internet Services Manager', either in your Windows NT 4.0
+   Option Pack branch or the Control Panel=>Administrative Tools under
+   Windows 2000/XP). Then right click on your Web server node (this will
+   most probably appear as 'Default Web Server'), and select 'Properties'.
+
+   If you want to use the CGI binary, do the following:
+
+     * Under 'Home Directory', 'Virtual Directory', or 'Directory', do the
+       following:
+     * Change the Execute Permissions to 'Scripts only'
+     * Click on the 'Configuration' button, and choose the Application
+       Mappings tab. Click Add and set the Executable path to the
+       appropriate CGI file. An example PHP 5 value is: C:\php\php-cgi.exe
+       Supply .php as the extension. Leave 'Method exclusions' blank, and
+       check the 'Script engine' checkbox. Now, click OK a few times.
+     * Set up the appropriate security. (This is done in Internet Service
+       Manager), and if your NT Server uses NTFS file system, add execute
+       rights for I_USR_ to the directory that contains php.exe /
+       php-cgi.exe.
+
+   To use the ISAPI module, do the following:
+
+     * If you don't want to perform HTTP Authentication using PHP, you can
+       (and should) skip this step. Under ISAPI Filters, add a new ISAPI
+       filter. Use PHP as the filter name, and supply a path to the
+       php5isapi.dll.
+     * Under 'Home Directory', 'Virtual Directory', or 'Directory', do the
+       following:
+     * Change the Execute Permissions to 'Scripts only'
+     * Click on the 'Configuration' button, and choose the Application
+       Mappings tab. Click Add and set the Executable path to the
+       appropriate ISAPI DLL. An example PHP 5 value is:
+       C:\php\php5isapi.dll Supply .php as the extension. Leave 'Method
+       exclusions' blank, and check the 'Script engine' checkbox. Now,
+       click OK a few times.
+     * Stop IIS completely (NET STOP iisadmin)
+     * Start IIS again (NET START w3svc)
+
+   With IIS 6 (2003 Server), open up the IIS Manager, go to Web Service
+   Extensions, choose "Add a new Web service extension", enter in a name
+   such as PHP, choose the Add button and for the value browse to either
+   the ISAPI file (php5isapi.dll) or CGI (php.exe or
+   php-cgi.exe) then check "Set extension status to Allowed" and click OK.
+
+   In order to use index.php as a default content page, do the following:
+   From within the Documents tab, choose Add. Type in index.php and click
+   OK. Adjust the order by choosing Move Up or Move Down. This is similar
+   to setting DirectoryIndex with Apache.
+
+   The steps above must be repeated for each extension that is to be
+   associated with PHP scripts. .php is the most common although .php3 may
+   be required for legacy applications.
+
+   If you experience 100% CPU usage after some time, turn off the IIS
+   setting Cache ISAPI Application.
+     __________________________________________________________________
+
+Windows and IIS
+
+See http://www.php.net/install.windows
+     __________________________________________________________________
+
+Apache 1.3.x on Microsoft Windows
+
+   This section contains notes and hints specific to Apache 1.3.x installs
+   of PHP on Microsoft Windows systems. There are also instructions and
+   notes for Apache 2 on a separate page.
+
+     Note: Please read the manual installation steps first!
+
+   There are two ways to set up PHP to work with Apache 1.3.x on Windows.
+   One is to use the CGI binary (php.exe for PHP 4 and php-cgi.exe for PHP
+   5), the other is to use the Apache Module DLL. In either case you need
+   to edit your httpd.conf to configure Apache to work with PHP, and then
+   restart the server.
+
+   It is worth noting here that now the SAPI module has been made more
+   stable under Windows, we recommend it's use above the CGI binary, since
+   it is more transparent and secure.
+
+   Although there can be a few variations of configuring PHP under Apache,
+   these are simple enough to be used by the newcomer. Please consult the
+   Apache Documentation for further configuration directives.
+
+   After changing the configuration file, remember to restart the server,
+   for example, NET STOP APACHE followed by NET START APACHE, if you run
+   Apache as a Windows Service, or use your regular shortcuts.
+
+     Note: Remember that when adding path values in the Apache
+     configuration files on Windows, all backslashes such as
+     c:\directory\file.ext must be converted to forward slashes, as
+     c:/directory/file.ext. A trailing slash may also be necessary for
+     directories.
+     __________________________________________________________________
+
+Installing as an Apache module
+
+   You should add the following lines to your Apache httpd.conf file:
+
+   Example 2-3. PHP as an Apache 1.3.x module
+
+   This assumes PHP is installed to c:\php. Adjust the path if this is not
+   the case.
+
+   For PHP 5:
+# Add to the end of the LoadModule section
+LoadModule php5_module "C:/php/php5apache.dll"
+
+# Add to the end of the AddModule section
+AddModule mod_php5.c
+
+   For both:
+# Add this line inside the <IfModule mod_mime.c> conditional brace
+AddType application/x-httpd-php .php
+
+# For syntax highlighted .phps files, also add
+AddType application/x-httpd-php-source .phps
+     __________________________________________________________________
+
+Installing as a CGI binary
+
+   If you unzipped the PHP package to C:\php\ as described in the Manual
+   Installation Steps section, you need to insert these lines to your
+   Apache configuration file to set up the CGI binary:
+
+   Example 2-4. PHP and Apache 1.3.x as CGI
+ScriptAlias /php/ "c:/php/"
+AddType application/x-httpd-php .php
+
+# For PHP 4
+Action application/x-httpd-php "/php/php.exe"
+
+# For PHP 5
+Action application/x-httpd-php "/php/php-cgi.exe"
+
+# specify the directory where php.ini is
+SetEnv PHPRC C:/php
+
+   Note that the second line in the list above can be found in the actual
+   versions of httpd.conf, but it is commented out. Remember also to
+   substitute the c:/php/ for your actual path to PHP.
+
+   Warning
+
+   By using the CGI setup, your server is open to several possible
+   attacks. Please read our CGI security section to learn how to defend
+   yourself from those attacks.
+
+   If you would like to present PHP source files syntax highlighted, there
+   is no such convenient option as with the module version of PHP. If you
+   chose to configure Apache to use PHP as a CGI binary, you will need to
+   use the highlight_file() function. To do this simply create a PHP
+   script file and add this code: <?php
+   highlight_file('some_php_script.php'); ?>.
+     __________________________________________________________________
+
+Apache 2.0.x on Microsoft Windows
+
+   This section contains notes and hints specific to Apache 2.0.x installs
+   of PHP on Microsoft Windows systems. We also have instructions and
+   notes for Apache 1.3.x users on a separate page.
+
+     Note: You should read the manual installation steps first!
+
+     Apache 2.2.x Support: Users of Apache 2.2.x may use the
+     documentation below except the appropriate DLL file is named
+     php5apache2_2.dll and it only exists as of PHP 5.2.0. See also
+     http://snaps.php.net/
+
+   Warning
+
+   We do not recommend using a threaded MPM in production with Apache2.
+   Use the prefork MPM instead, or use Apache1. For information on why,
+   read the related FAQ entry on using Apache2 with a threaded MPM
+
+   You are highly encouraged to take a look at the Apache Documentation to
+   get a basic understanding of the Apache 2.0.x Server. Also consider to
+   read the Windows specific notes for Apache 2.0.x before reading on
+   here.
+
+     PHP and Apache 2.0.x compatibility notes: The following versions of
+     PHP are known to work with the most recent version of Apache 2.0.x:
+
+     * PHP 4.3.0 or later available at http://www.php.net/downloads.php.
+     * the latest stable development version. Get the source code
+       http://snaps.php.net/php5-latest.tar.gz or download binaries for
+       Windows http://snaps.php.net/win32/php5-win32-latest.zip.
+     * a prerelease version downloadable from http://qa.php.net/.
+     * you have always the option to obtain PHP through SVN.
+
+     These versions of PHP are compatible to Apache 2.0.40 and later.
+
+     Apache 2.0 SAPI-support started with PHP 4.2.0. PHP 4.2.3 works with
+     Apache 2.0.39, don't use any other version of Apache with PHP 4.2.3.
+     However, the recommended setup is to use PHP 4.3.0 or later with the
+     most recent version of Apache2.
+
+     All mentioned versions of PHP will work still with Apache 1.3.x.
+
+   Warning
+
+   Apache 2.0.x is designed to run on Windows NT 4.0, Windows 2000 or
+   Windows XP. At this time, support for Windows 9x is incomplete. Apache
+   2.0.x is not expected to work on those platforms at this time.
+
+   Download the most recent version of Apache 2.0.x and a fitting PHP
+   version. Follow the Manual Installation Steps and come back to go on
+   with the integration of PHP and Apache.
+
+   There are two ways to set up PHP to work with Apache 2.0.x on Windows.
+   One is to use the CGI binary the other is to use the Apache module DLL.
+   In either case you need to edit your httpd.conf to configure Apache to
+   work with PHP and then restart the server.
+
+     Note: Remember that when adding path values in the Apache
+     configuration files on Windows, all backslashes such as
+     c:\directory\file.ext must be converted to forward slashes, as
+     c:/directory/file.ext. A trailing slash may also be necessary for
+     directories.
+     __________________________________________________________________
+
+Installing as a CGI binary
+
+   You need to insert these three lines to your Apache httpd.conf
+   configuration file to set up the CGI binary:
+
+   Example 2-5. PHP and Apache 2.0 as CGI
+ScriptAlias /php/ "c:/php/"
+AddType application/x-httpd-php .php
+
+# For PHP 4
+Action application/x-httpd-php "/php/php.exe"
+
+# For PHP 5
+Action application/x-httpd-php "/php/php-cgi.exe"
+
+   Warning
+
+   By using the CGI setup, your server is open to several possible
+   attacks. Please read our CGI security section to learn how to defend
+   yourself from those attacks.
+     __________________________________________________________________
+
+Installing as an Apache module
+
+   You need to insert these two lines to your Apache httpd.conf
+   configuration file to set up the PHP module for Apache 2.0:
+
+   Example 2-6. PHP and Apache 2.0 as Module
+
+# For PHP 5 do something like this:
+LoadModule php5_module "c:/php/php5apache2.dll"
+AddType application/x-httpd-php .php
+
+# configure the path to php.ini
+PHPIniDir "C:/php"
+
+     Note: Remember to substitute your actual path to PHP for the c:/php/
+     in the above examples. Take care to use either 
+     php5apache2.dll in your LoadModule directive and not php5apache.dll 
+     as the latter ones are designed to run with Apache 1.3.x.
+
+     Note: If you want to use content negotiation, read related FAQ.
+
+   Warning
+
+   Don't mix up your installation with DLL files from different PHP
+   versions. You have the only choice to use the DLL's and extensions that
+   ship with your downloaded PHP version.
+     __________________________________________________________________
+
+Sun, iPlanet and Netscape servers on Microsoft Windows
+
+   This section contains notes and hints specific to Sun Java System Web
+   Server, Sun ONE Web Server, iPlanet and Netscape server installs of PHP
+   on Windows.
+
+   From PHP 4.3.3 on you can use PHP scripts with the NSAPI module to
+   generate custom directory listings and error pages. Additional
+   functions for Apache compatibility are also available. For support in
+   current web servers read the note about subrequests.
+     __________________________________________________________________
+
+CGI setup on Sun, iPlanet and Netscape servers
+
+   To install PHP as a CGI handler, do the following:
+
+     * Copy php5ts.dll to your systemroot (the directory where you
+       installed Windows)
+     * Make a file association from the command line. Type the following
+       two lines:
+
+assoc .php=PHPScript
+ftype PHPScript=c:\php\php.exe %1 %*
+
+     * In the Netscape Enterprise Administration Server create a dummy
+       shellcgi directory and remove it just after (this step creates 5
+       important lines in obj.conf and allow the web server to handle
+       shellcgi scripts).
+     * In the Netscape Enterprise Administration Server create a new mime
+       type (Category: type, Content-Type: magnus-internal/shellcgi, File
+       Suffix:php).
+     * Do it for each web server instance you want PHP to run
+
+   More details about setting up PHP as a CGI executable can be found
+   here: http://benoit.noss.free.fr/php/install-php.html
+     __________________________________________________________________
+
+NSAPI setup on Sun, iPlanet and Netscape servers
+
+   To install PHP with NSAPI, do the following:
+
+     * Copy php5ts.dll to your systemroot (the directory where you
+       installed Windows)
+     * Make a file association from the command line. Type the following
+       two lines:
+
+assoc .php=PHPScript
+ftype PHPScript=c:\php\php.exe %1 %*
+
+     * In the Netscape Enterprise Administration Server create a new mime
+       type (Category: type, Content-Type: magnus-internal/x-httpd-php,
+       File Suffix: php).
+     * Edit magnus.conf (for servers >= 6) or obj.conf (for servers < 6)
+       and add the following: You should place the lines after mime types
+       init.
+
+Init fn="load-modules" funcs="php5_init,php5_execute,php5_auth_trans" shlib="c:/
+php/sapi/php5nsapi.dll"
+Init fn="php5_init" LateInit="yes" errorString="Failed to initialise PHP!" [php_
+ini="c:/path/to/php.ini"]
+
+       The php_ini parameter is optional but with it you
+       can place your php.ini in your web server configuration directory.
+     * Configure the default object in obj.conf (for virtual server
+       classes [Sun Web Server 6.0+] in their vserver.obj.conf): In the
+       <Object name="default"> section, place this line necessarily after
+       all 'ObjectType' and before all 'AddLog' lines:
+
+Service fn="php5_execute" type="magnus-internal/x-httpd-php" [inikey=value inike
+y=value ...]
+
+       As additional parameters you can add some special
+       php.ini-values, for example you can set a
+       docroot="/path/to/docroot" specific to the context php5_execute is
+       called. For boolean ini-keys please use 0/1 as value, not
+       "On","Off",... (this will not work correctly), e.g.
+       zlib.output_compression=1 instead of zlib.output_compression="On"
+     * This is only needed if you want to configure a directory that only
+       consists of PHP scripts (same like a cgi-bin directory):
+
+<Object name="x-httpd-php">
+ObjectType fn="force-type" type="magnus-internal/x-httpd-php"
+Service fn=php5_execute [inikey=value inikey=value ...]
+</Object>
+
+       After that you can configure a directory in the Administration
+       server and assign it the style x-httpd-php. All files in it will
+       get executed as PHP. This is nice to hide PHP usage by renaming
+       files to .html.
+     * Restart your web service and apply changes
+     * Do it for each web server instance you want PHP to run
+
+     Note: More details about setting up PHP as an NSAPI filter can be
+     found here: http://benoit.noss.free.fr/php/install-php4.html
+
+     Note: The stacksize that PHP uses depends on the configuration of
+     the web server. If you get crashes with very large PHP scripts, it
+     is recommended to raise it with the Admin Server (in the section
+     "MAGNUS EDITOR").
+     __________________________________________________________________
+
+CGI environment and recommended modifications in php.ini
+
+   Important when writing PHP scripts is the fact that Sun JSWS/Sun ONE
+   WS/iPlanet/Netscape is a multithreaded web server. Because of that all
+   requests are running in the same process space (the space of the web
+   server itself) and this space has only one environment. If you want to
+   get CGI variables like PATH_INFO, HTTP_HOST etc. it is not the correct
+   way to try this in the old PHP 3.x way with getenv() or a similar way
+   (register globals to environment, $_ENV). You would only get the
+   environment of the running web server without any valid CGI variables!
+
+     Note: Why are there (invalid) CGI variables in the environment?
+
+     Answer: This is because you started the web server process from the
+     admin server which runs the startup script of the web server, you
+     wanted to start, as a CGI script (a CGI script inside of the admin
+     server!). This is why the environment of the started web server has
+     some CGI environment variables in it. You can test this by starting
+     the web server not from the administration server. Use the command
+     line as root user and start it manually - you will see there are no
+     CGI-like environment variables.
+     __________________________________________________________________
+
+Special use for error pages or self-made directory listings (PHP >= 4.3.3)
+
+   You can use PHP to generate the error pages for "404 Not Found" or
+   similar. Add the following line to the object in obj.conf for every
+   error page you want to overwrite:
+Error fn="php5_execute" code=XXX script="/path/to/script.php" [inikey=value inik
+ey=value...]
+
+   where XXX is the HTTP error code. Please delete any other Error
+   directives which could interfere with yours. If you want to place a
+   page for all errors that could exist, leave the code parameter out.
+   Your script can get the HTTP status code with $_SERVER['ERROR_TYPE'].
+
+   Another possibility is to generate self-made directory listings. Just
+   create a PHP script which displays a directory listing and replace the
+   corresponding default Service line for type="magnus-internal/directory"
+   in obj.conf with the following:
+Service fn="php5_execute" type="magnus-internal/directory" script="/path/to/scri
+pt.php" [inikey=value inikey=value...]
+
+   For both error and directory listing pages the original URI and
+   translated URI are in the variables $_SERVER['PATH_INFO'] and
+   $_SERVER['PATH_TRANSLATED'].
+     __________________________________________________________________
+
+Note about nsapi_virtual() and subrequests (PHP >= 4.3.3)
+
+   The NSAPI module now supports the nsapi_virtual() function (alias:
+   virtual()) to make subrequests on the web server and insert the result
+   in the web page. The problem is, that this function uses some
+   undocumented features from the NSAPI library.
+
+   Under Unix this is not a problem, because the module automatically
+   looks for the needed functions and uses them if available. If not,
+   nsapi_virtual() is disabled.
+
+   Under Windows limitations in the DLL handling need the use of a
+   automatic detection of the most recent ns-httpdXX.dll file. This is
+   tested for servers till version 6.1. If a newer version of the Sun
+   server is used, the detection fails and nsapi_virtual() is disabled.
+
+   If this is the case, try the following: Add the following parameter to
+   php5_init in magnus.conf/obj.conf:
+   Init fn=php5_init ... server_lib="ns-httpdXX.dll"
+
+   where XX is the correct DLL version number. To get it, look in the
+   server-root for the correct DLL name. The DLL with the biggest filesize
+   is the right one.
+
+   You can check the status by using the phpinfo() function.
+
+     Note: But be warned: Support for nsapi_virtual() is EXPERIMENTAL!!!
+     __________________________________________________________________
+
+OmniHTTPd Server
+
+   This section contains notes and hints specific to OmniHTTPd on Windows.
+
+     Note: You should read the manual installation steps first!
+
+   Warning
+
+   By using the CGI setup, your server is open to several possible
+   attacks. Please read our CGI security section to learn how to defend
+   yourself from those attacks.
+
+   You need to complete the following steps to make PHP work with
+   OmniHTTPd. This is a CGI executable setup. SAPI is supported by
+   OmniHTTPd, but some tests have shown that it is not so stable to use
+   PHP as an ISAPI module.
+
+     Important for CGI users: Read the faq on cgi.force_redirect for
+     important details. This directive needs to be set to 0.
+
+    1. Install OmniHTTPd server.
+    2. Right click on the blue OmniHTTPd icon in the system tray and
+       select Properties
+    3. Click on Web Server Global Settings
+    4. On the 'External' tab, enter: virtual = .php | actual =
+       c:\php\php.exe (use php-cgi.exe if installing PHP 5), and use the
+       Add button.
+    5. On the Mime tab, enter: virtual = wwwserver/stdcgi | actual = .php,
+       and use the Add button.
+    6. Click OK
+
+   Repeat steps 2 - 6 for each extension you want to associate with PHP.
+
+     __________________________________________________________________
+
+Xitami on Microsoft Windows
+
+   This section contains notes and hints specific to Xitami on Windows.
+
+     Note: You should read the manual installation steps first!
+
+   This list describes how to set up the PHP CGI binary to work with
+   Xitami on Windows.
+
+     Important for CGI users: Read the faq on cgi.force_redirect for
+     important details. This directive needs to be set to 0. If you want
+     to use $_SERVER['PHP_SELF'] you have to enable the cgi.fix_pathinfo
+     directive.
+
+   Warning
+
+   By using the CGI setup, your server is open to several possible
+   attacks. Please read our CGI security section to learn how to defend
+   yourself from those attacks.
+
+     * Make sure the web server is running, and point your browser to
+       xitamis admin console (usually http://127.0.0.1/admin), and click
+       on Configuration.
+     * Navigate to the Filters, and put the extension which PHP should
+       parse (i.e. .php) into the field File extensions (.xxx).
+     * In Filter command or script put the path and name of your PHP CGI
+       executable i.e. C:\php\php-cgi.exe.
+     * Press the 'Save' icon.
+     * Restart the server to reflect changes.
+     __________________________________________________________________
+
+Installation of extensions on Windows
+
+   After installing PHP and a web server on Windows, you will probably
+   want to install some extensions for added functionality. You can choose
+   which extensions you would like to load when PHP starts by modifying
+   your php.ini. You can also load a module dynamically in your script
+   using dl().
+
+   The DLLs for PHP extensions are prefixed with php_.
+
+   Many extensions are built into the Windows version of PHP. This means
+   additional DLL files, and the extension directive, are not used to load
+   these extensions. The Windows PHP Extensions table lists extensions
+   that require, or used to require, additional PHP DLL files. Here's a
+   list of built in extensions:
+
+   In PHP 5 (updated PHP 5.0.4), the following changes exist. Built in:
+   DOM, LibXML, Iconv, SimpleXML, SPL and SQLite. And the following are no
+   longer built in: MySQL and Overload.
+
+   The default location PHP searches for extensions is C:\php5 in PHP 5. 
+   To change this setting to reflect your setup of PHP edit your php.ini
+   file:
+
+     * You will need to change the extension_dir setting to point to the
+       directory where your extensions lives, or where you have placed
+       your php_*.dll files. For example:
+
+extension_dir = C:\php\extensions
+
+     * Enable the extension(s) in php.ini you want to use by uncommenting
+       the extension=php_*.dll lines in php.ini. This is done by deleting
+       the leading ; from the extension you want to load.
+
+   Example 2-8. Enable Bzip2 extension for PHP-Windows
+// change the following line from ...
+;extension=php_bz2.dll
+
+// ... to
+extension=php_bz2.dll
+
+     * Some of the extensions need extra DLLs to work. Couple of them can
+       be found in the distribution package, in in the main folder in PHP 5, 
+       but some, for example Oracle (php_oci8.dll) require DLLs which are 
+       not bundled with the distribution package.
+     * Some of these DLLs are not bundled with the PHP distribution. See
+       each extensions documentation page for details. Also, read the
+       manual section titled Installation of PECL extensions for details
+       on PECL. An increasingly large number of PHP extensions are found
+       in PECL, and these extensions require a separate download.
+
+     Note: If you are running a server module version of PHP remember to
+     restart your web server to reflect your changes to php.ini.
+
+   The following table describes some of the extensions available and
+   required additional dlls.
+
+   Table 2-1. PHP Extensions
+   Extension Description Notes
+   php_bz2.dll bzip2 compression functions None
+   php_calendar.dll Calendar conversion functions
+   php_cpdf.dll ClibPDF functions None
+   php_crack.dll Crack functions None
+   php_ctype.dll ctype family functions
+   php_curl.dll CURL, Client URL library functions Requires: libeay32.dll,
+   ssleay32.dll (bundled)
+   php_db.dll DBM functions Deprecated. Use DBA instead (php_dba.dll)
+   php_dba.dll DBA: DataBase (dbm-style) Abstraction layer functions None
+   php_dbase.dll dBase functions None
+   php_dbx.dll dbx functions
+   php_exif.dll EXIF functions php_mbstring.dll. And, php_exif.dll must be
+   loaded after php_mbstring.dll in php.ini.
+   php_fdf.dll FDF: Forms Data Format functions. Requires: fdftk.dll
+   (bundled)
+   php_filepro.dll filePro functions Read-only access
+   php_ftp.dll FTP functions
+   php_gd2.dll GD library image functions GD2
+   php_gettext.dll Gettext functions, requires libintl-1.dll, 
+   iconv.dll (bundled).
+   php_iconv.dll ICONV characterset conversion Requires: iconv.dll
+   php_imap.dll IMAP POP3 and NNTP functions None
+   php_interbase.dll InterBase functions Requires: gds32.dll (bundled)
+   php_ldap.dll LDAP functions requires libeay32.dll, ssleay32.dll (bundled)
+   php_mbstring.dll Multi-Byte String functions None
+   php_mcrypt.dll Mcrypt Encryption functions Requires: libmcrypt.dll
+   php_mime_magic.dll Mimetype functions Requires: magic.mime (bundled)
+   php_ming.dll Ming functions for Flash None
+   php_msql.dll mSQL functions Requires: msql.dll (bundled)
+   php_mssql.dll MSSQL functions Requires: ntwdblib.dll (bundled)
+   php_mysql.dll MySQL functions PHP >= 5.0.0, requires libmysql.dll
+   (bundled)
+   php_mysqli.dll MySQLi functions PHP >= 5.0.0, requires libmysql.dll
+   (libmysqli.dll in PHP <= 5.0.2) (bundled)
+   php_oci8.dll Oracle 8 functions Requires: Oracle 8.1+ client libraries
+   php_openssl.dll OpenSSL functions Requires: libeay32.dll (bundled)
+   php_oracle.dll Oracle functions Requires: Oracle 7 client libraries
+   php_pgsql.dll PostgreSQL functions None
+   php_printer.dll Printer functions None
+   php_shmop.dll Shared Memory functions None
+   php_snmp.dll SNMP get and walk functions NT only!
+   php_soap.dll SOAP functions PHP >= 5.0.0
+   php_sockets.dll Socket functions None
+   php_sybase_ct.dll Sybase functions Requires: Sybase client libraries
+   php_tidy.dll Tidy functions PHP >= 5.0.0
+   php_tokenizer.dll Tokenizer functions Built in since PHP 4.3.0
+   php_xmlrpc.dll XML-RPC functions PHP >= 4.2.1 requires: iconv.dll
+   (bundled)
+   php_xslt.dll XSLT requires libxslt.dll, iconv.dll (bundled).
+   php_zip.dll Zip File functions
+   php_zlib.dll ZLib compression functions
+     __________________________________________________________________
+
+Chapter 3. Installation of PECL extensions
+
+Introduction to PECL Installations
+
+   PECL is a repository of PHP extensions that are made available to you
+   via the PEAR packaging system. This section of the manual is intended
+   to demonstrate how to obtain and install PECL extensions.
+
+   These instructions assume /your/phpsrcdir/ is the path to the PHP
+   source distribution, and that extname is the name of the PECL
+   extension. Adjust accordingly. These instructions also assume a
+   familiarity with the pear command. The information in the PEAR manual
+   for the pear command also applies to the pecl command.
+
+   To be useful, a shared extension must be built, installed, and loaded.
+   The methods described below provide you with various instructions on
+   how to build and install the extensions, but they do not automatically
+   load them. Extensions can be loaded by adding an extension directive.
+   To this php.ini file, or through the use of the dl() function.
+
+   When building PHP modules, it's important to have known-good versions
+   of the required tools (autoconf, automake, libtool, etc.) See the
+   SVN Instructions for details on the required tools, and required 
+   versions.
+     __________________________________________________________________
+
+Downloading PECL extensions
+
+   There are several options for downloading PECL extensions, such as:
+
+     * http://pecl.php.net
+       The PECL web site contains information about the different
+       extensions that are offered by the PHP Development Team. The
+       information available here includes: ChangeLog, release notes,
+       requirements and other similar details.
+     * pecl download extname
+       PECL extensions that have releases listed on the PECL web site are
+       available for download and installation using the pecl command.
+       Specific revisions may also be specified.
+     * SVN 
+       Most PECL extensions also reside in SVN. A web-based view may be
+       seen at http://svn.php.net/pecl/. To download straight from SVN,
+       the following sequence of commands may be used. 
+
+$ svn  co http://svn.php.net/repository/pecl/<extname>/trunk
+
+     * Windows downloads
+       Windows users may find compiled PECL binaries by downloading the
+       Collection of PECL modules from the PHP Downloads page, or by
+       retrieving a PECL Snapshot or an extension DLL on PECL4WIN. To
+       compile PHP under Windows, read the appropriate chapter.
+     __________________________________________________________________
+
+PECL for Windows users
+
+   As with any other PHP extension DLL, installation is as simple as
+   copying the PECL extension DLLs into the extension_dir folder and
+   loading them from php.ini. For example, add the following line to your
+   php.ini:
+
+   extension=php_extname.dll
+
+   After doing this, restart the web server.
+     __________________________________________________________________
+
+Compiling shared PECL extensions with the pecl command
+
+   PECL makes it easy to create shared PHP extensions. Using the pecl
+   command, do the following:
+
+   $ pecl install extname
+
+   This will download the source for extname, compile, and install
+   extname.so into your extension_dir. extname.so may then be loaded via
+   php.ini
+
+   By default, the pecl command will not install packages that are marked
+   with the alpha or beta state. If no stable packages are available, you
+   may install a beta package using the following command:
+
+   $ pecl install extname-beta
+
+   You may also install a specific version using this variant:
+
+   $ pecl install extname-0.1
+     __________________________________________________________________
+
+Compiling shared PECL extensions with phpize
+
+   Sometimes, using the pecl installer is not an option. This could be
+   because you're behind a firewall, or it could be because the extension
+   you want to install is not available as a PECL compatible package, such
+   as unreleased extensions from SVN. If you need to build such an
+   extension, you can use the lower-level build tools to perform the build
+   manually.
+
+   The phpize command is used to prepare the build environment for a PHP
+   extension. In the following sample, the sources for an extension are in
+   a directory named extname:
+
+$ cd extname
+$ phpize
+$ ./configure
+$ make
+# make install
+
+   A successful install will have created extname.so and put it into the
+   PHP extensions directory. You'll need to and adjust php.ini and add an
+   extension=extname.so line before you can use the extension.
+
+   If the system is missing the phpize command, and precompiled packages
+   (like RPM's) are used, be sure to also install the appropriate devel
+   version of the PHP package as they often include the phpize command
+   along with the appropriate header files to build PHP and its
+   extensions.
+
+   Execute phpize --help to display additional usage information.
+     __________________________________________________________________
+
+Compiling PECL extensions statically into PHP
+
+   You might find that you need to build a PECL extension statically into
+   your PHP binary. To do this, you'll need to place the extension source
+   under the php-src/ext/ directory and tell the PHP build system to
+   regenerate its configure script.
+
+$ cd /your/phpsrcdir/ext
+$ pecl download extname
+$ gzip -d < extname.tgz | tar -xvf -
+$ mv extname-x.x.x extname
+
+   This will result in the following directory:
+
+   /your/phpsrcdir/ext/extname
+
+   From here, force PHP to rebuild the configure script, and then build
+   PHP as normal:
+
+$ cd /your/phpsrcdir
+$ rm configure
+$ ./buildconf --force
+$ ./configure --help
+$ ./configure --with-extname --enable-someotherext --with-foobar
+$ make
+$ make install
+
+     Note: To run the 'buildconf' script you need autoconf 2.13 and
+     automake 1.4+ (newer versions of autoconf may work, but are not
+     supported).
+
+   Whether --enable-extname or --with-extname is used depends on the
+   extension. Typically an extension that does not require external
+   libraries uses --enable. To be sure, run the following after buildconf:
+
+   $ ./configure --help | grep extname
+     __________________________________________________________________
+
+Chapter 4. Problems?
+
+Read the FAQ
+
+   Some problems are more common than others. The most common ones are
+   listed in the PHP FAQ, part of this manual.
+     __________________________________________________________________
+
+Other problems
+
+   If you are still stuck, someone on the PHP installation mailing list
+   may be able to help you. You should check out the archive first, in
+   case someone already answered someone else who had the same problem as
+   you. The archives are available from the support page on
+   http://www.php.net/support.php. To subscribe to the PHP installation
+   mailing list, send an empty mail to
+   php-install-subscribe@lists.php.net. The mailing list address is
+   php-install@lists.php.net.
+
+   If you want to get help on the mailing list, please try to be precise
+   and give the necessary details about your environment (which operating
+   system, what PHP version, what web server, if you are running PHP as
+   CGI or a server module, safe mode, etc...), and preferably enough code
+   to make others able to reproduce and test your problem.
+     __________________________________________________________________
+
+Bug reports
+
+   If you think you have found a bug in PHP, please report it. The PHP
+   developers probably don't know about it, and unless you report it,
+   chances are it won't be fixed. You can report bugs using the
+   bug-tracking system at http://bugs.php.net/. Please do not send bug
+   reports in mailing list or personal letters. The bug system is also
+   suitable to submit feature requests.
+
+   Read the How to report a bug document before submitting any bug
+   reports!
+     __________________________________________________________________
+
+Chapter 5. Runtime Configuration
+
+The configuration file
+
+   The configuration file (called php3.ini in PHP 3, and simply php.ini as
+   of PHP 4) is read when PHP starts up. For the server module versions of
+   PHP, this happens only once when the web server is started. For the CGI
+   and CLI version, it happens on every invocation.
+
+   php.ini is searched in these locations (in order):
+
+     * SAPI module specific location (PHPIniDir directive in Apache 2, -c
+       command line option in CGI and CLI, php_ini parameter in NSAPI,
+       PHP_INI_PATH environment variable in THTTPD)
+     * The PHPRC environment variable. Before PHP 5.2.0 this was checked
+       after the registry key mentioned below.
+     * As of PHP 5.2.0, the following registry locations are searched in
+       order: HKEY_LOCAL_MACHINE\SOFTWARE\PHP\x.y.z\IniFilePath,
+       HKEY_LOCAL_MACHINE\SOFTWARE\PHP\x.y\IniFilePath and
+       HKEY_LOCAL_MACHINE\SOFTWARE\PHP\x\IniFilePath, where x, y and z
+       mean the PHP major, minor and release versions.
+     * HKEY_LOCAL_MACHINE\SOFTWARE\PHP\IniFilePath (Windows Registry
+       location)
+     * Current working directory (except CLI)
+     * The web server's directory (for SAPI modules), or directory of PHP
+       (otherwise in Windows)
+     * Windows directory (C:\windows or C:\winnt) (for Windows), or
+       --with-config-file-path compile time option
+
+   If php-SAPI.ini exists (where SAPI is used SAPI, so the filename is
+   e.g. php-cli.ini or php-apache.ini), it's used instead of php.ini. SAPI
+   name can be determined by php_sapi_name().
+
+     Note: The Apache web server changes the directory to root at startup
+     causing PHP to attempt to read php.ini from the root filesystem if
+     it exists.
+
+   The php.ini directives handled by extensions are documented
+   respectively on the pages of the extensions themselves. The list of the
+   core directives is available in the appendix. Probably not all PHP
+   directives are documented in the manual though. For a complete list of
+   directives available in your PHP version, please read your well
+   commented php.ini file. Alternatively, you may find the latest
+   php.ini from SVN helpful too.
+
+   Example 5-1. php.ini example
+; any text on a line after an unquoted semicolon (;) is ignored
+[php] ; section markers (text within square brackets) are also ignored
+; Boolean values can be set to either:
+;    true, on, yes
+; or false, off, no, none
+html_errors = off
+track_errors = yes
+
+; you can enclose strings in double-quotes
+include_path = ".:/usr/local/lib/php"
+
+; backslashes are treated the same as any other character
+include_path = ".;c:\php\lib"
+
+   Since PHP 5.1.0, it is possible to refer to existing .ini variables
+   from within .ini files. Example: open_basedir = ${open_basedir}
+   ":/new/dir".
+     __________________________________________________________________
+
+How to change configuration settings
+
+Running PHP as an Apache module
+
+   When using PHP as an Apache module, you can also change the
+   configuration settings using directives in Apache configuration files
+   (e.g. httpd.conf) and .htaccess files. You will need "AllowOverride
+   Options" or "AllowOverride All" privileges to do so.
+
+   With PHP 4 and PHP 5, there are several Apache directives that allow
+   you to change the PHP configuration from within the Apache
+   configuration files. For a listing of which directives are PHP_INI_ALL,
+   PHP_INI_PERDIR, or PHP_INI_SYSTEM, have a look at the List of php.ini
+   directives appendix.
+
+     Note: With PHP 3, there are Apache directives that correspond to
+     each configuration setting in the php3.ini name, except the name is
+     prefixed by "php3_".
+
+   php_value name value
+          Sets the value of the specified directive. Can be used only with
+          PHP_INI_ALL and PHP_INI_PERDIR type directives. To clear a
+          previously set value use none as the value.
+
+     Note: Don't use php_value to set boolean values. php_flag (see
+     below) should be used instead.
+
+   php_flag name on|off
+          Used to set a boolean configuration directive. Can be used only
+          with PHP_INI_ALL and PHP_INI_PERDIR type directives.
+
+   php_admin_value name value
+          Sets the value of the specified directive. This can not be used
+          in .htaccess files. Any directive type set with php_admin_value
+          can not be overridden by .htaccess or virtualhost directives. To
+          clear a previously set value use none as the value.
+
+   php_admin_flag name on|off
+          Used to set a boolean configuration directive. This can not be
+          used in .htaccess files. Any directive type set with
+          php_admin_flag can not be overridden by .htaccess or virtualhost
+          directives.
+
+   Example 5-2. Apache configuration example
+<IfModule mod_php5.c>
+  php_value include_path ".:/usr/local/lib/php"
+  php_admin_flag engine on
+</IfModule>
+
+   Caution
+
+   PHP constants do not exist outside of PHP. For example, in httpd.conf
+   you can not use PHP constants such as E_ALL or E_NOTICE to set the
+   error_reporting directive as they will have no meaning and will
+   evaluate to 0. Use the associated bitmask values instead. These
+   constants can be used in php.ini
+     __________________________________________________________________
+
+Changing PHP configuration via the Windows registry
+
+   When running PHP on Windows, the configuration values can be modified
+   on a per-directory basis using the Windows registry. The configuration
+   values are stored in the registry key HKLM\SOFTWARE\PHP\Per Directory
+   Values, in the sub-keys corresponding to the path names. For example,
+   configuration values for the directory c:\inetpub\wwwroot would be
+   stored in the key HKLM\SOFTWARE\PHP\Per Directory
+   Values\c\inetpub\wwwroot. The settings for the directory would be
+   active for any script running from this directory or any subdirectory
+   of it. The values under the key should have the name of the PHP
+   configuration directive and the string value. PHP constants in the
+   values are not parsed. However, only configuration values changeable in
+   PHP_INI_USER can be set this way, PHP_INI_PERDIR values can not.
+     __________________________________________________________________
+
+Other interfaces to PHP
+
+   Regardless of how you run PHP, you can change certain values at runtime
+   of your scripts through ini_set(). See the documentation on the
+   ini_set() page for more information.
+
+   If you are interested in a complete list of configuration settings on
+   your system with their current values, you can execute the phpinfo()
+   function, and review the resulting page. You can also access the values
+   of individual configuration directives at runtime using ini_get() or
+   get_cfg_var().
+     __________________________________________________________________
+
+Chapter 6. Installation FAQ
+
+   This section holds common questions about the way to install PHP. PHP
+   is available for almost any OS (except maybe for MacOS before OSX), and
+   almost any web server.
+
+   To install PHP, follow the instructions in Installing PHP.
+
+   1. Why shouldn't I use Apache2 with a threaded MPM in a production
+          environment?
+
+   2. Unix/Windows: Where should my php.ini file be located?
+   3. Unix: I installed PHP, but every time I load a document, I get the
+          message 'Document Contains No Data'! What's going on here?
+
+   4. Unix: I installed PHP using RPMS, but Apache isn't processing the
+          PHP pages! What's going on here?
+
+   5. Unix: I installed PHP 3 using RPMS, but it doesn't compile with the
+          database support I need! What's going on here?
+
+   6. Unix: I patched Apache with the FrontPage extensions patch, and
+          suddenly PHP stopped working. Is PHP incompatible with the
+          Apache FrontPage extensions?
+
+   7. Unix/Windows: I have installed PHP, but when I try to access a PHP
+          script file via my browser, I get a blank screen.
+
+   8. Unix/Windows: I have installed PHP, but when try to access a PHP
+          script file via my browser, I get a server 500 error.
+
+   9. Some operating systems: I have installed PHP without errors, but
+          when I try to start apache I get undefined symbol errors:
+
+[mybox:user /src/php5] root# apachectl configtest
+ apachectl: /usr/local/apache/bin/httpd Undefined symbols:
+  _compress
+  _uncompress
+
+   10. Windows: I have installed PHP, but when I to access a PHP script
+          file via my browser, I get the error:
+
+cgi error:
+ The specified CGI application misbehaved by not
+ returning a complete set of HTTP headers.
+ The headers it did return are:
+
+   11. Windows: I've followed all the instructions, but still can't get
+          PHP and IIS to work together!
+
+   12. When running PHP as CGI with IIS, OmniHTTPD or Xitami, I get
+          the following error: Security Alert! PHP CGI cannot be accessed
+          directly..
+
+   13. How do I know if my php.ini is being found and read? It seems like
+          it isn't as my changes aren't being implemented.
+
+   14. How do I add my PHP directory to the PATH on Windows?
+   15. How do I make the php.ini file available to PHP on windows?
+   16. Is it possible to use Apache content negotiation (MultiViews
+          option) with PHP?
+
+   17. Is PHP limited to process GET and POST request methods only?
+
+   1. Why shouldn't I use Apache2 with a threaded MPM in a production
+   environment?
+
+   PHP is glue. It is the glue used to build cool web applications by
+   sticking dozens of 3rd-party libraries together and making it all
+   appear as one coherent entity through an intuitive and easy to learn
+   language interface. The flexibility and power of PHP relies on the
+   stability and robustness of the underlying platform. It needs a working
+   OS, a working web server and working 3rd-party libraries to glue
+   together. When any of these stop working PHP needs ways to identify the
+   problems and fix them quickly. When you make the underlying framework
+   more complex by not having completely separate execution threads,
+   completely separate memory segments and a strong sandbox for each
+   request to play in, feet of clay are introduced into PHP's system.
+
+   If you feel you have to use a threaded MPM, look at a FastCGI
+   configuration where PHP is running in its own memory space.
+
+   And finally, this warning against using a threaded MPM is not as strong
+   for Windows systems because most libraries on that platform tend to be
+   threadsafe.
+
+   2. Unix/Windows: Where should my php.ini file be located?
+
+   By default on Unix it should be in /usr/local/lib which is
+   <install-path>/lib. Most people will want to change this at
+   compile-time with the --with-config-file-path flag. You would, for
+   example, set it with something like:
+   --with-config-file-path=/etc
+
+   And then you would copy php.ini-production from the distribution to
+   /etc/php.ini and edit it to make any local changes you want.
+   --with-config-file-scan-dir=PATH
+
+   On Windows the default path for the php.ini file is the Windows
+   directory. If you're using the Apache webserver, php.ini is first
+   searched in the Apaches install directory, e.g. c:\program files\apache
+   group\apache. This way you can have different php.ini files for
+   different versions of Apache on the same machine.
+
+   See also the chapter about the configuration file.
+
+   3. Unix: I installed PHP, but every time I load a document, I get the
+   message 'Document Contains No Data'! What's going on here?
+
+   This probably means that PHP is having some sort of problem and is
+   core-dumping. Look in your server error log to see if this is the case,
+   and then try to reproduce the problem with a small test case. If you
+   know how to use 'gdb', it is very helpful when you can provide a
+   backtrace with your bug report to help the developers pinpoint the
+   problem. If you are using PHP as an Apache module try something like:
+
+     * Stop your httpd processes
+     * gdb httpd
+     * Stop your httpd processes
+     * > run -X -f /path/to/httpd.conf
+     * Then fetch the URL causing the problem with your browser
+     * > run -X -f /path/to/httpd.conf
+     * If you are getting a core dump, gdb should inform you of this now
+     * type: bt
+     * You should include your backtrace in your bug report. This should
+       be submitted to http://bugs.php.net/
+
+   If your script uses the regular expression functions (ereg() and
+   friends), you should make sure that you compiled PHP and Apache with
+   the same regular expression package. This should happen automatically
+   with PHP and Apache 1.3.x
+
+   4. Unix: I installed PHP using RPMS, but Apache isn't processing the
+   PHP pages! What's going on here?
+
+   Assuming you installed both Apache and PHP from RPM packages, you need
+   to uncomment or add some or all of the following lines in your
+   httpd.conf file:
+# Extra Modules
+AddModule mod_php.c
+AddModule mod_php3.c
+AddModule mod_perl.c
+
+# Extra Modules
+LoadModule php_module         modules/mod_php.so
+LoadModule perl_module        modules/libperl.so
+
+   And add:
+AddType application/x-httpd-php3 .php3    # for PHP 3
+AddType application/x-httpd-php .php      # for PHP 4
+
+   ... to the global properties, or to the properties of the VirtualDomain
+   you want to have PHP support added to.
+
+   5. Unix: I installed PHP 3 using RPMS, but it doesn't compile with the
+   database support I need! What's going on here?
+
+   Due to the way PHP 3 built, it is not easy to build a complete flexible
+   PHP RPM. This issue is addressed in PHP 4. For PHP 3, we currently
+   suggest you use the mechanism described in the INSTALL.REDHAT file in
+   the PHP distribution. If you insist on using an RPM version of PHP 3,
+   read on...
+
+   The RPM packagers are setting up the RPMS to install without database
+   support to simplify installations and because RPMS use /usr/ instead of
+   the standard /usr/local/ directory for files. You need to tell the RPM
+   spec file which databases to support and the location of the top-level
+   of your database server.
+
+   This example will explain the process of adding support for the popular
+   MySQL database server, using the mod installation for Apache.
+
+   Of course all of this information can be adjusted for any database
+   server that PHP supports. We will assume you installed MySQL and Apache
+   completely with RPMS for this example as well.
+
+     * First remove mod_php3 :
+
+rpm -e mod_php3
+
+     * Then get the source rpm and INSTALL it, NOT --rebuild
+
+rpm -Uvh mod_php3-3.0.5-2.src.rpm
+
+     * Then edit the /usr/src/redhat/SPECS/mod_php3.spec file
+       In the %build section add the database support you want, and the
+       path.
+       For MySQL you would add --with-mysql=/usr The %build section will
+       look something like this:
+
+./configure --prefix=/usr \
+--with-apxs=/usr/sbin/apxs \
+--with-config-file-path=/usr/lib \
+--enable-debug=no \
+--enable-safe-mode \
+--with-exec-dir=/usr/bin \
+--with-mysql=/usr \
+--with-system-regex
+
+     * Once this modification is made then build the binary rpm as
+       follows:
+
+rpm -bb /usr/src/redhat/SPECS/mod_php3.spec
+
+     * Then install the rpm
+
+rpm -ivh /usr/src/redhat/RPMS/i386/mod_php3-3.0.5-2.i386.rpm
+
+   Make sure you restart Apache, and you now have PHP 3 with MySQL support
+   using RPM's. Note that it is probably much easier to just build from
+   the distribution tarball of PHP 3 and follow the instructions in
+   INSTALL.REDHAT found in that distribution.
+
+   6. Unix: I patched Apache with the FrontPage extensions patch, and
+   suddenly PHP stopped working. Is PHP incompatible with the Apache
+   FrontPage extensions?
+
+   No, PHP works fine with the FrontPage extensions. The problem is that
+   the FrontPage patch modifies several Apache structures, that PHP relies
+   on. Recompiling PHP (using 'make clean ; make') after the FP patch is
+   applied would solve the problem.
+
+   7. Unix/Windows: I have installed PHP, but when I try to access a PHP
+   script file via my browser, I get a blank screen.
+
+   Do a 'view source' in the web browser and you will probably find that
+   you can see the source code of your PHP script. This means that the web
+   server did not send the script to PHP for interpretation. Something is
+   wrong with the server configuration - double check the server
+   configuration against the PHP installation instructions.
+
+   8. Unix/Windows: I have installed PHP, but when try to access a PHP
+   script file via my browser, I get a server 500 error.
+
+   Something went wrong when the server tried to run PHP. To get to see a
+   sensible error message, from the command line, change to the directory
+   containing the PHP executable (php.exe on Windows) and run php -i. If
+   PHP has any problems running, then a suitable error message will be
+   displayed which will give you a clue as to what needs to be done next.
+   If you get a screen full of HTML codes (the output of the phpinfo()
+   function) then PHP is working, and your problem may be related to your
+   server configuration which you should double check.
+
+   9. Some operating systems: I have installed PHP without errors, but
+   when I try to start apache I get undefined symbol errors:
+[mybox:user /src/php5] root# apachectl configtest
+ apachectl: /usr/local/apache/bin/httpd Undefined symbols:
+  _compress
+  _uncompress
+
+   This has actually nothing to do with PHP, but with the MySQL client
+   libraries. Some need --with-zlib, others do not. This is also covered
+   in the MySQL FAQ.
+
+   10. Windows: I have installed PHP, but when I to access a PHP script
+   file via my browser, I get the error:
+cgi error:
+ The specified CGI application misbehaved by not
+ returning a complete set of HTTP headers.
+ The headers it did return are:
+
+   This error message means that PHP failed to output anything at all. To
+   get to see a sensible error message, from the command line, change to
+   the directory containing the PHP executable (php.exe on Windows) and
+   run php -i. If PHP has any problems running, then a suitable error
+   message will be displayed which will give you a clue as to what needs
+   to be done next. If you get a screen full of HTML codes (the output of
+   the phpinfo() function) then PHP is working.
+
+   Once PHP is working at the command line, try accessing the script via
+   the browser again. If it still fails then it could be one of the
+   following:
+
+     * File permissions on your PHP script, php.exe, php5ts.dll, php.ini
+       or any PHP extensions you are trying to load are such that the
+       anonymous internet user ISUR_<machinename> cannot access them.
+     * The script file does not exist (or possibly isn't where you think
+       it is relative to your web root directory). Note that for IIS you
+       can trap this error by ticking the 'check file exists' box when
+       setting up the script mappings in the Internet Services Manager. If
+       a script file does not exist then the server will return a 404
+       error instead. There is also the additional benefit that IIS will
+       do any authentication required for you based on the NTLanMan
+       permissions on your script file.
+
+   11. Windows: I've followed all the instructions, but still can't get
+   PHP and IIS to work together!
+
+   Make sure any user who needs to run a PHP script has the rights to run
+   php.exe! IIS uses an anonymous user which is added at the time IIS is
+   installed. This user needs rights to php.exe. Also, any authenticated
+   user will also need rights to execute php.exe. And for IIS4 you need to
+   tell it that PHP is a script engine. Also, you will want to read this
+   faq.
+
+   12. When running PHP as CGI with IIS, OmniHTTPD or Xitami, I get
+   the following error: Security Alert! PHP CGI cannot be accessed
+   directly..
+
+   You must set the cgi.force_redirect directive to 0. It defaults to 1 so
+   be sure the directive isn't commented out (with a ;). Like all
+   directives, this is set in php.ini
+
+   Because the default is 1, it's critical that you're 100% sure that the
+   correct php.ini file is being read. Read this faq for details.
+
+   13. How do I know if my php.ini is being found and read? It seems like
+   it isn't as my changes aren't being implemented.
+
+   To be sure your php.ini is being read by PHP, make a call to phpinfo()
+   and near the top will be a listing called Configuration File (php.ini).
+   This will tell you where PHP is looking for php.ini and whether or not
+   it's being read. If just a directory PATH exists than it's not being
+   read and you should put your php.ini in that directory. If php.ini is
+   included within the PATH than it is being read.
+
+   If php.ini is being read and you're running PHP as a module, then be
+   sure to restart your web server after making changes to php.ini
+
+   14. How do I add my PHP directory to the PATH on Windows?
+
+   On Windows NT, 2000, XP and 2003:
+
+     * Go to Control Panel and open the System icon (Start -> Settings ->
+       Control Panel -> System, or just Start -> Control Panel -> System
+       for Windows XP/2003)
+     * Go to the Advanced tab
+     * Click on the 'Environment Variables' button
+     * Look into the 'System Variables' pane
+     * Find the Path entry (you may need to scroll to find it)
+     * Double click on the Path entry
+     * Enter your PHP directory at the end, including ';' before (e.g.
+       ;C:\php)
+     * Press OK and restart your computer
+
+   On Windows 98/Me you need to edit the autoexec.bat file:
+
+     * Open the Notepad (Start -> Run and enter notepad)
+     * Open the C:\autoexec.bat file
+     * Locate the line with PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;..... and
+       add: ;C:\php to the end of the line
+     * Save the file and restart your computer
+
+     Note: Be sure to reboot after following the steps above to ensure
+     that the PATH changes are applied.
+
+   The PHP manual used to promote the copying of files into the Windows
+   system directory, this is because this directory (C:\Windows, C:\WINNT,
+   etc.) is by default in the systems PATH. Copying files into the Windows
+   system directory has long since been deprecated and may cause problems.
+
+   15. How do I make the php.ini file available to PHP on windows?
+
+   There are several ways of doing this. If you are using Apache, read
+   their installation specific instructions (Apache 1, Apache 2),
+   otherwise you must set the PHPRC environment variable:
+
+   On Windows NT, 2000, XP and 2003:
+
+     * Go to Control Panel and open the System icon (Start -> Settings ->
+       Control Panel -> System, or just Start -> Control Panel -> System
+       for Windows XP/2003)
+     * Go to the Advanced tab
+     * Click on the 'Environment Variables' button
+     * Look into the 'System variables' pane
+     * Click on 'New' and enter 'PHPRC' as the variable name and the
+       directory where php.ini is located as the variable value (e.g.
+       C:\php)
+     * Press OK and restart your computer
+
+   On Windows 98/Me you need to edit the autoexec.bat file:
+
+     * Open the Notepad (Start -> Run and enter notepad)
+     * Open the C:\autoexec.bat file
+     * Add a new line to the end of the file: set PHPRC=C:\php (replace
+       C:\php with the directory where php.ini is located). Please note
+       that the path cannot contain spaces. For instance, if you have
+       installed PHP in C:\Program Files\PHP, you would enter
+       C:\PROGRA~1\PHP instead.
+     * Save the file and restart your computer
+
+   16. Is it possible to use Apache content negotiation (MultiViews
+   option) with PHP?
+
+   If links to PHP files include extension, everything works perfect. This
+   FAQ is only for the case when links to PHP files don't include
+   extension and you want to use content negotiation to choose PHP files
+   from URL with no extension. In this case, replace the line AddType
+   application/x-httpd-php .php with:
+# PHP 4
+AddHandler php-script php
+AddType text/html php
+
+# PHP 5
+AddHandler php5-script php
+AddType text/html php
+
+   This solution doesn't work for Apache 1 as PHP module doesn't catch
+   php-script.
+
+   17. Is PHP limited to process GET and POST request methods only?
+
+   No, it is possible to handle any request method, e.g. CONNECT. Proper
+   response status can be sent with header(). If only GET and POST methods
+   should be handled, it can be achieved with this Apache configuration:
+<LimitExcept GET POST>
+Deny from all
+</LimitExcept>
diff --git a/win32/install.txt.rej b/win32/install.txt.rej
new file mode 100644 (file)
index 0000000..ee3e844
--- /dev/null
@@ -0,0 +1,72 @@
+--- win32/install.txt
++++ win32/install.txt
+@@ -337,38 +337,38 @@
+    |
+    |-php.ini-production   -- recommended php.ini settings for production
+    |
+-   |-php5activescript.dll
++   |-php7activescript.dll
+    |
+-   |-php5apache.dll
++   |-php7apache.dll
+    |
+-   |-php5apache2.dll
++   |-php7apache2.dll
+    |
+    |-..
+    |
+-   |-php5ts.dll           -- core PHP DLL
++   |-php7ts.dll           -- core PHP DLL
+    |
+    |-...
+-   Notice the differences and similarities. Both PHP 4 and PHP 5 have a
++   Notice the differences and similarities. Both PHP 4 and PHP 7 have a
+    CGI executable, a CLI executable, and server modules, but they are
+    located in different folders and/or have different names. While PHP 4
+-   packages have the server modules in the sapi folder, PHP 5
++   packages have the server modules in the sapi folder, PHP 7
+    distributions have no such directory and instead they're in the PHP
+-   folder root. The supporting DLLs for the PHP 5 extensions are also not
++   folder root. The supporting DLLs for the PHP 7 extensions are also not
+    in a separate directory.
+      Note: In PHP 4, you should move all files located in the dll and
+      sapi folders to the main folder (e.g. C:\php).
+-   Here is a list of server modules shipped with PHP 5:
++   Here is a list of server modules shipped with PHP 7:
+-     * sapi/php5apache2_2.dll - Apache 2.2.x module.
+-     * sapi/php5apache.dll (php5apache.dll) - Apache 1.x module
+-     * sapi/php5apache2.dll (php5apache2.dll) -  - Apache 2.0.x module.
+-     * sapi/php5isapi.dll - ISAPI Module for ISAPI compliant web servers 
++     * sapi/php7apache2_2.dll - Apache 2.2.x module.
++     * sapi/php7apache.dll (php7apache.dll) - Apache 1.x module
++     * sapi/php7apache2.dll (php7apache2.dll) -  - Apache 2.0.x module.
++     * sapi/php7isapi.dll - ISAPI Module for ISAPI compliant web servers
+        like IIS 5.0 or newer. However the FCGI SAPI is recommended with
+        IIS
+-     * sapi/php5nsapi.dll (php5nsapi.dll) - Sun/iPlanet/Netscape server
++     * sapi/php7nsapi.dll (php7nsapi.dll) - Sun/iPlanet/Netscape server
+        module.
+    Server modules provide significantly better performance and additional
+@@ -808,7 +808,7 @@
+      Note: Remember to substitute your actual path to PHP for the c:/php/
+      in the above examples. Take care to use either
+-     php5apache2.dll in your LoadModule directive and not php5apache.dll 
++     php7apache2.dll in your LoadModule directive and not php7apache.dll
+      as the latter ones are designed to run with Apache 1.3.x.
+      Note: If you want to use content negotiation, read related FAQ.
+@@ -1106,7 +1106,7 @@
+ extension=php_bz2.dll
+      * Some of the extensions need extra DLLs to work. Couple of them can
+-       be found in the distribution package, in in the main folder in PHP 5, 
++       be found in the distribution package, in in the main folder in PHP 7,
+        but some, for example Oracle (php_oci8.dll) require DLLs which are
+        not bundled with the distribution package.
+      * Some of these DLLs are not bundled with the PHP distribution. See
similarity index 82%
rename from win32/php5.dsp
rename to win32/php7.dsp
index 0b5b9a6d6b0d171df0cdfcfd81249b88afcd17c6..1550389d98c4fa708671bbaf4211753d999f3ff4 100644 (file)
@@ -1,25 +1,25 @@
-# Microsoft Developer Studio Project File - Name="php5" - Package Owner=<4>\r
+# Microsoft Developer Studio Project File - Name="php7" - Package Owner=<4>\r
 # Microsoft Developer Studio Generated Build File, Format Version 6.00\r
 # ** DO NOT EDIT **\r
 \r
 # TARGTYPE "Win32 (x86) Console Application" 0x0103\r
 \r
-CFG=php5 - Win32 Debug\r
+CFG=php7 - Win32 Debug\r
 !MESSAGE This is not a valid makefile. To build this project using NMAKE,\r
 !MESSAGE use the Export Makefile command and run\r
 !MESSAGE \r
-!MESSAGE NMAKE /f "php5.mak".\r
+!MESSAGE NMAKE /f "php7.mak".\r
 !MESSAGE \r
 !MESSAGE You can specify a configuration when running NMAKE\r
 !MESSAGE by defining the macro CFG on the command line. For example:\r
 !MESSAGE \r
-!MESSAGE NMAKE /f "php5.mak" CFG="php5 - Win32 Debug"\r
+!MESSAGE NMAKE /f "php7.mak" CFG="php7 - Win32 Debug"\r
 !MESSAGE \r
 !MESSAGE Possible choices for configuration are:\r
 !MESSAGE \r
-!MESSAGE "php5 - Win32 Release" (based on "Win32 (x86) Console Application")\r
-!MESSAGE "php5 - Win32 Debug" (based on "Win32 (x86) Console Application")\r
-!MESSAGE "php5 - Win32 Release_inline" (based on "Win32 (x86) Console Application")\r
+!MESSAGE "php7 - Win32 Release" (based on "Win32 (x86) Console Application")\r
+!MESSAGE "php7 - Win32 Debug" (based on "Win32 (x86) Console Application")\r
+!MESSAGE "php7 - Win32 Release_inline" (based on "Win32 (x86) Console Application")\r
 !MESSAGE \r
 \r
 # Begin Project\r
@@ -29,7 +29,7 @@ CFG=php5 - Win32 Debug
 CPP=cl.exe\r
 RSC=rc.exe\r
 \r
-!IF  "$(CFG)" == "php5 - Win32 Release"\r
+!IF  "$(CFG)" == "php7 - Win32 Release"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 0\r
@@ -52,9 +52,9 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386\r
-# ADD LINK32 php5nts.lib winmm.lib wsock32.lib netapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /version:3.0 /subsystem:console /machine:I386 /nodefaultlib:"libc.lib" /out:"..\Release\php.exe" /libpath:"..\Release"\r
+# ADD LINK32 php7nts.lib winmm.lib wsock32.lib netapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /version:3.0 /subsystem:console /machine:I386 /nodefaultlib:"libc.lib" /out:"..\Release\php.exe" /libpath:"..\Release"\r
 \r
-!ELSEIF  "$(CFG)" == "php5 - Win32 Debug"\r
+!ELSEIF  "$(CFG)" == "php7 - Win32 Debug"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 1\r
@@ -77,15 +77,15 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 winmm.lib wsock32.lib netapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5nts_debug.lib /nologo /version:4.0 /subsystem:console /debug /machine:I386 /nodefaultlib:"libcd" /nodefaultlib:"libcmt" /out:"c:\php-fcgi\php.exe" /pdbtype:sept /libpath:"..\Debug"\r
+# ADD LINK32 winmm.lib wsock32.lib netapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7nts_debug.lib /nologo /version:4.0 /subsystem:console /debug /machine:I386 /nodefaultlib:"libcd" /nodefaultlib:"libcmt" /out:"c:\php-fcgi\php.exe" /pdbtype:sept /libpath:"..\Debug"\r
 # SUBTRACT LINK32 /pdb:none\r
 \r
-!ELSEIF  "$(CFG)" == "php5 - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7 - Win32 Release_inline"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 0\r
-# PROP BASE Output_Dir "php5___Win32_Release_inline"\r
-# PROP BASE Intermediate_Dir "php5___Win32_Release_inline"\r
+# PROP BASE Output_Dir "php7___Win32_Release_inline"\r
+# PROP BASE Intermediate_Dir "php7___Win32_Release_inline"\r
 # PROP BASE Ignore_Export_Lib 0\r
 # PROP BASE Target_Dir ""\r
 # PROP Use_MFC 0\r
@@ -104,16 +104,16 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 php5nts.lib winmm.lib wsock32.lib netapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /version:3.0 /subsystem:console /machine:I386 /nodefaultlib:"libc.lib" /out:"Release\php.exe" /libpath:"Release"\r
-# ADD LINK32 php5nts.lib winmm.lib wsock32.lib netapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /version:3.0 /subsystem:console /machine:I386 /nodefaultlib:"libc.lib" /out:"..\Release\php.exe" /libpath:"..\Release_inline"\r
+# ADD BASE LINK32 php7nts.lib winmm.lib wsock32.lib netapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /version:3.0 /subsystem:console /machine:I386 /nodefaultlib:"libc.lib" /out:"Release\php.exe" /libpath:"Release"\r
+# ADD LINK32 php7nts.lib winmm.lib wsock32.lib netapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /version:3.0 /subsystem:console /machine:I386 /nodefaultlib:"libc.lib" /out:"..\Release\php.exe" /libpath:"..\Release_inline"\r
 \r
 !ENDIF \r
 \r
 # Begin Target\r
 \r
-# Name "php5 - Win32 Release"\r
-# Name "php5 - Win32 Debug"\r
-# Name "php5 - Win32 Release_inline"\r
+# Name "php7 - Win32 Release"\r
+# Name "php7 - Win32 Debug"\r
+# Name "php7 - Win32 Release_inline"\r
 # Begin Group "Source Files"\r
 \r
 # PROP Default_Filter ".c"\r
similarity index 92%
rename from win32/php5.dsw
rename to win32/php7.dsw
index d6efc98ee2398cc5633db75e7a256016f7cbae6c..00e2ded4de5adcb9d233ea5aa58ed478dd7d86c6 100644 (file)
@@ -39,7 +39,7 @@ Package=<5>
 Package=<4>
 {{{
     Begin Project Dependency
-    Project_Dep_Name php5dll
+    Project_Dep_Name php7dll
     End Project Dependency
     Begin Project Dependency
     Project_Dep_Name TSRM
@@ -51,7 +51,7 @@ Package=<4>
 
 ###############################################################################
 
-Project: "php5"=.\php5.dsp - Package Owner=<4>
+Project: "php7"=.\php7.dsp - Package Owner=<4>
 
 Package=<5>
 {{{
@@ -60,7 +60,7 @@ Package=<5>
 Package=<4>
 {{{
     Begin Project Dependency
-    Project_Dep_Name php5dll
+    Project_Dep_Name php7dll
     End Project Dependency
     Begin Project Dependency
     Project_Dep_Name Zend
@@ -72,7 +72,7 @@ Package=<4>
 
 ###############################################################################
 
-Project: "php5dll"=.\php5dll.dsp - Package Owner=<4>
+Project: "php7dll"=.\php7dll.dsp - Package Owner=<4>
 
 Package=<5>
 {{{
similarity index 80%
rename from win32/php5dll.dsp
rename to win32/php7dll.dsp
index cc56f538af1c93735008bf485f83a3d72eff7115..763062219dd5e87c8df17fffb40daa136c31d69d 100644 (file)
@@ -1,25 +1,25 @@
-# Microsoft Developer Studio Project File - Name="php5dll" - Package Owner=<4>\r
+# Microsoft Developer Studio Project File - Name="php7dll" - Package Owner=<4>\r
 # Microsoft Developer Studio Generated Build File, Format Version 6.00\r
 # ** DO NOT EDIT **\r
 \r
 # TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102\r
 \r
-CFG=php5dll - Win32 Debug\r
+CFG=php7dll - Win32 Debug\r
 !MESSAGE This is not a valid makefile. To build this project using NMAKE,\r
 !MESSAGE use the Export Makefile command and run\r
 !MESSAGE \r
-!MESSAGE NMAKE /f "php5dll.mak".\r
+!MESSAGE NMAKE /f "php7dll.mak".\r
 !MESSAGE \r
 !MESSAGE You can specify a configuration when running NMAKE\r
 !MESSAGE by defining the macro CFG on the command line. For example:\r
 !MESSAGE \r
-!MESSAGE NMAKE /f "php5dll.mak" CFG="php5dll - Win32 Debug"\r
+!MESSAGE NMAKE /f "php7dll.mak" CFG="php7dll - Win32 Debug"\r
 !MESSAGE \r
 !MESSAGE Possible choices for configuration are:\r
 !MESSAGE \r
-!MESSAGE "php5dll - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")\r
-!MESSAGE "php5dll - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")\r
-!MESSAGE "php5dll - Win32 Release_inline" (based on "Win32 (x86) Dynamic-Link Library")\r
+!MESSAGE "php7dll - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")\r
+!MESSAGE "php7dll - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")\r
+!MESSAGE "php7dll - Win32 Release_inline" (based on "Win32 (x86) Dynamic-Link Library")\r
 !MESSAGE \r
 \r
 # Begin Project\r
@@ -30,7 +30,7 @@ CPP=cl.exe
 MTL=midl.exe\r
 RSC=rc.exe\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 1\r
@@ -43,8 +43,8 @@ RSC=rc.exe
 # PROP Intermediate_Dir "..\Debug"\r
 # PROP Ignore_Export_Lib 0\r
 # PROP Target_Dir ""\r
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PHP5DLLTS_EXPORTS" /YX /FD /GZ /c\r
-# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I ".." /I "..\main" /I "..\regex" /I "..\..\bindlib_w32" /I "..\Zend" /I "..\TSRM" /D "_DEBUG" /D "_WINDOWS" /D "_USRDLL" /D "PHP5DLLTS_EXPORTS" /D "PHP_EXPORTS" /D "LIBZEND_EXPORTS" /D "SAPI_EXPORTS" /D "TSRM_EXPORTS" /D "MSVC5" /D "PHP_WIN32" /D ZEND_DEBUG=1 /D "ZEND_WIN32" /D "WIN32" /D "_MBCS" /FR /YX /FD /GZ /c\r
+# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PHP7DLLTS_EXPORTS" /YX /FD /GZ /c\r
+# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I ".." /I "..\main" /I "..\regex" /I "..\..\bindlib_w32" /I "..\Zend" /I "..\TSRM" /D "_DEBUG" /D "_WINDOWS" /D "_USRDLL" /D "PHP7DLLTS_EXPORTS" /D "PHP_EXPORTS" /D "LIBZEND_EXPORTS" /D "SAPI_EXPORTS" /D "TSRM_EXPORTS" /D "MSVC5" /D "PHP_WIN32" /D ZEND_DEBUG=1 /D "ZEND_WIN32" /D "WIN32" /D "_MBCS" /FR /YX /FD /GZ /c\r
 # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32\r
 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32\r
 # ADD BASE RSC /l 0x40d /d "_DEBUG"\r
@@ -54,9 +54,9 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib Zend.lib resolv.lib TSRM.lib /nologo /dll /debug /machine:I386 /nodefaultlib:"libcmt" /nodefaultlib:"libc" /nodefaultlib:"libcmtd" /out:"c:\php-fcgi\php5nts_debug.dll" /pdbtype:sept /libpath:"..\TSRM\Debug" /libpath:"..\Zend\Debug" /libpath:"..\..\bindlib_w32\Debug"\r
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib Zend.lib resolv.lib TSRM.lib /nologo /dll /debug /machine:I386 /nodefaultlib:"libcmt" /nodefaultlib:"libc" /nodefaultlib:"libcmtd" /out:"c:\php-fcgi\php7nts_debug.dll" /pdbtype:sept /libpath:"..\TSRM\Debug" /libpath:"..\Zend\Debug" /libpath:"..\..\bindlib_w32\Debug"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 0\r
@@ -69,8 +69,8 @@ LINK32=link.exe
 # PROP Intermediate_Dir "..\Release"\r
 # PROP Ignore_Export_Lib 0\r
 # PROP Target_Dir ""\r
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PHP5DLLTS_EXPORTS" /YX /FD /c\r
-# ADD CPP /nologo /MD /W3 /GX /O2 /I ".." /I "..\main" /I "..\Zend" /I "..\regex" /I "..\..\bindlib_w32" /I "..\TSRM" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "PHP5DLL_EXPORTS" /D "PHP_EXPORTS" /D "SAPI_EXPORTS" /D "LIBZEND_EXPORTS" /D ZEND_DEBUG=0 /D "MSVC5" /D "WIN32" /D "_MBCS" /D "ZEND_WIN32" /D "PHP_WIN32" /YX /FD /c\r
+# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PHP7DLLTS_EXPORTS" /YX /FD /c\r
+# ADD CPP /nologo /MD /W3 /GX /O2 /I ".." /I "..\main" /I "..\Zend" /I "..\regex" /I "..\..\bindlib_w32" /I "..\TSRM" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "PHP7DLL_EXPORTS" /D "PHP_EXPORTS" /D "SAPI_EXPORTS" /D "LIBZEND_EXPORTS" /D ZEND_DEBUG=0 /D "MSVC5" /D "WIN32" /D "_MBCS" /D "ZEND_WIN32" /D "PHP_WIN32" /YX /FD /c\r
 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD BASE RSC /l 0x40d /d "NDEBUG"\r
@@ -80,14 +80,14 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib Zend.lib resolv.lib tsrm.lib /nologo /dll /machine:I386 /nodefaultlib:"libc.lib" /out:"..\Release\php5nts.dll" /libpath:"..\Zend\Release" /libpath:"..\TSRM\Release_TS" /libpath:"..\..\bindlib_w32\Release"\r
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib Zend.lib resolv.lib tsrm.lib /nologo /dll /machine:I386 /nodefaultlib:"libc.lib" /out:"..\Release\php7nts.dll" /libpath:"..\Zend\Release" /libpath:"..\TSRM\Release_TS" /libpath:"..\..\bindlib_w32\Release"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 0\r
-# PROP BASE Output_Dir "php5dll___Win32_Release_inline"\r
-# PROP BASE Intermediate_Dir "php5dll___Win32_Release_inline"\r
+# PROP BASE Output_Dir "php7dll___Win32_Release_inline"\r
+# PROP BASE Intermediate_Dir "php7dll___Win32_Release_inline"\r
 # PROP BASE Ignore_Export_Lib 0\r
 # PROP BASE Target_Dir ""\r
 # PROP Use_MFC 0\r
@@ -96,8 +96,8 @@ LINK32=link.exe
 # PROP Intermediate_Dir "..\Release_inline"\r
 # PROP Ignore_Export_Lib 0\r
 # PROP Target_Dir ""\r
-# ADD BASE CPP /nologo /MD /W3 /GX /O2 /I "Zend" /I "." /I "regex" /I "..\bindlib_w32" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "PHP5DLLTS_EXPORTS" /D "MSVC5" /D "PHP_EXPORTS" /D "LIBZEND_EXPORTS" /D "SAPI_EXPORTS" /D ZEND_DEBUG=0 /D "TSRM_EXPORTS" /D "WIN32" /D "_MBCS" /YX /FD /c\r
-# ADD CPP /nologo /MD /W3 /GX /O2 /I ".." /I "..\main" /I "..\regex" /I "..\..\bindlib_w32" /I "..\Zend" /I "..\TSRM" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "PHP5DLLTS_EXPORTS" /D "PHP_EXPORTS" /D "LIBZEND_EXPORTS" /D "SAPI_EXPORTS" /D "TSRM_EXPORTS" /D ZEND_DEBUG=0 /D "ZEND_WIN32_FORCE_INLINE" /D "MSVC5" /D "WIN32" /D "_MBCS" /D "ZEND_WIN32" /D "PHP_WIN32" /YX /FD /c\r
+# ADD BASE CPP /nologo /MD /W3 /GX /O2 /I "Zend" /I "." /I "regex" /I "..\bindlib_w32" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "PHP7DLLTS_EXPORTS" /D "MSVC5" /D "PHP_EXPORTS" /D "LIBZEND_EXPORTS" /D "SAPI_EXPORTS" /D ZEND_DEBUG=0 /D "TSRM_EXPORTS" /D "WIN32" /D "_MBCS" /YX /FD /c\r
+# ADD CPP /nologo /MD /W3 /GX /O2 /I ".." /I "..\main" /I "..\regex" /I "..\..\bindlib_w32" /I "..\Zend" /I "..\TSRM" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "PHP7DLLTS_EXPORTS" /D "PHP_EXPORTS" /D "LIBZEND_EXPORTS" /D "SAPI_EXPORTS" /D "TSRM_EXPORTS" /D ZEND_DEBUG=0 /D "ZEND_WIN32_FORCE_INLINE" /D "MSVC5" /D "WIN32" /D "_MBCS" /D "ZEND_WIN32" /D "PHP_WIN32" /YX /FD /c\r
 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD BASE RSC /l 0x40d /d "NDEBUG"\r
@@ -106,16 +106,16 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib Zend.lib resolv.lib /nologo /dll /machine:I386 /nodefaultlib:"libc.lib" /out:"Release/php5nts.dll" /libpath:"TSRM\Release" /libpath:"Zend\Release" /libpath:"..\bindlib_w32\Release"\r
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib Zend.lib tsrm.lib resolv.lib /nologo /dll /machine:I386 /nodefaultlib:"libc.lib" /out:"..\Release\php5nts.dll" /libpath:"..\Zend\Release_inline" /libpath:"..\TSRM\Release_TS_inline" /libpath:"..\..\bindlib_w32\Release"\r
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib Zend.lib resolv.lib /nologo /dll /machine:I386 /nodefaultlib:"libc.lib" /out:"Release/php7nts.dll" /libpath:"TSRM\Release" /libpath:"Zend\Release" /libpath:"..\bindlib_w32\Release"\r
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib Zend.lib tsrm.lib resolv.lib /nologo /dll /machine:I386 /nodefaultlib:"libc.lib" /out:"..\Release\php7nts.dll" /libpath:"..\Zend\Release_inline" /libpath:"..\TSRM\Release_TS_inline" /libpath:"..\..\bindlib_w32\Release"\r
 \r
 !ENDIF \r
 \r
 # Begin Target\r
 \r
-# Name "php5dll - Win32 Debug"\r
-# Name "php5dll - Win32 Release"\r
-# Name "php5dll - Win32 Release_inline"\r
+# Name "php7dll - Win32 Debug"\r
+# Name "php7dll - Win32 Release"\r
+# Name "php7dll - Win32 Release_inline"\r
 # Begin Group "Core"\r
 \r
 # PROP Default_Filter ""\r
@@ -498,13 +498,13 @@ SOURCE=..\ext\odbc\php_odbc.c
 \r
 SOURCE=..\ext\pcre\php_pcre.c\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
 # ADD CPP /D "STATIC"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 !ENDIF \r
 \r
@@ -746,13 +746,13 @@ SOURCE=..\regex\regfree.c
 \r
 SOURCE=..\ext\pcre\pcrelib\chartables.c\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
 # ADD CPP /D "STATIC"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 !ENDIF \r
 \r
@@ -761,13 +761,13 @@ SOURCE=..\ext\pcre\pcrelib\chartables.c
 \r
 SOURCE=..\ext\pcre\pcrelib\get.c\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
 # ADD CPP /D "STATIC"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 !ENDIF \r
 \r
@@ -776,13 +776,13 @@ SOURCE=..\ext\pcre\pcrelib\get.c
 \r
 SOURCE=..\ext\pcre\pcrelib\maketables.c\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
 # ADD CPP /D "STATIC"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 !ENDIF \r
 \r
@@ -791,13 +791,13 @@ SOURCE=..\ext\pcre\pcrelib\maketables.c
 \r
 SOURCE=..\ext\pcre\pcrelib\pcre.c\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
 # ADD CPP /D "STATIC"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 !ENDIF \r
 \r
@@ -806,13 +806,13 @@ SOURCE=..\ext\pcre\pcrelib\pcre.c
 \r
 SOURCE=..\ext\pcre\pcrelib\study.c\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
 # ADD CPP /D "STATIC"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 !ENDIF \r
 \r
@@ -962,17 +962,17 @@ SOURCE=..\ext\calendar\sdncal.h
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\add.c\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 # PROP Intermediate_Dir "..\Release_inline_bcmath"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
@@ -984,17 +984,17 @@ SOURCE=..\ext\bcmath\libbcmath\src\add.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\compare.c\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 # PROP Intermediate_Dir "..\Release_inline_bcmath"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
@@ -1006,17 +1006,17 @@ SOURCE=..\ext\bcmath\libbcmath\src\compare.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\debug.c\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 # PROP Intermediate_Dir "..\Release_inline_bcmath"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
@@ -1028,17 +1028,17 @@ SOURCE=..\ext\bcmath\libbcmath\src\debug.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\div.c\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 # PROP Intermediate_Dir "..\Release_inline_bcmath"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
@@ -1050,17 +1050,17 @@ SOURCE=..\ext\bcmath\libbcmath\src\div.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\divmod.c\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 # PROP Intermediate_Dir "..\Release_inline_bcmath"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
@@ -1072,17 +1072,17 @@ SOURCE=..\ext\bcmath\libbcmath\src\divmod.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\doaddsub.c\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 # PROP Intermediate_Dir "..\Release_inline_bcmath"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
@@ -1094,17 +1094,17 @@ SOURCE=..\ext\bcmath\libbcmath\src\doaddsub.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\init.c\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 # PROP Intermediate_Dir "..\Release_inline_bcmath"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
@@ -1116,17 +1116,17 @@ SOURCE=..\ext\bcmath\libbcmath\src\init.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\int2num.c\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 # PROP Intermediate_Dir "..\Release_inline_bcmath"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
@@ -1138,17 +1138,17 @@ SOURCE=..\ext\bcmath\libbcmath\src\int2num.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\nearzero.c\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 # PROP Intermediate_Dir "..\Release_inline_bcmath"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
@@ -1160,17 +1160,17 @@ SOURCE=..\ext\bcmath\libbcmath\src\nearzero.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\neg.c\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 # PROP Intermediate_Dir "..\Release_inline_bcmath"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
@@ -1182,17 +1182,17 @@ SOURCE=..\ext\bcmath\libbcmath\src\neg.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\num2long.c\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 # PROP Intermediate_Dir "..\Release_inline_bcmath"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
@@ -1204,17 +1204,17 @@ SOURCE=..\ext\bcmath\libbcmath\src\num2long.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\num2str.c\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 # PROP Intermediate_Dir "..\Release_inline_bcmath"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
@@ -1226,17 +1226,17 @@ SOURCE=..\ext\bcmath\libbcmath\src\num2str.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\outofmem.c\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 # PROP Intermediate_Dir "..\Release_inline_bcmath"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
@@ -1248,17 +1248,17 @@ SOURCE=..\ext\bcmath\libbcmath\src\outofmem.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\output.c\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 # PROP Intermediate_Dir "..\Release_inline_bcmath"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
@@ -1270,17 +1270,17 @@ SOURCE=..\ext\bcmath\libbcmath\src\output.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\raise.c\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 # PROP Intermediate_Dir "..\Release_inline_bcmath"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
@@ -1292,17 +1292,17 @@ SOURCE=..\ext\bcmath\libbcmath\src\raise.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\raisemod.c\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 # PROP Intermediate_Dir "..\Release_inline_bcmath"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
@@ -1314,17 +1314,17 @@ SOURCE=..\ext\bcmath\libbcmath\src\raisemod.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\recmul.c\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 # PROP Intermediate_Dir "..\Release_inline_bcmath"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
@@ -1336,17 +1336,17 @@ SOURCE=..\ext\bcmath\libbcmath\src\recmul.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\rmzero.c\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 # PROP Intermediate_Dir "..\Release_inline_bcmath"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
@@ -1358,17 +1358,17 @@ SOURCE=..\ext\bcmath\libbcmath\src\rmzero.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\rt.c\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 # PROP Intermediate_Dir "..\Release_inline_bcmath"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
@@ -1380,17 +1380,17 @@ SOURCE=..\ext\bcmath\libbcmath\src\rt.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\sqrt.c\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 # PROP Intermediate_Dir "..\Release_inline_bcmath"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
@@ -1402,17 +1402,17 @@ SOURCE=..\ext\bcmath\libbcmath\src\sqrt.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\str2num.c\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 # PROP Intermediate_Dir "..\Release_inline_bcmath"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
@@ -1424,17 +1424,17 @@ SOURCE=..\ext\bcmath\libbcmath\src\str2num.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\sub.c\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 # PROP Intermediate_Dir "..\Release_inline_bcmath"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
@@ -1446,17 +1446,17 @@ SOURCE=..\ext\bcmath\libbcmath\src\sub.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\zero.c\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 # PROP Intermediate_Dir "..\Release_inline_bcmath"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
@@ -1472,11 +1472,11 @@ SOURCE=..\ext\bcmath\libbcmath\src\zero.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\bcmath.h\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 # PROP Intermediate_Dir "..\Release_inline_bcmath"\r
 \r
@@ -1487,11 +1487,11 @@ SOURCE=..\ext\bcmath\libbcmath\src\bcmath.h
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\config.h\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 # PROP Intermediate_Dir "..\Release_inline_bcmath"\r
 \r
@@ -1502,11 +1502,11 @@ SOURCE=..\ext\bcmath\libbcmath\src\config.h
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\private.h\r
 \r
-!IF  "$(CFG)" == "php5dll - Win32 Debug"\r
+!IF  "$(CFG)" == "php7dll - Win32 Debug"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dll - Win32 Release_inline"\r
+!ELSEIF  "$(CFG)" == "php7dll - Win32 Release_inline"\r
 \r
 # PROP Intermediate_Dir "..\Release_inline_bcmath"\r
 \r
similarity index 84%
rename from win32/php5dllts.dsp
rename to win32/php7dllts.dsp
index 3755ea79f9696c5426e8c0067ddf648d81e4b3a7..423ff6ff9f62f9f19a1b844992d5c5f942adc258 100644 (file)
@@ -1,26 +1,26 @@
-# Microsoft Developer Studio Project File - Name="php5dllts" - Package Owner=<4>\r
+# Microsoft Developer Studio Project File - Name="php7dllts" - Package Owner=<4>\r
 # Microsoft Developer Studio Generated Build File, Format Version 6.00\r
 # ** DO NOT EDIT **\r
 \r
 # TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102\r
 \r
-CFG=php5dllts - Win32 Debug_TS\r
+CFG=php7dllts - Win32 Debug_TS\r
 !MESSAGE This is not a valid makefile. To build this project using NMAKE,\r
 !MESSAGE use the Export Makefile command and run\r
 !MESSAGE \r
-!MESSAGE NMAKE /f "php5dllts.mak".\r
+!MESSAGE NMAKE /f "php7dllts.mak".\r
 !MESSAGE \r
 !MESSAGE You can specify a configuration when running NMAKE\r
 !MESSAGE by defining the macro CFG on the command line. For example:\r
 !MESSAGE \r
-!MESSAGE NMAKE /f "php5dllts.mak" CFG="php5dllts - Win32 Debug_TS"\r
+!MESSAGE NMAKE /f "php7dllts.mak" CFG="php7dllts - Win32 Debug_TS"\r
 !MESSAGE \r
 !MESSAGE Possible choices for configuration are:\r
 !MESSAGE \r
-!MESSAGE "php5dllts - Win32 Debug_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
-!MESSAGE "php5dllts - Win32 Release_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
-!MESSAGE "php5dllts - Win32 Release_TS_inline" (based on "Win32 (x86) Dynamic-Link Library")\r
-!MESSAGE "php5dllts - Win32 Release_TSDbg" (based on "Win32 (x86) Dynamic-Link Library")\r
+!MESSAGE "php7dllts - Win32 Debug_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
+!MESSAGE "php7dllts - Win32 Release_TS" (based on "Win32 (x86) Dynamic-Link Library")\r
+!MESSAGE "php7dllts - Win32 Release_TS_inline" (based on "Win32 (x86) Dynamic-Link Library")\r
+!MESSAGE "php7dllts - Win32 Release_TSDbg" (based on "Win32 (x86) Dynamic-Link Library")\r
 !MESSAGE \r
 \r
 # Begin Project\r
@@ -31,7 +31,7 @@ CPP=cl.exe
 MTL=midl.exe\r
 RSC=rc.exe\r
 \r
-!IF  "$(CFG)" == "php5dllts - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7dllts - Win32 Debug_TS"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 1\r
@@ -44,8 +44,8 @@ RSC=rc.exe
 # PROP Intermediate_Dir "Debug_TS"\r
 # PROP Ignore_Export_Lib 0\r
 # PROP Target_Dir ""\r
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PHP5DLLTS_EXPORTS" /YX /FD /GZ /c\r
-# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I ".." /I "..\main" /I "..\regex" /I "..\..\bindlib_w32" /I "..\..\zlib" /I "..\Zend" /I "..\TSRM" /I "..\..\libxml\include" /I "..\ext\sqlite\libsqlite\src" /D "_DEBUG" /D ZEND_DEBUG=1 /D "_WINDOWS" /D "_USRDLL" /D "PHP5DLLTS_EXPORTS" /D "PHP_EXPORTS" /D "LIBZEND_EXPORTS" /D "TSRM_EXPORTS" /D "SAPI_EXPORTS" /D "MSVC5" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "WIN32" /D "_MBCS" /D "LIBXML_THREAD_ENABLED" /D "LIBXML_STATIC" /FR /YX /FD /GZ /c\r
+# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PHP7DLLTS_EXPORTS" /YX /FD /GZ /c\r
+# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I ".." /I "..\main" /I "..\regex" /I "..\..\bindlib_w32" /I "..\..\zlib" /I "..\Zend" /I "..\TSRM" /I "..\..\libxml\include" /I "..\ext\sqlite\libsqlite\src" /D "_DEBUG" /D ZEND_DEBUG=1 /D "_WINDOWS" /D "_USRDLL" /D "PHP7DLLTS_EXPORTS" /D "PHP_EXPORTS" /D "LIBZEND_EXPORTS" /D "TSRM_EXPORTS" /D "SAPI_EXPORTS" /D "MSVC5" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "WIN32" /D "_MBCS" /D "LIBXML_THREAD_ENABLED" /D "LIBXML_STATIC" /FR /YX /FD /GZ /c\r
 # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32\r
 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32\r
 # ADD BASE RSC /l 0x40d /d "_DEBUG"\r
@@ -55,9 +55,9 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib ws2_32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ZendTS.lib TSRM.lib resolv.lib zlib.lib libxml2_a.lib Urlmon.lib libsqlite.lib iconv_a.lib /nologo /version:4.0 /dll /debug /machine:I386 /nodefaultlib:"libcmt" /nodefaultlib:"msvcrt" /out:"..\Debug_TS\php5ts_debug.dll" /pdbtype:sept /libpath:"..\TSRM\Debug_TS" /libpath:"..\Zend\Debug_TS" /libpath:"..\..\bindlib_w32\Debug" /libpath:"Debug_TS" /libpath:"..\..\zlib\Debug" /libpath:"..\..\libxml\lib\Debug" /libpath:"..\ext\sqlite\Debug_TS" /libpath:"..\..\libiconv\lib"\r
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib ws2_32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ZendTS.lib TSRM.lib resolv.lib zlib.lib libxml2_a.lib Urlmon.lib libsqlite.lib iconv_a.lib /nologo /version:4.0 /dll /debug /machine:I386 /nodefaultlib:"libcmt" /nodefaultlib:"msvcrt" /out:"..\Debug_TS\php7ts_debug.dll" /pdbtype:sept /libpath:"..\TSRM\Debug_TS" /libpath:"..\Zend\Debug_TS" /libpath:"..\..\bindlib_w32\Debug" /libpath:"Debug_TS" /libpath:"..\..\zlib\Debug" /libpath:"..\..\libxml\lib\Debug" /libpath:"..\ext\sqlite\Debug_TS" /libpath:"..\..\libiconv\lib"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 0\r
@@ -70,8 +70,8 @@ LINK32=link.exe
 # PROP Intermediate_Dir "Release_TS"\r
 # PROP Ignore_Export_Lib 0\r
 # PROP Target_Dir ""\r
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PHP5DLLTS_EXPORTS" /YX /FD /c\r
-# ADD CPP /nologo /MD /W3 /GX /O2 /I ".." /I "..\main" /I "..\regex" /I "..\..\bindlib_w32" /I "..\..\zlib" /I "..\Zend" /I "..\TSRM" /I "..\..\libxml\include" /I "..\ext\sqlite\libsqlite\src" /D "NDEBUG" /D ZEND_DEBUG=0 /D "_WINDOWS" /D "_USRDLL" /D "PHP5DLLTS_EXPORTS" /D "PHP_EXPORTS" /D "LIBZEND_EXPORTS" /D "TSRM_EXPORTS" /D "SAPI_EXPORTS" /D "MSVC5" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "WIN32" /D "_MBCS" /D "LIBXML_STATIC" /FR /YX /FD /c\r
+# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PHP7DLLTS_EXPORTS" /YX /FD /c\r
+# ADD CPP /nologo /MD /W3 /GX /O2 /I ".." /I "..\main" /I "..\regex" /I "..\..\bindlib_w32" /I "..\..\zlib" /I "..\Zend" /I "..\TSRM" /I "..\..\libxml\include" /I "..\ext\sqlite\libsqlite\src" /D "NDEBUG" /D ZEND_DEBUG=0 /D "_WINDOWS" /D "_USRDLL" /D "PHP7DLLTS_EXPORTS" /D "PHP_EXPORTS" /D "LIBZEND_EXPORTS" /D "TSRM_EXPORTS" /D "SAPI_EXPORTS" /D "MSVC5" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "WIN32" /D "_MBCS" /D "LIBXML_STATIC" /FR /YX /FD /c\r
 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD BASE RSC /l 0x40d /d "NDEBUG"\r
@@ -81,14 +81,14 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib ws2_32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ZendTS.lib TSRM.lib resolv.lib zlib.lib libxml2_a.lib Urlmon.lib libsqlite.lib iconv_a.lib /nologo /version:4.0 /dll /machine:I386 /nodefaultlib:"libcmt" /out:"..\Release_TS\php5ts.dll" /libpath:"..\TSRM\Release_TS" /libpath:"..\Zend\Release_TS" /libpath:"Release_TS" /libpath:"..\ext\sqlite\Release_TS" /libpath:"..\..\bindlib_w32\Release" /libpath:"..\..\zlib\Release" /libpath:"..\..\libxml\lib\Release" /libpath:"..\..\libiconv\lib"\r
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib ws2_32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ZendTS.lib TSRM.lib resolv.lib zlib.lib libxml2_a.lib Urlmon.lib libsqlite.lib iconv_a.lib /nologo /version:4.0 /dll /machine:I386 /nodefaultlib:"libcmt" /out:"..\Release_TS\php7ts.dll" /libpath:"..\TSRM\Release_TS" /libpath:"..\Zend\Release_TS" /libpath:"Release_TS" /libpath:"..\ext\sqlite\Release_TS" /libpath:"..\..\bindlib_w32\Release" /libpath:"..\..\zlib\Release" /libpath:"..\..\libxml\lib\Release" /libpath:"..\..\libiconv\lib"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS_inline"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 0\r
-# PROP BASE Output_Dir "php5dllts___Win32_Release_TS_inline"\r
-# PROP BASE Intermediate_Dir "php5dllts___Win32_Release_TS_inline"\r
+# PROP BASE Output_Dir "php7dllts___Win32_Release_TS_inline"\r
+# PROP BASE Intermediate_Dir "php7dllts___Win32_Release_TS_inline"\r
 # PROP BASE Ignore_Export_Lib 0\r
 # PROP BASE Target_Dir ""\r
 # PROP Use_MFC 0\r
@@ -97,8 +97,8 @@ LINK32=link.exe
 # PROP Intermediate_Dir "Release_TS_inline"\r
 # PROP Ignore_Export_Lib 0\r
 # PROP Target_Dir ""\r
-# ADD BASE CPP /nologo /MD /W3 /GX /O2 /I "." /I "regex" /I "..\bindlib_w32" /I "Zend" /I "tsrm" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "PHP5DLLTS_EXPORTS" /D "MSVC5" /D "PHP_EXPORTS" /D "LIBZEND_EXPORTS" /D "TSRM_EXPORTS" /D "SAPI_EXPORTS" /D "ZTS" /D "WIN32" /D "_MBCS" /D ZEND_DEBUG=0 /FR /YX /FD /c\r
-# ADD CPP /nologo /MD /W3 /GX /O2 /I ".." /I "..\main" /I "..\regex" /I "..\..\bindlib_w32" /I "..\..\zlib" /I "..\Zend" /I "..\TSRM" /I "..\..\libxml\include" /I "..\ext\sqlite\libsqlite\src" /D "NDEBUG" /D ZEND_DEBUG=0 /D "ZEND_WIN32_FORCE_INLINE" /D "_WINDOWS" /D "_USRDLL" /D "PHP5DLLTS_EXPORTS" /D "PHP_EXPORTS" /D "LIBZEND_EXPORTS" /D "TSRM_EXPORTS" /D "SAPI_EXPORTS" /D "MSVC5" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "WIN32" /D "_MBCS" /D "LIBXML_THREAD_ENABLED" /D "LIBXML_STATIC" /FR /YX /FD /c\r
+# ADD BASE CPP /nologo /MD /W3 /GX /O2 /I "." /I "regex" /I "..\bindlib_w32" /I "Zend" /I "tsrm" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "PHP7DLLTS_EXPORTS" /D "MSVC5" /D "PHP_EXPORTS" /D "LIBZEND_EXPORTS" /D "TSRM_EXPORTS" /D "SAPI_EXPORTS" /D "ZTS" /D "WIN32" /D "_MBCS" /D ZEND_DEBUG=0 /FR /YX /FD /c\r
+# ADD CPP /nologo /MD /W3 /GX /O2 /I ".." /I "..\main" /I "..\regex" /I "..\..\bindlib_w32" /I "..\..\zlib" /I "..\Zend" /I "..\TSRM" /I "..\..\libxml\include" /I "..\ext\sqlite\libsqlite\src" /D "NDEBUG" /D ZEND_DEBUG=0 /D "ZEND_WIN32_FORCE_INLINE" /D "_WINDOWS" /D "_USRDLL" /D "PHP7DLLTS_EXPORTS" /D "PHP_EXPORTS" /D "LIBZEND_EXPORTS" /D "TSRM_EXPORTS" /D "SAPI_EXPORTS" /D "MSVC5" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "WIN32" /D "_MBCS" /D "LIBXML_THREAD_ENABLED" /D "LIBXML_STATIC" /FR /YX /FD /c\r
 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD BASE RSC /l 0x40d /d "NDEBUG"\r
@@ -107,15 +107,15 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ZendTS.lib TSRM.lib resolv.lib /nologo /dll /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libcmt.lib" /out:"Release_TS/php5ts.dll" /libpath:"TSRM\Release_TS" /libpath:"Zend\Release_TS" /libpath:"..\bindlib_w32\Release"\r
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib ws2_32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ZendTS.lib TSRM.lib resolv.lib zlib.lib libxml2_a.lib Urlmon.lib libsqlite.lib iconv_a.lib /nologo /version:4.0 /dll /machine:I386 /nodefaultlib:"libcmt" /out:"..\Release_TS_inline\php5ts.dll" /libpath:"..\TSRM\Release_TS_inline" /libpath:"..\Zend\Release_TS_inline" /libpath:"Release_TS_Inline" /libpath:"..\..\bindlib_w32\Release" /libpath:"..\..\zlib\Release" /libpath:"..\..\libxml\lib\Release" /libpath:"..\..\libiconv\lib" /libpath:"..\ext\sqlite\Release_TS"\r
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ZendTS.lib TSRM.lib resolv.lib /nologo /dll /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libcmt.lib" /out:"Release_TS/php7ts.dll" /libpath:"TSRM\Release_TS" /libpath:"Zend\Release_TS" /libpath:"..\bindlib_w32\Release"\r
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib ws2_32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ZendTS.lib TSRM.lib resolv.lib zlib.lib libxml2_a.lib Urlmon.lib libsqlite.lib iconv_a.lib /nologo /version:4.0 /dll /machine:I386 /nodefaultlib:"libcmt" /out:"..\Release_TS_inline\php7ts.dll" /libpath:"..\TSRM\Release_TS_inline" /libpath:"..\Zend\Release_TS_inline" /libpath:"Release_TS_Inline" /libpath:"..\..\bindlib_w32\Release" /libpath:"..\..\zlib\Release" /libpath:"..\..\libxml\lib\Release" /libpath:"..\..\libiconv\lib" /libpath:"..\ext\sqlite\Release_TS"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TSDbg"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 0\r
-# PROP BASE Output_Dir "php5dllts___Win32_Release_TSDbg"\r
-# PROP BASE Intermediate_Dir "php5dllts___Win32_Release_TSDbg"\r
+# PROP BASE Output_Dir "php7dllts___Win32_Release_TSDbg"\r
+# PROP BASE Intermediate_Dir "php7dllts___Win32_Release_TSDbg"\r
 # PROP BASE Ignore_Export_Lib 0\r
 # PROP BASE Target_Dir ""\r
 # PROP Use_MFC 0\r
@@ -124,8 +124,8 @@ LINK32=link.exe
 # PROP Intermediate_Dir "Release_TSDbg"\r
 # PROP Ignore_Export_Lib 0\r
 # PROP Target_Dir ""\r
-# ADD BASE CPP /nologo /MD /W3 /GX /O2 /I ".." /I "..\main" /I "..\regex" /I "..\..\bindlib_w32" /I "..\Zend" /I "..\TSRM" /D "NDEBUG" /D ZEND_DEBUG=0 /D "_WINDOWS" /D "_USRDLL" /D "PHP5DLLTS_EXPORTS" /D "PHP_EXPORTS" /D "LIBZEND_EXPORTS" /D "TSRM_EXPORTS" /D "SAPI_EXPORTS" /D "MSVC5" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "WIN32" /D "_MBCS" /FR /YX /FD /c\r
-# ADD CPP /nologo /MD /W3 /GX /Zi /Od /I ".." /I "..\main" /I "..\regex" /I "..\..\bindlib_w32" /I "..\..\zlib" /I "..\Zend" /I "..\TSRM" /I "..\..\libxml\include" /I "..\ext\sqlite\libsqlite\src" /D "NDEBUG" /D ZEND_DEBUG=0 /D "_WINDOWS" /D "_USRDLL" /D "PHP5DLLTS_EXPORTS" /D "PHP_EXPORTS" /D "LIBZEND_EXPORTS" /D "TSRM_EXPORTS" /D "SAPI_EXPORTS" /D "MSVC5" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "WIN32" /D "_MBCS" /D "LIBXML_THREAD_ENABLED" /D "LIBXML_STATIC" /FR /YX /FD /c\r
+# ADD BASE CPP /nologo /MD /W3 /GX /O2 /I ".." /I "..\main" /I "..\regex" /I "..\..\bindlib_w32" /I "..\Zend" /I "..\TSRM" /D "NDEBUG" /D ZEND_DEBUG=0 /D "_WINDOWS" /D "_USRDLL" /D "PHP7DLLTS_EXPORTS" /D "PHP_EXPORTS" /D "LIBZEND_EXPORTS" /D "TSRM_EXPORTS" /D "SAPI_EXPORTS" /D "MSVC5" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "WIN32" /D "_MBCS" /FR /YX /FD /c\r
+# ADD CPP /nologo /MD /W3 /GX /Zi /Od /I ".." /I "..\main" /I "..\regex" /I "..\..\bindlib_w32" /I "..\..\zlib" /I "..\Zend" /I "..\TSRM" /I "..\..\libxml\include" /I "..\ext\sqlite\libsqlite\src" /D "NDEBUG" /D ZEND_DEBUG=0 /D "_WINDOWS" /D "_USRDLL" /D "PHP7DLLTS_EXPORTS" /D "PHP_EXPORTS" /D "LIBZEND_EXPORTS" /D "TSRM_EXPORTS" /D "SAPI_EXPORTS" /D "MSVC5" /D "ZTS" /D "ZEND_WIN32" /D "PHP_WIN32" /D "WIN32" /D "_MBCS" /D "LIBXML_THREAD_ENABLED" /D "LIBXML_STATIC" /FR /YX /FD /c\r
 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
 # ADD BASE RSC /l 0x40d /d "NDEBUG"\r
@@ -134,17 +134,17 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ZendTS.lib TSRM.lib resolv.lib /nologo /version:4.0 /dll /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libcmt.lib" /out:"..\Release_TS\php5ts.dll" /libpath:"..\TSRM\Release_TS" /libpath:"..\Zend\Release_TS" /libpath:"..\..\bindlib_w32\Release" /libpath:"Release_TS"\r
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib ws2_32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ZendTS.lib TSRM.lib resolv.lib zlib.lib libxml2_a.lib Urlmon.lib libsqlite.lib iconv_a.lib /nologo /version:4.0 /dll /debug /machine:I386 /nodefaultlib:"libcmt" /out:"..\Release_TSDbg\php5ts.dll" /libpath:"..\TSRM\Release_TSDbg" /libpath:"..\Zend\Release_TSDbg" /libpath:"Release_TSDbg" /libpath:"..\ext\sqlite\Release_TSDbg" /libpath:"..\..\bindlib_w32\Release" /libpath:"..\..\zlib\Release" /libpath:"..\..\libxml\lib\Release" /libpath:"..\..\libiconv\lib"\r
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib wsock32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ZendTS.lib TSRM.lib resolv.lib /nologo /version:4.0 /dll /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libcmt.lib" /out:"..\Release_TS\php7ts.dll" /libpath:"..\TSRM\Release_TS" /libpath:"..\Zend\Release_TS" /libpath:"..\..\bindlib_w32\Release" /libpath:"Release_TS"\r
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib ws2_32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ZendTS.lib TSRM.lib resolv.lib zlib.lib libxml2_a.lib Urlmon.lib libsqlite.lib iconv_a.lib /nologo /version:4.0 /dll /debug /machine:I386 /nodefaultlib:"libcmt" /out:"..\Release_TSDbg\php7ts.dll" /libpath:"..\TSRM\Release_TSDbg" /libpath:"..\Zend\Release_TSDbg" /libpath:"Release_TSDbg" /libpath:"..\ext\sqlite\Release_TSDbg" /libpath:"..\..\bindlib_w32\Release" /libpath:"..\..\zlib\Release" /libpath:"..\..\libxml\lib\Release" /libpath:"..\..\libiconv\lib"\r
 \r
 !ENDIF \r
 \r
 # Begin Target\r
 \r
-# Name "php5dllts - Win32 Debug_TS"\r
-# Name "php5dllts - Win32 Release_TS"\r
-# Name "php5dllts - Win32 Release_TS_inline"\r
-# Name "php5dllts - Win32 Release_TSDbg"\r
+# Name "php7dllts - Win32 Debug_TS"\r
+# Name "php7dllts - Win32 Release_TS"\r
+# Name "php7dllts - Win32 Release_TS_inline"\r
+# Name "php7dllts - Win32 Release_TSDbg"\r
 # Begin Group "Core"\r
 \r
 # PROP Default_Filter ""\r
@@ -987,22 +987,22 @@ SOURCE=..\ext\iconv\php_iconv.h
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\add.c\r
 \r
-!IF  "$(CFG)" == "php5dllts - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7dllts - Win32 Debug_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS_inline"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS_inline"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TSDbg"\r
 \r
 # PROP BASE Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
@@ -1016,22 +1016,22 @@ SOURCE=..\ext\bcmath\libbcmath\src\add.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\compare.c\r
 \r
-!IF  "$(CFG)" == "php5dllts - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7dllts - Win32 Debug_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS_inline"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS_inline"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TSDbg"\r
 \r
 # PROP BASE Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
@@ -1045,22 +1045,22 @@ SOURCE=..\ext\bcmath\libbcmath\src\compare.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\debug.c\r
 \r
-!IF  "$(CFG)" == "php5dllts - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7dllts - Win32 Debug_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS_inline"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS_inline"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TSDbg"\r
 \r
 # PROP BASE Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
@@ -1074,22 +1074,22 @@ SOURCE=..\ext\bcmath\libbcmath\src\debug.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\div.c\r
 \r
-!IF  "$(CFG)" == "php5dllts - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7dllts - Win32 Debug_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS_inline"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS_inline"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TSDbg"\r
 \r
 # PROP BASE Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
@@ -1103,22 +1103,22 @@ SOURCE=..\ext\bcmath\libbcmath\src\div.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\divmod.c\r
 \r
-!IF  "$(CFG)" == "php5dllts - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7dllts - Win32 Debug_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS_inline"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS_inline"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TSDbg"\r
 \r
 # PROP BASE Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
@@ -1132,22 +1132,22 @@ SOURCE=..\ext\bcmath\libbcmath\src\divmod.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\doaddsub.c\r
 \r
-!IF  "$(CFG)" == "php5dllts - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7dllts - Win32 Debug_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS_inline"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS_inline"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TSDbg"\r
 \r
 # PROP BASE Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
@@ -1161,22 +1161,22 @@ SOURCE=..\ext\bcmath\libbcmath\src\doaddsub.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\init.c\r
 \r
-!IF  "$(CFG)" == "php5dllts - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7dllts - Win32 Debug_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS_inline"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS_inline"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TSDbg"\r
 \r
 # PROP BASE Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
@@ -1190,22 +1190,22 @@ SOURCE=..\ext\bcmath\libbcmath\src\init.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\int2num.c\r
 \r
-!IF  "$(CFG)" == "php5dllts - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7dllts - Win32 Debug_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS_inline"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS_inline"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TSDbg"\r
 \r
 # PROP BASE Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
@@ -1219,22 +1219,22 @@ SOURCE=..\ext\bcmath\libbcmath\src\int2num.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\nearzero.c\r
 \r
-!IF  "$(CFG)" == "php5dllts - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7dllts - Win32 Debug_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS_inline"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS_inline"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TSDbg"\r
 \r
 # PROP BASE Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
@@ -1248,22 +1248,22 @@ SOURCE=..\ext\bcmath\libbcmath\src\nearzero.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\neg.c\r
 \r
-!IF  "$(CFG)" == "php5dllts - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7dllts - Win32 Debug_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS_inline"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS_inline"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TSDbg"\r
 \r
 # PROP BASE Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
@@ -1277,22 +1277,22 @@ SOURCE=..\ext\bcmath\libbcmath\src\neg.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\num2long.c\r
 \r
-!IF  "$(CFG)" == "php5dllts - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7dllts - Win32 Debug_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS_inline"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS_inline"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TSDbg"\r
 \r
 # PROP BASE Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
@@ -1306,22 +1306,22 @@ SOURCE=..\ext\bcmath\libbcmath\src\num2long.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\num2str.c\r
 \r
-!IF  "$(CFG)" == "php5dllts - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7dllts - Win32 Debug_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS_inline"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS_inline"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TSDbg"\r
 \r
 # PROP BASE Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
@@ -1335,22 +1335,22 @@ SOURCE=..\ext\bcmath\libbcmath\src\num2str.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\outofmem.c\r
 \r
-!IF  "$(CFG)" == "php5dllts - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7dllts - Win32 Debug_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS_inline"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS_inline"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TSDbg"\r
 \r
 # PROP BASE Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
@@ -1364,22 +1364,22 @@ SOURCE=..\ext\bcmath\libbcmath\src\outofmem.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\output.c\r
 \r
-!IF  "$(CFG)" == "php5dllts - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7dllts - Win32 Debug_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS_inline"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS_inline"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TSDbg"\r
 \r
 # PROP BASE Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
@@ -1393,22 +1393,22 @@ SOURCE=..\ext\bcmath\libbcmath\src\output.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\raise.c\r
 \r
-!IF  "$(CFG)" == "php5dllts - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7dllts - Win32 Debug_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS_inline"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS_inline"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TSDbg"\r
 \r
 # PROP BASE Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
@@ -1422,22 +1422,22 @@ SOURCE=..\ext\bcmath\libbcmath\src\raise.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\raisemod.c\r
 \r
-!IF  "$(CFG)" == "php5dllts - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7dllts - Win32 Debug_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS_inline"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS_inline"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TSDbg"\r
 \r
 # PROP BASE Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
@@ -1451,22 +1451,22 @@ SOURCE=..\ext\bcmath\libbcmath\src\raisemod.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\recmul.c\r
 \r
-!IF  "$(CFG)" == "php5dllts - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7dllts - Win32 Debug_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS_inline"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS_inline"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TSDbg"\r
 \r
 # PROP BASE Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
@@ -1480,22 +1480,22 @@ SOURCE=..\ext\bcmath\libbcmath\src\recmul.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\rmzero.c\r
 \r
-!IF  "$(CFG)" == "php5dllts - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7dllts - Win32 Debug_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS_inline"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS_inline"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TSDbg"\r
 \r
 # PROP BASE Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
@@ -1509,22 +1509,22 @@ SOURCE=..\ext\bcmath\libbcmath\src\rmzero.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\rt.c\r
 \r
-!IF  "$(CFG)" == "php5dllts - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7dllts - Win32 Debug_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS_inline"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS_inline"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TSDbg"\r
 \r
 # PROP BASE Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
@@ -1538,22 +1538,22 @@ SOURCE=..\ext\bcmath\libbcmath\src\rt.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\sqrt.c\r
 \r
-!IF  "$(CFG)" == "php5dllts - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7dllts - Win32 Debug_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS_inline"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS_inline"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TSDbg"\r
 \r
 # PROP BASE Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
@@ -1567,22 +1567,22 @@ SOURCE=..\ext\bcmath\libbcmath\src\sqrt.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\str2num.c\r
 \r
-!IF  "$(CFG)" == "php5dllts - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7dllts - Win32 Debug_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS_inline"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS_inline"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TSDbg"\r
 \r
 # PROP BASE Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
@@ -1596,22 +1596,22 @@ SOURCE=..\ext\bcmath\libbcmath\src\str2num.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\sub.c\r
 \r
-!IF  "$(CFG)" == "php5dllts - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7dllts - Win32 Debug_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS_inline"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS_inline"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TSDbg"\r
 \r
 # PROP BASE Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
@@ -1625,22 +1625,22 @@ SOURCE=..\ext\bcmath\libbcmath\src\sub.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\zero.c\r
 \r
-!IF  "$(CFG)" == "php5dllts - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7dllts - Win32 Debug_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS_inline"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS_inline"\r
 # ADD CPP /I "..\ext\bcmath\libbcmath\src"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TSDbg"\r
 \r
 # PROP BASE Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
@@ -1658,19 +1658,19 @@ SOURCE=..\ext\bcmath\libbcmath\src\zero.c
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\bcmath.h\r
 \r
-!IF  "$(CFG)" == "php5dllts - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7dllts - Win32 Debug_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug_TS"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS_inline"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS_inline"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TSDbg"\r
 \r
 # PROP BASE Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
@@ -1682,19 +1682,19 @@ SOURCE=..\ext\bcmath\libbcmath\src\bcmath.h
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\config.h\r
 \r
-!IF  "$(CFG)" == "php5dllts - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7dllts - Win32 Debug_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug_TS"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS_inline"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS_inline"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TSDbg"\r
 \r
 # PROP BASE Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
@@ -1706,19 +1706,19 @@ SOURCE=..\ext\bcmath\libbcmath\src\config.h
 \r
 SOURCE=..\ext\bcmath\libbcmath\src\private.h\r
 \r
-!IF  "$(CFG)" == "php5dllts - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7dllts - Win32 Debug_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Debug_TS"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS_inline"\r
 \r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS_inline"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TSDbg"\r
 \r
 # PROP BASE Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
 # PROP Intermediate_Dir "ext\bcmath\libbcmath\Release_TS"\r
@@ -2265,7 +2265,7 @@ SOURCE=..\ext\date\lib\timelib.c
 \r
 SOURCE=..\ext\date\lib\timelib_config.h.win32\r
 \r
-!IF  "$(CFG)" == "php5dllts - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7dllts - Win32 Debug_TS"\r
 \r
 # Begin Custom Build\r
 InputDir=\Projects\php-5.2\ext\date\lib\r
@@ -2276,7 +2276,7 @@ InputPath=..\ext\date\lib\timelib_config.h.win32
 \r
 # End Custom Build\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS"\r
 \r
 # Begin Custom Build\r
 InputDir=\Projects\php-5.2\ext\date\lib\r
@@ -2287,7 +2287,7 @@ InputPath=..\ext\date\lib\timelib_config.h.win32
 \r
 # End Custom Build\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS_inline"\r
 \r
 # Begin Custom Build\r
 InputDir=\Projects\php-5.2\ext\date\lib\r
@@ -2298,7 +2298,7 @@ InputPath=..\ext\date\lib\timelib_config.h.win32
 \r
 # End Custom Build\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TSDbg"\r
 \r
 # Begin Custom Build\r
 InputDir=\Projects\php-5.2\ext\date\lib\r
@@ -2401,13 +2401,13 @@ SOURCE=..\win32\wsyslog.c
 \r
 SOURCE=.\build\wsyslog.mc\r
 \r
-!IF  "$(CFG)" == "php5dllts - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7dllts - Win32 Debug_TS"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS_inline"\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TSDbg"\r
 \r
 # Begin Custom Build\r
 InputDir=.\build\r
@@ -2658,17 +2658,17 @@ SOURCE=..\ext\com_dotnet\com_variant.c
 # End Group\r
 # Begin Source File\r
 \r
-SOURCE=.\php5dllts.rc\r
+SOURCE=.\php7dllts.rc\r
 # End Source File\r
 # Begin Source File\r
 \r
-SOURCE=.\php5dllts.rc2\r
+SOURCE=.\php7dllts.rc2\r
 # End Source File\r
 # Begin Source File\r
 \r
 SOURCE=.\phpts.def\r
 \r
-!IF  "$(CFG)" == "php5dllts - Win32 Debug_TS"\r
+!IF  "$(CFG)" == "php7dllts - Win32 Debug_TS"\r
 \r
 USERDEP__PHPTS="..\ext\sqlite\php_sqlite.def"  "..\ext\libxml\php_libxml2.def" \r
 # Begin Custom Build - Generating $(InputPath)\r
@@ -2679,7 +2679,7 @@ InputPath=.\phpts.def
 \r
 # End Custom Build\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS"\r
 \r
 USERDEP__PHPTS="..\ext\sqlite\php_sqlite.def"  "..\ext\libxml\php_libxml2.def" \r
 # Begin Custom Build - Generating $(InputPath)\r
@@ -2690,7 +2690,7 @@ InputPath=.\phpts.def
 \r
 # End Custom Build\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TS_inline"\r
 \r
 USERDEP__PHPTS="..\ext\sqlite\php_sqlite.def"  "..\ext\libxml\php_libxml2.def" \r
 # Begin Custom Build - Generating $(InputPath)\r
@@ -2701,7 +2701,7 @@ InputPath=.\phpts.def
 \r
 # End Custom Build\r
 \r
-!ELSEIF  "$(CFG)" == "php5dllts - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7dllts - Win32 Release_TSDbg"\r
 \r
 USERDEP__PHPTS="..\ext\sqlite\php_sqlite.def"  "..\ext\libxml\php_libxml2.def" \r
 # Begin Custom Build - Generating $(InputPath)\r
similarity index 95%
rename from win32/php5dllts.rc
rename to win32/php7dllts.rc
index 2e01037eee342078bfbceaf7852b41727603dc10..27ec635e2538fa5e125b09622dbd58a125f151c6 100644 (file)
@@ -70,7 +70,7 @@ END
 
 BEGIN
 
-    "#include ""php5dllts.rc2""\r\n"
+    "#include ""php7dllts.rc2""\r\n"
 
     "\0"
 
@@ -114,7 +114,7 @@ END
 
 //
 
-#include "php5dllts.rc2"
+#include "php7dllts.rc2"
 
 
 
similarity index 94%
rename from win32/php5dllts.rc2
rename to win32/php7dllts.rc2
index b05f0af0dcb3f287446ff628c94a353d94974da5..6bcc652a7275a425cba272f51e20920ebae8a96d 100644 (file)
@@ -1,5 +1,5 @@
 //
-// php5dllts.RC2 - resources Microsoft Visual C++ does not edit directly
+// php7dllts.RC2 - resources Microsoft Visual C++ does not edit directly
 //
 
 #ifdef APSTUDIO_INVOKED
@@ -42,7 +42,7 @@ BEGIN
             VALUE "InternalName", "php\0"
             VALUE "LegalCopyright", "Copyright Â© 1997-2007 The PHP Group\0"
             VALUE "LegalTrademarks", "php\0"
-            VALUE "OriginalFilename", "php5ts.dll\0"
+            VALUE "OriginalFilename", "php7ts.dll\0"
             VALUE "PrivateBuild", "\0"
             VALUE "ProductName", "PHP Thread Safe\0"
             VALUE "ProductVersion", STRVER3(PHP_MAJOR_VERSION, PHP_MINOR_VERSION, PHP_RELEASE_VERSION)
similarity index 82%
rename from win32/php5ts.dsp
rename to win32/php7ts.dsp
index 3736815127d1848e3035ba353eca78f3bb21c699..101d500dcdfc6a7daa179a516363f5f4cc904169 100644 (file)
@@ -1,26 +1,26 @@
-# Microsoft Developer Studio Project File - Name="php5ts" - Package Owner=<4>\r
+# Microsoft Developer Studio Project File - Name="php7ts" - Package Owner=<4>\r
 # Microsoft Developer Studio Generated Build File, Format Version 6.00\r
 # ** DO NOT EDIT **\r
 \r
 # TARGTYPE "Win32 (x86) Console Application" 0x0103\r
 \r
-CFG=php5ts - Win32 Debug_TS\r
+CFG=php7ts - Win32 Debug_TS\r
 !MESSAGE This is not a valid makefile. To build this project using NMAKE,\r
 !MESSAGE use the Export Makefile command and run\r
 !MESSAGE \r
-!MESSAGE NMAKE /f "php5ts.mak".\r
+!MESSAGE NMAKE /f "php7ts.mak".\r
 !MESSAGE \r
 !MESSAGE You can specify a configuration when running NMAKE\r
 !MESSAGE by defining the macro CFG on the command line. For example:\r
 !MESSAGE \r
-!MESSAGE NMAKE /f "php5ts.mak" CFG="php5ts - Win32 Debug_TS"\r
+!MESSAGE NMAKE /f "php7ts.mak" CFG="php7ts - Win32 Debug_TS"\r
 !MESSAGE \r
 !MESSAGE Possible choices for configuration are:\r
 !MESSAGE \r
-!MESSAGE "php5ts - Win32 Release_TS" (based on "Win32 (x86) Console Application")\r
-!MESSAGE "php5ts - Win32 Debug_TS" (based on "Win32 (x86) Console Application")\r
-!MESSAGE "php5ts - Win32 Release_TS_inline" (based on "Win32 (x86) Console Application")\r
-!MESSAGE "php5ts - Win32 Release_TSDbg" (based on "Win32 (x86) Console Application")\r
+!MESSAGE "php7ts - Win32 Release_TS" (based on "Win32 (x86) Console Application")\r
+!MESSAGE "php7ts - Win32 Debug_TS" (based on "Win32 (x86) Console Application")\r
+!MESSAGE "php7ts - Win32 Release_TS_inline" (based on "Win32 (x86) Console Application")\r
+!MESSAGE "php7ts - Win32 Release_TSDbg" (based on "Win32 (x86) Console Application")\r
 !MESSAGE \r
 \r
 # Begin Project\r
@@ -30,7 +30,7 @@ CFG=php5ts - Win32 Debug_TS
 CPP=cl.exe\r
 RSC=rc.exe\r
 \r
-!IF  "$(CFG)" == "php5ts - Win32 Release_TS"\r
+!IF  "$(CFG)" == "php7ts - Win32 Release_TS"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 0\r
@@ -53,9 +53,9 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386\r
-# ADD LINK32 php5ts.lib winmm.lib ws2_32.lib netapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /version:4.0 /subsystem:console /machine:I386 /nodefaultlib:"libc.lib" /out:"..\Release_TS\php.exe" /libpath:"..\Release_TS"\r
+# ADD LINK32 php7ts.lib winmm.lib ws2_32.lib netapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /version:4.0 /subsystem:console /machine:I386 /nodefaultlib:"libc.lib" /out:"..\Release_TS\php.exe" /libpath:"..\Release_TS"\r
 \r
-!ELSEIF  "$(CFG)" == "php5ts - Win32 Debug_TS"\r
+!ELSEIF  "$(CFG)" == "php7ts - Win32 Debug_TS"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 1\r
@@ -78,15 +78,15 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 winmm.lib netapi32.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts_debug.lib /nologo /version:4.0 /subsystem:console /debug /machine:I386 /nodefaultlib:"libcd" /nodefaultlib:"libcmt" /out:"..\Debug_TS/php.exe" /pdbtype:sept /libpath:"..\Debug_TS"\r
+# ADD LINK32 winmm.lib netapi32.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts_debug.lib /nologo /version:4.0 /subsystem:console /debug /machine:I386 /nodefaultlib:"libcd" /nodefaultlib:"libcmt" /out:"..\Debug_TS/php.exe" /pdbtype:sept /libpath:"..\Debug_TS"\r
 # SUBTRACT LINK32 /pdb:none\r
 \r
-!ELSEIF  "$(CFG)" == "php5ts - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7ts - Win32 Release_TS_inline"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 0\r
-# PROP BASE Output_Dir "php5ts___Win32_Release_TS_inline"\r
-# PROP BASE Intermediate_Dir "php5ts___Win32_Release_TS_inline"\r
+# PROP BASE Output_Dir "php7ts___Win32_Release_TS_inline"\r
+# PROP BASE Intermediate_Dir "php7ts___Win32_Release_TS_inline"\r
 # PROP BASE Ignore_Export_Lib 0\r
 # PROP BASE Target_Dir ""\r
 # PROP Use_MFC 0\r
@@ -105,15 +105,15 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 php5ts.lib winmm.lib wsock32.lib netapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /version:3.0 /subsystem:console /machine:I386 /nodefaultlib:"libc.lib" /out:"Release_TS\php.exe" /libpath:"Release_TS"\r
-# ADD LINK32 php5ts.lib winmm.lib ws2_32.lib netapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /version:4.0 /subsystem:console /machine:I386 /nodefaultlib:"libc.lib" /out:"..\Release_TS_inline\php.exe" /libpath:"..\Release_TS_inline"\r
+# ADD BASE LINK32 php7ts.lib winmm.lib wsock32.lib netapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /version:3.0 /subsystem:console /machine:I386 /nodefaultlib:"libc.lib" /out:"Release_TS\php.exe" /libpath:"Release_TS"\r
+# ADD LINK32 php7ts.lib winmm.lib ws2_32.lib netapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /version:4.0 /subsystem:console /machine:I386 /nodefaultlib:"libc.lib" /out:"..\Release_TS_inline\php.exe" /libpath:"..\Release_TS_inline"\r
 \r
-!ELSEIF  "$(CFG)" == "php5ts - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7ts - Win32 Release_TSDbg"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 0\r
-# PROP BASE Output_Dir "php5ts___Win32_Release_TSDbg"\r
-# PROP BASE Intermediate_Dir "php5ts___Win32_Release_TSDbg"\r
+# PROP BASE Output_Dir "php7ts___Win32_Release_TSDbg"\r
+# PROP BASE Intermediate_Dir "php7ts___Win32_Release_TSDbg"\r
 # PROP BASE Ignore_Export_Lib 0\r
 # PROP BASE Target_Dir ""\r
 # PROP Use_MFC 0\r
@@ -132,17 +132,17 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 php5ts.lib winmm.lib wsock32.lib netapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /version:4.0 /subsystem:console /machine:I386 /nodefaultlib:"libc.lib" /out:"..\Release_TS\php.exe" /libpath:"..\Release_TS"\r
-# ADD LINK32 php5ts.lib winmm.lib wsock32.lib netapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib Ws2_32.lib /nologo /version:4.0 /subsystem:console /debug /machine:I386 /nodefaultlib:"libc.lib" /out:"..\Release_TSDbg\php.exe" /libpath:"..\Release_TSDbg"\r
+# ADD BASE LINK32 php7ts.lib winmm.lib wsock32.lib netapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /version:4.0 /subsystem:console /machine:I386 /nodefaultlib:"libc.lib" /out:"..\Release_TS\php.exe" /libpath:"..\Release_TS"\r
+# ADD LINK32 php7ts.lib winmm.lib wsock32.lib netapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib Ws2_32.lib /nologo /version:4.0 /subsystem:console /debug /machine:I386 /nodefaultlib:"libc.lib" /out:"..\Release_TSDbg\php.exe" /libpath:"..\Release_TSDbg"\r
 \r
 !ENDIF \r
 \r
 # Begin Target\r
 \r
-# Name "php5ts - Win32 Release_TS"\r
-# Name "php5ts - Win32 Debug_TS"\r
-# Name "php5ts - Win32 Release_TS_inline"\r
-# Name "php5ts - Win32 Release_TSDbg"\r
+# Name "php7ts - Win32 Release_TS"\r
+# Name "php7ts - Win32 Debug_TS"\r
+# Name "php7ts - Win32 Release_TS_inline"\r
+# Name "php7ts - Win32 Release_TSDbg"\r
 # Begin Group "Source Files"\r
 \r
 # PROP Default_Filter ".c"\r
@@ -181,11 +181,11 @@ SOURCE=..\sapi\cgi\libfcgi\os_win32.c
 # End Group\r
 # Begin Source File\r
 \r
-SOURCE=.\php5ts.rc\r
+SOURCE=.\php7ts.rc\r
 # End Source File\r
 # Begin Source File\r
 \r
-SOURCE=.\php5ts.rc2\r
+SOURCE=.\php7ts.rc2\r
 # End Source File\r
 # End Target\r
 # End Project\r
similarity index 76%
rename from win32/php5ts.dsw
rename to win32/php7ts.dsw
index 61ccd1c24bccf1a0a864bdd289715ccf9f07734c..7e60b38135b822d7c9a6e00b4f6d7313e2247dba 100644 (file)
@@ -57,7 +57,7 @@ Package=<4>
 \r
 ###############################################################################\r
 \r
-Project: "php5aolserver"=..\sapi\aolserver\php5aolserver.dsp - Package Owner=<4>\r
+Project: "php7aolserver"=..\sapi\aolserver\php7aolserver.dsp - Package Owner=<4>\r
 \r
 Package=<5>\r
 {{{\r
@@ -66,13 +66,13 @@ Package=<5>
 Package=<4>\r
 {{{\r
     Begin Project Dependency\r
-    Project_Dep_Name php5dllts\r
+    Project_Dep_Name php7dllts\r
     End Project Dependency\r
 }}}\r
 \r
 ###############################################################################\r
 \r
-Project: "php5apache"=..\sapi\apache\php5apache.dsp - Package Owner=<4>\r
+Project: "php7apache"=..\sapi\apache\php7apache.dsp - Package Owner=<4>\r
 \r
 Package=<5>\r
 {{{\r
@@ -81,13 +81,13 @@ Package=<5>
 Package=<4>\r
 {{{\r
     Begin Project Dependency\r
-    Project_Dep_Name php5dllts\r
+    Project_Dep_Name php7dllts\r
     End Project Dependency\r
 }}}\r
 \r
 ###############################################################################\r
 \r
-Project: "php5apache2"=..\SAPI\APACHE2HANDLER\php5apache2.dsp - Package Owner=<4>\r
+Project: "php7apache2"=..\SAPI\APACHE2HANDLER\php7apache2.dsp - Package Owner=<4>\r
 \r
 Package=<5>\r
 {{{\r
@@ -96,13 +96,13 @@ Package=<5>
 Package=<4>\r
 {{{\r
     Begin Project Dependency\r
-    Project_Dep_Name php5dllts\r
+    Project_Dep_Name php7dllts\r
     End Project Dependency\r
 }}}\r
 \r
 ###############################################################################\r
 \r
-Project: "php5dllts"=.\php5dllts.dsp - Package Owner=<4>\r
+Project: "php7dllts"=.\php7dllts.dsp - Package Owner=<4>\r
 \r
 Package=<5>\r
 {{{\r
@@ -123,7 +123,7 @@ Package=<4>
 \r
 ###############################################################################\r
 \r
-Project: "php5isapi"=..\sapi\isapi\php5isapi.dsp - Package Owner=<4>\r
+Project: "php7isapi"=..\sapi\isapi\php7isapi.dsp - Package Owner=<4>\r
 \r
 Package=<5>\r
 {{{\r
@@ -132,13 +132,13 @@ Package=<5>
 Package=<4>\r
 {{{\r
     Begin Project Dependency\r
-    Project_Dep_Name php5dllts\r
+    Project_Dep_Name php7dllts\r
     End Project Dependency\r
 }}}\r
 \r
 ###############################################################################\r
 \r
-Project: "php5nsapi"=..\sapi\nsapi\php5nsapi.dsp - Package Owner=<4>\r
+Project: "php7nsapi"=..\sapi\nsapi\php7nsapi.dsp - Package Owner=<4>\r
 \r
 Package=<5>\r
 {{{\r
@@ -147,13 +147,13 @@ Package=<5>
 Package=<4>\r
 {{{\r
     Begin Project Dependency\r
-    Project_Dep_Name php5dllts\r
+    Project_Dep_Name php7dllts\r
     End Project Dependency\r
 }}}\r
 \r
 ###############################################################################\r
 \r
-Project: "php5pi3web"=..\sapi\pi3web\php5pi3web.dsp - Package Owner=<4>\r
+Project: "php7pi3web"=..\sapi\pi3web\php7pi3web.dsp - Package Owner=<4>\r
 \r
 Package=<5>\r
 {{{\r
@@ -162,13 +162,13 @@ Package=<5>
 Package=<4>\r
 {{{\r
     Begin Project Dependency\r
-    Project_Dep_Name php5dllts\r
+    Project_Dep_Name php7dllts\r
     End Project Dependency\r
 }}}\r
 \r
 ###############################################################################\r
 \r
-Project: "php5ts"=.\php5ts.dsp - Package Owner=<4>\r
+Project: "php7ts"=.\php7ts.dsp - Package Owner=<4>\r
 \r
 Package=<5>\r
 {{{\r
@@ -177,13 +177,13 @@ Package=<5>
 Package=<4>\r
 {{{\r
     Begin Project Dependency\r
-    Project_Dep_Name php5dllts\r
+    Project_Dep_Name php7dllts\r
     End Project Dependency\r
 }}}\r
 \r
 ###############################################################################\r
 \r
-Project: "php5ts_cli"=.\php5ts_cli.dsp - Package Owner=<4>\r
+Project: "php7ts_cli"=.\php7ts_cli.dsp - Package Owner=<4>\r
 \r
 Package=<5>\r
 {{{\r
@@ -192,7 +192,7 @@ Package=<5>
 Package=<4>\r
 {{{\r
     Begin Project Dependency\r
-    Project_Dep_Name php5dllts\r
+    Project_Dep_Name php7dllts\r
     End Project Dependency\r
 }}}\r
 \r
@@ -207,7 +207,7 @@ Package=<5>
 Package=<4>\r
 {{{\r
     Begin Project Dependency\r
-    Project_Dep_Name php5ts\r
+    Project_Dep_Name php7ts\r
     End Project Dependency\r
 }}}\r
 \r
similarity index 96%
rename from win32/php5ts.rc
rename to win32/php7ts.rc
index d9a4aa541b1e5a1952bc6cbbcdee4ef376694677..b7251558098d77c553f2c2fba68fd11b4d0ad93f 100644 (file)
@@ -70,7 +70,7 @@ END
 
 BEGIN
 
-    "#include ""php5ts.rc2""\r\n"
+    "#include ""php7ts.rc2""\r\n"
 
     "\0"
 
@@ -114,7 +114,7 @@ END
 
 //
 
-#include "php5ts.rc2"
+#include "php7ts.rc2"
 
 
 
similarity index 96%
rename from win32/php5ts.rc2
rename to win32/php7ts.rc2
index 3a53a900ec3ec2a6bbd5ee5b4525bb3fed399c5e..6c813de23c25543e67d36f299bd6b76ce8fdf73f 100644 (file)
@@ -1,5 +1,5 @@
 //
-// php5dllts.RC2 - resources Microsoft Visual C++ does not edit directly
+// php7dllts.RC2 - resources Microsoft Visual C++ does not edit directly
 //
 
 #ifdef APSTUDIO_INVOKED
similarity index 80%
rename from win32/php5ts_cli.dsp
rename to win32/php7ts_cli.dsp
index 37a4113ad4ec5dd0d7fbfe49170102735658d3cf..1fee958b067571bc02e366599aa13ddc4a86a29e 100644 (file)
@@ -1,26 +1,26 @@
-# Microsoft Developer Studio Project File - Name="php5ts_cli" - Package Owner=<4>\r
+# Microsoft Developer Studio Project File - Name="php7ts_cli" - Package Owner=<4>\r
 # Microsoft Developer Studio Generated Build File, Format Version 6.00\r
 # ** DO NOT EDIT **\r
 \r
 # TARGTYPE "Win32 (x86) Console Application" 0x0103\r
 \r
-CFG=php5ts_cli - Win32 Debug_TS\r
+CFG=php7ts_cli - Win32 Debug_TS\r
 !MESSAGE This is not a valid makefile. To build this project using NMAKE,\r
 !MESSAGE use the Export Makefile command and run\r
 !MESSAGE \r
-!MESSAGE NMAKE /f "php5ts_cli.mak".\r
+!MESSAGE NMAKE /f "php7ts_cli.mak".\r
 !MESSAGE \r
 !MESSAGE You can specify a configuration when running NMAKE\r
 !MESSAGE by defining the macro CFG on the command line. For example:\r
 !MESSAGE \r
-!MESSAGE NMAKE /f "php5ts_cli.mak" CFG="php5ts_cli - Win32 Debug_TS"\r
+!MESSAGE NMAKE /f "php7ts_cli.mak" CFG="php7ts_cli - Win32 Debug_TS"\r
 !MESSAGE \r
 !MESSAGE Possible choices for configuration are:\r
 !MESSAGE \r
-!MESSAGE "php5ts_cli - Win32 Release_TS" (based on "Win32 (x86) Console Application")\r
-!MESSAGE "php5ts_cli - Win32 Debug_TS" (based on "Win32 (x86) Console Application")\r
-!MESSAGE "php5ts_cli - Win32 Release_TS_inline" (based on "Win32 (x86) Console Application")\r
-!MESSAGE "php5ts_cli - Win32 Release_TSDbg" (based on "Win32 (x86) Console Application")\r
+!MESSAGE "php7ts_cli - Win32 Release_TS" (based on "Win32 (x86) Console Application")\r
+!MESSAGE "php7ts_cli - Win32 Debug_TS" (based on "Win32 (x86) Console Application")\r
+!MESSAGE "php7ts_cli - Win32 Release_TS_inline" (based on "Win32 (x86) Console Application")\r
+!MESSAGE "php7ts_cli - Win32 Release_TSDbg" (based on "Win32 (x86) Console Application")\r
 !MESSAGE \r
 \r
 # Begin Project\r
@@ -30,7 +30,7 @@ CFG=php5ts_cli - Win32 Debug_TS
 CPP=cl.exe\r
 RSC=rc.exe\r
 \r
-!IF  "$(CFG)" == "php5ts_cli - Win32 Release_TS"\r
+!IF  "$(CFG)" == "php7ts_cli - Win32 Release_TS"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 0\r
@@ -53,9 +53,9 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386\r
-# ADD LINK32 php5ts.lib winmm.lib wsock32.lib netapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /version:4.0 /subsystem:console /machine:I386 /nodefaultlib:"libc.lib" /out:"..\Release_TS\cli\php.exe" /libpath:"..\Release_TS"\r
+# ADD LINK32 php7ts.lib winmm.lib wsock32.lib netapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /version:4.0 /subsystem:console /machine:I386 /nodefaultlib:"libc.lib" /out:"..\Release_TS\cli\php.exe" /libpath:"..\Release_TS"\r
 \r
-!ELSEIF  "$(CFG)" == "php5ts_cli - Win32 Debug_TS"\r
+!ELSEIF  "$(CFG)" == "php7ts_cli - Win32 Debug_TS"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 1\r
@@ -78,15 +78,15 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 winmm.lib netapi32.lib wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts_debug.lib /nologo /version:4.0 /subsystem:console /debug /machine:I386 /nodefaultlib:"libcd" /nodefaultlib:"libcmt" /out:"..\Debug_TS\cli\php.exe" /pdbtype:sept /libpath:"..\Debug_TS"\r
+# ADD LINK32 winmm.lib netapi32.lib wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php7ts_debug.lib /nologo /version:4.0 /subsystem:console /debug /machine:I386 /nodefaultlib:"libcd" /nodefaultlib:"libcmt" /out:"..\Debug_TS\cli\php.exe" /pdbtype:sept /libpath:"..\Debug_TS"\r
 # SUBTRACT LINK32 /pdb:none\r
 \r
-!ELSEIF  "$(CFG)" == "php5ts_cli - Win32 Release_TS_inline"\r
+!ELSEIF  "$(CFG)" == "php7ts_cli - Win32 Release_TS_inline"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 0\r
-# PROP BASE Output_Dir "php5ts___Win32_Release_TS_inline"\r
-# PROP BASE Intermediate_Dir "php5ts___Win32_Release_TS_inline"\r
+# PROP BASE Output_Dir "php7ts___Win32_Release_TS_inline"\r
+# PROP BASE Intermediate_Dir "php7ts___Win32_Release_TS_inline"\r
 # PROP BASE Ignore_Export_Lib 0\r
 # PROP BASE Target_Dir ""\r
 # PROP Use_MFC 0\r
@@ -105,15 +105,15 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 php5ts.lib winmm.lib wsock32.lib netapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /version:3.0 /subsystem:console /machine:I386 /nodefaultlib:"libc.lib" /out:"Release_TS\php.exe" /libpath:"Release_TS"\r
-# ADD LINK32 php5ts.lib winmm.lib wsock32.lib netapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /version:4.0 /subsystem:console /machine:I386 /nodefaultlib:"libc.lib" /out:"..\Release_TS_inline\cli\php.exe" /libpath:"..\Release_TS_inline"\r
+# ADD BASE LINK32 php7ts.lib winmm.lib wsock32.lib netapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /version:3.0 /subsystem:console /machine:I386 /nodefaultlib:"libc.lib" /out:"Release_TS\php.exe" /libpath:"Release_TS"\r
+# ADD LINK32 php7ts.lib winmm.lib wsock32.lib netapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /version:4.0 /subsystem:console /machine:I386 /nodefaultlib:"libc.lib" /out:"..\Release_TS_inline\cli\php.exe" /libpath:"..\Release_TS_inline"\r
 \r
-!ELSEIF  "$(CFG)" == "php5ts_cli - Win32 Release_TSDbg"\r
+!ELSEIF  "$(CFG)" == "php7ts_cli - Win32 Release_TSDbg"\r
 \r
 # PROP BASE Use_MFC 0\r
 # PROP BASE Use_Debug_Libraries 0\r
-# PROP BASE Output_Dir "php5ts___Win32_Release_TSDbg"\r
-# PROP BASE Intermediate_Dir "php5ts___Win32_Release_TSDbg"\r
+# PROP BASE Output_Dir "php7ts___Win32_Release_TSDbg"\r
+# PROP BASE Intermediate_Dir "php7ts___Win32_Release_TSDbg"\r
 # PROP BASE Ignore_Export_Lib 0\r
 # PROP BASE Target_Dir ""\r
 # PROP Use_MFC 0\r
@@ -132,17 +132,17 @@ BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo\r
 # ADD BSC32 /nologo\r
 LINK32=link.exe\r
-# ADD BASE LINK32 php5ts.lib winmm.lib wsock32.lib netapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /version:4.0 /subsystem:console /machine:I386 /nodefaultlib:"libc.lib" /out:"..\Release_TS\php.exe" /libpath:"..\Release_TS"\r
-# ADD LINK32 php5ts.lib winmm.lib wsock32.lib netapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /version:4.0 /subsystem:console /debug /machine:I386 /nodefaultlib:"libc.lib" /out:"..\Release_TSDbg\php.exe" /libpath:"..\Release_TSDbg"\r
+# ADD BASE LINK32 php7ts.lib winmm.lib wsock32.lib netapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /version:4.0 /subsystem:console /machine:I386 /nodefaultlib:"libc.lib" /out:"..\Release_TS\php.exe" /libpath:"..\Release_TS"\r
+# ADD LINK32 php7ts.lib winmm.lib wsock32.lib netapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /version:4.0 /subsystem:console /debug /machine:I386 /nodefaultlib:"libc.lib" /out:"..\Release_TSDbg\php.exe" /libpath:"..\Release_TSDbg"\r
 \r
 !ENDIF \r
 \r
 # Begin Target\r
 \r
-# Name "php5ts_cli - Win32 Release_TS"\r
-# Name "php5ts_cli - Win32 Debug_TS"\r
-# Name "php5ts_cli - Win32 Release_TS_inline"\r
-# Name "php5ts_cli - Win32 Release_TSDbg"\r
+# Name "php7ts_cli - Win32 Release_TS"\r
+# Name "php7ts_cli - Win32 Debug_TS"\r
+# Name "php7ts_cli - Win32 Release_TS_inline"\r
+# Name "php7ts_cli - Win32 Release_TSDbg"\r
 # Begin Group "Source Files"\r
 \r
 # PROP Default_Filter ".c"\r
@@ -165,11 +165,11 @@ SOURCE=..\sapi\cli\php_getopt.h
 # End Group\r
 # Begin Source File\r
 \r
-SOURCE=.\php5ts_cli.rc\r
+SOURCE=.\php7ts_cli.rc\r
 # End Source File\r
 # Begin Source File\r
 \r
-SOURCE=.\php5ts_cli.rc2\r
+SOURCE=.\php7ts_cli.rc2\r
 # End Source File\r
 # End Target\r
 # End Project\r
similarity index 95%
rename from win32/php5ts_cli.rc
rename to win32/php7ts_cli.rc
index 0053e0c7f2b219d05a1a2fa5de6734df2ef105a2..3478b94bd70812e7fa7b7eb38921f106e5ca187a 100644 (file)
@@ -70,7 +70,7 @@ END
 
 BEGIN
 
-    "#include ""php5ts_cli.rc2""\r\n"
+    "#include ""php7ts_cli.rc2""\r\n"
 
     "\0"
 
@@ -114,7 +114,7 @@ END
 
 //
 
-#include "php5ts_cli.rc2"
+#include "php7ts_cli.rc2"
 
 
 
similarity index 96%
rename from win32/php5ts_cli.rc2
rename to win32/php7ts_cli.rc2
index 517bd4ab349b4122b6fde3e2e3c777fbdbc0d9ca..004808c16b32acd93df7c82ede4907beffd7a825 100644 (file)
@@ -1,5 +1,5 @@
 //
-// php5dllts.RC2 - resources Microsoft Visual C++ does not edit directly
+// php7dllts.RC2 - resources Microsoft Visual C++ does not edit directly
 //
 
 #ifdef APSTUDIO_INVOKED
index 3e7e4c0ed1eec849622ae6c5b09fe40066bf9840..13760d49626443119736a6493f35215eeafb9ce6 100644 (file)
@@ -1,6 +1,6 @@
 //{{NO_DEPENDENCIES}}
 // Microsoft Developer Studio generated include file.
-// Used by php5dllts.rc
+// Used by php7dllts.rc
 //
 
 // Next default values for new objects
index 5fe33331cd0e8265fdb081d793372a1ae099b924..3e81ecd4bcc528c9e5a7d8b808c6915deed89271 100644 (file)
@@ -87,9 +87,9 @@ char LocalHost[HOST_NAME_LEN];
 #endif
 char seps[] = " ,\t\n";
 #ifndef NETWARE
-char *php_mailer = "PHP 5 WIN32";
+char *php_mailer = "PHP 7 WIN32";
 #else
-char *php_mailer = "PHP 5 NetWare";
+char *php_mailer = "PHP 7 NetWare";
 #endif /* NETWARE */
 
 /* Error messages */
index cb12d6e6b97434a8008d19061a10434d6b3917b4..2974bfbd485950e651f67aea5e35c5fc91c6b2a2 100644 (file)
@@ -2,4 +2,4 @@ REGEDIT4
 \r
 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\PHP-5.3.99-dev]\r
 "TypesSupported"=dword:00000007\r
-"EventMessageFile"="g:\\test\\srctrunkinstall\\php5ts.dll"\r
+"EventMessageFile"="g:\\test\\srctrunkinstall\\php7ts.dll"\r