Ciao a tutti,
ho bisogno di utilizzare php come comando da shell, tuttavia ho scoperto che non c'è l'eseguibile, e non riesco a trovare un eventuale pacchetto da installare o indicazioni su cosa configurare per eseguirlo da shell.
Ho installato php5 su una mandriva 2007, come modulo di apache php5 funziona benissimo.
Qualche suggerimento?
grazie mille!
Ciao
Spero di avere capito quello che cerchi
<br />Name : php-cli Relocations: (not relocatable)<br />Version : 5.2.1 Vendor: Mandriva<br />Release : 4mdv2007.1 Build Date: ven 09 mar 2007 18:53:27 CET<br />Install Date: (not installed) Build Host: n3.mandriva.com<br />Group : Development/Other Source RPM: php-5.2.1-4mdv2007.1.src.rpm<br />Size : 27219 License: PHP License<br />Signature : DSA/SHA1, ven 09 mar 2007 19:51:01 CET, Key ID dd684d7a26752624<br />Packager : Oden Eriksson <oeriksson@mandriva.com><br />URL : http://www.php.net<br />Summary : PHP5 CLI interface<br />Description :<br />PHP5 is an HTML-embeddable scripting language. PHP5 offers built-in<br />database integration for several commercial and non-commercial<br />database management systems, so writing a database-enabled script<br />with PHP5 is fairly simple. The most common use of PHP5 coding is<br />probably as a replacement for CGI scripts.<br /><br />This package contains a command-line (CLI) version of php. You must<br />also install libphp5_common. If you need apache module support, you<br />also need to install the apache-mod_php package.<br /><br />This version of php has the suhosin patch 0.9.6.2 applied. Please<br />report bugs here: http://qa.mandriva.com/ so that the official maintainer of<br />this Mandriva package can help you. More information regarding the<br />suhosin patch 0.9.6.2 here: http://www.suhosin.org/<br /><br />%%% Files<br />/usr/bin/php<br />/usr/share/doc/php-cli-5.2.1<br />/usr/share/doc/php-cli-5.2.1/CREDITS.cli<br />/usr/share/doc/php-cli-5.2.1/README.cli<br />/usr/share/doc/php-cli-5.2.1/TODO.cli<br />/usr/share/man/man1/php.1.bz2<br />
Ciao Ciao Moreno
Addio, e grazie per tutto il pesce.
Avatar by moonlight-dream.