OVH Community, votre nouvel espace communautaire.

VPS Gentoo2; PEAR affiche du source php !


gerards
21/04/2012, 13h27
Mon problème :
VPS installé en gentoo2
(donc php en mode cli, au moins sur apache; pour le reste je ne sais pas)
Je n'ai fait aucune config particulière php...
Quand je veux utiliser PEAR j'obtiens en réponse un listing de code source perl ???
Voir ci-dessous (j'ai mis pear list, mais c'est pareil pour tout pear xxx).

What the f... ?

Si qq1 y comprends qqchose, merci de me sortir de là.


===============================================
> pwd
/usr/local/php5/bin
> ls -al pear
-rwxr-xr-x 1 root root 701 Jun 9 2006 pear
> ./pear list
X-Powered-By: PHP/5.2.13-pl1-gentoo
Content-type: text/html

# index.cgi
# Show the shell user interface

$unsafe_index_cgi = 1;
require './shell-lib.pl';
%access = &get_module_acl();
&ReadParseMime() if ($ENV{'REQUEST_METHOD'} ne 'GET');
&ui_print_header(undef, $text{'index_title'}, "", undef,
$module_info{'usermin'} ? 0 : 1, 1,
undef, undef, undef,
"onLoad='window.scroll(0, 10000); document.forms[0].cmd.focus()'");