You Can Run PHP Scripts Like Regular Command Line Apps on Linux!

Veröffentlicht am: 06 Dezember 2019
auf dem Kanal: Category5 Technology TV with Robbie Ferguson
4,567
134

Whether you want to interact with a database from the Linux terminal, or create a cronjob that automatically caches content to speed up your web site, it's exciting to realize that PHP scripts can be written and run within the Linux command line interface just like a bash script! All you need is the php metapackage (eg., apt install php) and adding a single line to your script header:

#!/usr/bin/env php


Auf dieser Seite können Sie das Online-Video You Can Run PHP Scripts Like Regular Command Line Apps on Linux! mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Category5 Technology TV with Robbie Ferguson 06 Dezember 2019 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 4,567 Mal angesehen und es wurde von 134 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!