Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

12,117

Downloads of v 8.0.2:

32

Last Update:

15 Mar 2021

Package Maintainer(s):

Software Author(s):

  • PHP Authors

Tags:

php web service nssm admin

PHP Service

Downloads:

12,117

Downloads of v 8.0.2:

32

Maintainer(s):

Software Author(s):

  • PHP Authors

PHP Service

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Failed

Details

Scan Testing Unknown

WARNING

This package was rejected on 19 Apr 2021. The reviewer chocolatey-ops has listed the following reason(s):

pilskalns (maintainer) on 15 Mar 2021 00:22:47 +00:00:

User 'pilskalns' (maintainer) submitted package.

chocolatey-ops (reviewer) on 15 Mar 2021 00:59:33 +00:00:

php-service has passed automated validation. It may have or may still fail other checks like testing (verification).
Congratulations! This package passed automatic validation review without flagging on any issues the validator currently checks. A human review could still turn up issues a computer may not easily find.

chocolatey-ops (reviewer) on 15 Mar 2021 02:08:41 +00:00:

php-service has failed automated testing.
This is not the only check that is performed so check the package page to ensure a 'Ready' status.
Please visit https://gist.github.com/7f74401693e6894ceb7d274fc573b223 for details.
The package status will be changed and will be waiting on your next actions.

  • NEW! We have a test environment for you to replicate the testing we do. This can be used at any time to test packages! See https://github.com/chocolatey-community/chocolatey-test-environment
  • Please log in and leave a review comment if you have questions and/or comments.
  • If you see the verifier needs to rerun testing against the package without resubmitting (a issue in the test results), you can do that on the package page in the review section.
  • If the verifier is incompatible with the package, please log in and leave a review comment if the package needs to bypass testing (e.g. package installs specific drivers).
  • Automated testing can also fail when a package is not completely silent or has pop ups (AutoHotKey can assist - a great example is the VeraCrypt package).
  • A package that cannot be made completely unattended should have the notSilent tag. Note that this must be approved by moderators.

chocolatey-ops (reviewer) on 04 Apr 2021 02:11:53 +00:00:

We've found php-service v8.0.2 in a submitted status and waiting for your next actions. It has had no updates for 20 or more days since a reviewer has asked for corrections. Please note that if there is no response or fix of the package within 15 days of this message, this package version will automatically be closed (rejected) due to being stale.

Take action:

  • Log in to the site and respond to the review comments.
  • Resubmit fixes for this version.
  • If the package version is failing automated checks, you can self-reject the package.

If your package is failing automated testing, you can use the chocolatey test environment to manually run the verification and determine what may need to be fixed.

Note: We don't like to see packages automatically rejected. It doesn't mean that we don't value your contributions, just that we can not continue to hold packages versions in a waiting status that have possibly been abandoned. If you don't believe you will be able to fix up this version of the package within 15 days, we strongly urge you to log in to the site and respond to the review comments until you are able to.

chocolatey-ops (reviewer) on 19 Apr 2021 02:13:50 +00:00:

Unfortunately there has not been progress to move php-service v8.0.2 towards an approved status within 15 days after the last review message, so we need to close (reject) the package version at this time. If you want to pick this version up and move it towards approval in the future, use the contact site admins link on the package page and we can move it back into a submitted status so you can submit updates.

Status Change - Changed status of package from 'submitted' to 'rejected'.

Description

PHP is a popular general-purpose scripting language that is especially suited to web development.
Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.

This package will install PHP (Hypertext Preprocessor) with it's default values. Its installed trough dependencies and those can't be passed with extra arguments.


tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop'; # stop on all errors
$version    = $env:chocolateyPackageVersion -replace "-beta.*",""
$installDir = "$($env:ChocolateyToolsLocation)\php{0}" -f ($version -replace '\.').Substring(0,2)

# Actual service installation
$ErrorActionPreference = 'SilentlyContinue'
net stop php 2>&1 | Out-Null
sc delete php 2>&1 | Out-Null

