Help:Toolforge/PHP
Overview
The php8.2
webservice type includes support for running PHP scripts from files with a .php
in $HOME/public_html
using a FastCGI helper process.
Use the webservice
command to manage your web service:
$ webservice --backend=kubernetes php8.2 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:
tools.my-tool@tools-sgebastion-07:~$ webservice --backend=kubernetes php8.2 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:
- Chat in real time in the IRC channel #wikimedia-cloud connect, the bridged Telegram group, or the bridged Mattermost channel
- Discuss via email after you have subscribed to the cloud@ mailing list
- Subscribe to the cloud-announce@ mailing list (all messages are also mirrored to the cloud@ list)
- Read the News wiki page
Use a subproject of the #Cloud-Services Phabricator project to track confirmed bug reports and feature requests about the Cloud Services infrastructure itself
Read the Cloud Services Blog (for the broader Wikimedia movement, see the Wikimedia Technical Blog)