chb1982

PHP Script per Shell ausführen - php command not found

geschlossengelöstFrageLinux
Moin,

ich möchte unter meinem Debian ein PHP Script per shell ausführen.
mit
php test.php
geht es aber nicht, weil "command not found"

php5 ist mit apt-get installiert

Jemand eine Idee warum das nicht funktioniert?
Auf Facebook teilen
Auf X (Twitter) teilen
Auf Reddit teilen
Auf Linkedin teilen

Content-ID: 87113

Url: https://administrator.de/forum/php-script-per-shell-ausfuehren-php-command-not-found-87113.html

Ausgedruckt am: 08.05.2025 um 17:05 Uhr

masterG
masterG 07.05.2008 um 17:35:33 Uhr
Goto Top
Es fehlt die php5-cli!!!

apt-get install php5-cli
ich glaub das paket heißt php5-cli.... einfach probieren!

masterG
chb1982
chb1982 07.05.2008 um 17:41:07 Uhr
Goto Top
Genau das war es!

Vielen Dank!!!
masterG
masterG 07.05.2008 um 17:41:42 Uhr
Goto Top
Genau das war es!

Vielen Dank!!!

Jeder Zeit wieder face-wink