Jump to content

This is a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Help : Toolforge/PHP

From Wikitech

For custom dependencies (ex. using the composer package manager) and newer php versions, you can follow the build service tutorial .

The php8.4 webservice pre-built image includes support for running PHP scripts from files with a .php in $HOME/public_html using a FastCGI helper process.

Use the toolforge webservice command to manage your web service:

Operating a PHP web service
$ toolforge webservice php8.4 start|stop|restart

Visit https://<TOOLNAME>.toolforge.org. Look for any errors from your PHP code in $HOME/error.log.

If you need a shell with your PHP version installed, for example to install dependencies, you can use:

Launching a shell with your PHP version available
tools.my-tool@tools-sgebastion-07:~$ toolforge webservice php8.4 shell
tools.my-tool@shell-1636616698:~$

Communication and support

Support and administration of the WMCS resources is provided by the Wikimedia Foundation Cloud Services team and Wikimedia movement volunteers . Please reach out with questions and join the conversation:

Discuss and receive general support
  • Chat in real time in the IRC channel #wikimedia-cloud connect or the bridged Telegram group
  • Discuss via email after you have subscribed to the cloud@ mailing list
Stay aware of critical changes and plans
Track work tasks and report bugs

Use a subproject of the #Cloud-Services Phabricator project to track confirmed bug reports and feature requests about the Cloud Services infrastructure itself

Read stories and WMCS blog posts

See also