nssm stop php 2>&1 | Out-Null
nssm remove php confirm 2>&1 | Out-Null
nssm install php "$($installDir)\php-cgi.exe" 2>&1 | Out-Null
nssm set php Description "PHP, service managed by NSSM" 2>&1 | Out-Null
nssm set php AppDirectory  "$installDir" 2>&1 | Out-Null
nssm set php AppParameters "-b """"127.0.0.1:9000""""" 2>&1 | Out-Null
nssm start php 2>&1 | Out-Null
$ErrorActionPreference = 'Stop'

# Throw some barebones info for user
Write-Host @"
Config file "$installDir\php.ini"

PHP now can be started and stopped as regular Windows service or through NSSM command interface
Type one of those commands in CMD or PowerShell for php-service control:

"@  -ForegroundColor Green
Write-Host "To start service:" -ForegroundColor Green
Write-Host "    net start php" -ForegroundColor Yellow
Write-Host "    or" -ForegroundColor Green
Write-Host "    nssm start php" -ForegroundColor Yellow

Write-Host "To stop service:" -ForegroundColor Green
Write-Host "    net stop php" -ForegroundColor Yellow
Write-Host "    or" -ForegroundColor Green
Write-Host "    nssm stop php" -ForegroundColor Yellow

Write-Host "To restart service do both:" -ForegroundColor Green
Write-Host "    net stop php" -ForegroundColor Yellow
Write-Host "    net start php" -ForegroundColor Yellow
Write-Host "    or" -ForegroundColor Green
Write-Host "    nssm stop php" -ForegroundColor Yellow
Write-Host "    nssm start php" -ForegroundColor Yellow
tools\chocolateyuninstall.ps1
$ErrorActionPreference = 'SilentlyContinue'
nssm stop php 2>&1 | Out-Null
nssm remove php confirm 2>&1 | Out-Null
$ErrorActionPreference = 'Stop'

No results available for this package. We are building up results for older packages over time so expect to see results. If this is a new package, it should have results within a day or two.

