php4_installer download and installs PHP 4, the PECL extensions, the PHP Manual (English) in Windows Help (CHM) Format, and the Zend Optimizer, which are available at http://www.php.net, and http://zend.com.
php_installer also performs the following:
- copies php.ini-recommended to php.ini and sets the following settings:
extension_dir="C:\Program Files\php4\ext"
error_log="C:\Program Files\php4\logs\phperror.log"
upload_tmp_dir="C:\Program Files\php4\uploads"
session.save_path="C:\Program Files\php4\sessions"
- Adds the following variables to your environment:
PHPRC=C:\Program Files\php4
- Adds the installation directory to your PATH environment variable.
On 32-bit systems, this directory is usually
C:\Program Files\PHP. On 64-bit systems, this directory is usuallyC:\Program Files(x86)\PHP.
php_installer looks in the directory where php_installer.exe is for any files it needs before attempting to download them. If it does download a file, it will attempt to save a copy of the file in this same directory.
php_installer [options]
Options:
/S Install the application silently with the default options selected
/D=path Install into the directory 'path' (default is
%ProgramFiles%\PHP4)
/INSTYPE n Where n is a number between 0 and 3:
0: PHP and Manual (Default)
1: PHP Only
2: PHP Manual Only (CHM English)
3: Zend Optimizer Only
4: All
5: None
To verify a release, download the .zip, .sha256, and .asc files for the release (replacing php4_installer-1.7-win32.zip with the release you are verifying):
$ wget https://github.com/rasa/php4_installer/releases/download/v1.7/php4_installer-1.7-win32.zip{,.sha256,.asc}
Next, check that sha256sum reports "OK":
$ sha256sum -c php4_installer-1.7-win32.zip.sha256
php4_installer-1.7-win32.zip: OK
Lastly, check that GPG reports "Good signature":
$ gpg --keyserver hkps.pool.sks-keyservers.net --recv-key 0x105a5225b6ab4b22
$ gpg --verify php4_installer-1.7-win32.zip.asc php4_installer-1.7-win32.zip
gpg: using RSA key 0xFF914F74B4BB6EF3
gpg: Good signature from "Ross Smith II <ross@smithii.com>" [ultimate]
...
To contribute to this project, please see CONTRIBUTING.md.
To view existing bugs, or report a new bug, please see issues.
To view the version history for this project, please see CHANGELOG.md.
This project is MIT licensed.
This project was created and is maintained by Ross Smith II
Feedback, suggestions, and enhancements are welcome.

