You are browsing a read-only backup copy of Wikitech. The primary site can be found at wikitech.wikimedia.org
Help:Toolforge/Web/PHP: Difference between revisions
< Help:Toolforge | Web
Jump to navigation
Jump to search
imported>Krinkle |
imported>Majavah (expand a bit) |
||
Line 4: | Line 4: | ||
{{See also|Help:Toolforge/Web/Lighttpd#PHP|label 1=lighttpd PHP help documentation}} | {{See also|Help:Toolforge/Web/Lighttpd#PHP|label 1=lighttpd PHP help documentation}} | ||
The <code> | The <code>php7.4</code> [[Help:Toolforge/Web|webservice]] type includes support for running [[w:PHP|PHP]] scripts from files with a <code>.php</code> in <code>$HOME/public_html</code> using a [[w:FastCGI|FastCGI]] helper process. | ||
Use <code>webservice | Use the <code>webservice</code> command to manage your web service: | ||
{{Codesample|name=Operating a PHP web service|lang=shell-session|scheme=light|code= | |||
$ webservice --backend=kubernetes php7.4 start{{!}}stop{{!}}restart | |||
}} | |||
If you need a shell with your PHP version installed, for example to install dependencies, you can use: | |||
{{Codesample|name=Launching a shell with your PHP version available|lang=shell-session|scheme=light|code= | |||
tools.my-tool@tools-sgebastion-07:~$ webservice --backend=kubernetes php7.4 shell | |||
tools.my-tool@shell-1636616698:~$ | |||
}} | |||
{{:Help:Cloud Services communication}} | {{:Help:Cloud Services communication}} |
Latest revision as of 08:00, 11 November 2021
Overview
See also: lighttpd PHP help documentation
The php7.4
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:
Operating a PHP web service
$ webservice --backend=kubernetes php7.4 start|stop|restart
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:~$ webservice --backend=kubernetes php7.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, the bridged Telegram channel, or the bridged Mattermost channel
- Discuss via email after you subscribed to the cloud@ mailing list
Receive mail announcements about critical changes
Subscribe to the cloud-announce@ mailing list (all messages are also mirrored to the cloud@ list)
Track work tasks and report bugs
Use the Phabricator workboard #Cloud-Services for bug reports and feature requests about the Cloud VPS infrastructure itself
Learn about major near-term plans
Read the News wiki page
Read news and stories about Wikimedia Cloud Services
Read the Cloud Services Blog (for the broader Wikimedia movement, see the Wikimedia Technical Blog)