Add to Builder Version Downloads Last Updated Status
PHP Service 8.1.9 118 Thursday, August 4, 2022 Approved
PHP Service 8.1.8 99 Saturday, July 9, 2022 Approved
PHP Service 8.1.7 130 Thursday, June 9, 2022 Approved
PHP Service 8.1.6 111 Thursday, May 12, 2022 Approved
PHP Service 8.1.5 107 Thursday, April 14, 2022 Approved
PHP Service 8.1.4 159 Thursday, March 17, 2022 Approved
PHP Service 8.1.3 157 Thursday, February 17, 2022 Approved
PHP Service 8.1.2 131 Tuesday, February 8, 2022 Approved
PHP Service 8.0.10 364 Thursday, August 26, 2021 Approved
PHP Service 8.0.8 161 Thursday, July 1, 2021 Approved
PHP Service 8.0.7 144 Thursday, June 3, 2021 Approved
PHP Service 8.0.6 124 Friday, May 7, 2021 Approved
PHP Service 8.0.1 271 Thursday, January 7, 2021 Approved
PHP Service 8.0.0.20201221 116 Tuesday, December 22, 2020 Approved
PHP Service 7.4.13 375 Wednesday, November 25, 2020 Approved
PHP Service 7.4.9 359 Thursday, August 6, 2020 Approved
PHP Service 7.4.7 260 Thursday, June 11, 2020 Approved
PHP Service 7.4.6 203 Saturday, May 30, 2020 Approved
PHP Service 7.4.5 258 Thursday, April 16, 2020 Approved
PHP Service 7.4.3 314 Saturday, February 22, 2020 Approved
PHP Service 7.4.2 247 Thursday, January 23, 2020 Approved
PHP Service 7.4.1 1416 Wednesday, December 25, 2019 Approved
PHP Service 7.4.0 303 Thursday, November 28, 2019 Approved
PHP Service 7.3.12 207 Thursday, November 21, 2019 Approved
PHP Service 7.3.11 250 Wednesday, October 23, 2019 Approved
PHP Service 7.3.10 214 Thursday, September 26, 2019 Approved
PHP Service 7.3.9 218 Thursday, August 29, 2019 Approved
PHP Service 7.3.8 199 Thursday, August 8, 2019 Approved
PHP Service 7.3.7 204 Thursday, July 4, 2019 Approved
PHP Service 7.3.6 245 Thursday, May 30, 2019 Approved
PHP Service 7.3.5 220 Thursday, May 2, 2019 Approved
PHP Service 7.3.3 225 Friday, March 15, 2019 Approved
PHP Service 7.3.1 257 Friday, January 11, 2019 Approved
PHP Service 7.3.0 288 Friday, December 7, 2018 Approved
PHP Service 7.2.12 246 Friday, November 9, 2018 Approved
PHP Service 7.2.10 260 Friday, September 14, 2018 Approved
PHP Service 7.2.9 293 Friday, August 17, 2018 Approved
PHP Service 7.2.8 272 Thursday, July 19, 2018 Approved
PHP Service 7.2.7 284 Thursday, June 21, 2018 Approved
php-service (Install) 7.2.5 365 Wednesday, June 6, 2018 Approved

  • Core:
    . Fixed bug #80523 (bogus parse error on >4GB source code). (Nikita)
    . Fixed bug #80384 (filter buffers entire read until file closed). (Adam
    Seitz, cmb)
    . Fixed bug #80596 (Invalid union type TypeError in anonymous classes).
    (Daniil Gentili)
    . Fixed bug #80617 (GCC throws warning about type narrowing in
    ZEND_TYPE_INIT_CODE). (Nikita)

  • BCMath:
    . Fixed bug #80545 (bcadd('a', 'a') doesn't throw an exception).
    (Jens de Nies)

  • Curl:
    . Fixed bug #80595 (Resetting POSTFIELDS to empty array breaks request). (cmb)

  • Date:
    . Fixed bug #80376 (last day of the month causes runway cpu usage). (Derick)

  • DOM:
    . Fixed bug #80537 (Wrong parameter type in DOMElement::removeAttributeNode
    stub). (Nikita)

  • Filter:
    . Fixed bug #80584 (0x and 0X are considered valid hex numbers by
    filter_var()). (girgias)

  • GMP:
    . Fixed bug #80560 (Strings containing only a base prefix return 0 object).
    (girgias)

  • Intl:
    . Fixed bug #80644 (Missing resource causes subsequent get() calls to fail).
    (Nikita)

  • MySQLi:
    . Fixed bug #67983 (mysqlnd with MYSQLI_OPT_INT_AND_FLOAT_NATIVE fails to
    interpret bit columns). (Nikita)
    . Fixed bug #64638 (Fetching resultsets from stored procedure with cursor
    fails). (Nikita)
    . Fixed bug #72862 (segfault using prepared statements on stored procedures
    that use a cursor). (Nikita)
    . Fixed bug #77935 (Crash in mysqlnd_fetch_stmt_row_cursor when calling an SP
    with a cursor). (Nikita)

  • ODBC:
    . Fixed bug #80592 (all floats are the same in ODBC parameters). (cmb)

  • Opcache:
    . Fixed bug #80422 (php_opcache.dll crashes when using Apache 2.4 with JIT).
    (Dmitry)

  • PDO_Firebird:
    . Fixed bug #80521 (Parameters with underscores no longer recognized). (cmb,
    Simonov Denis)

  • Phar:
    . Fixed bug #76929 (zip-based phar does not respect phar.require_hash).
    (david at bamsoftware, cmb)
    . Fixed bug #77565 (Incorrect locator detection in ZIP-based phars). (cmb)
    . Fixed bug #69279 (Compressed ZIP Phar extractTo() creates garbage files).
    (cmb)

  • Phpdbg:
    . Reverted fix for bug #76813 (Access violation near NULL on source operand).
    (cmb)

  • SOAP:
    . Fixed bug #80672 (Null Dereference in SoapClient). (CVE-2021-21702) (cmb, Stas)


Discussion for the PHP Service Package

Ground Rules:

  • This discussion is only about PHP Service and the PHP Service package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or PHP Service, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus