View previous topic :: View next topic |
Author |
Message |
lejim Tux's lil' helper
Joined: 26 Feb 2007 Posts: 106 Location: France / Chilly Mazarin
|
Posted: Sun Jun 03, 2007 7:25 pm Post subject: [PHP] function system() manquante (résolu) |
|
|
Hi @ all,
j'ai un petit soucis avec mon install php je n'ai visiblement pas la fonction system() de dispo et j'avoue ne pas trop savoir quel use flag ou quoi faire pour la rendre disponible.
voici quelques infos :
Code: | [ebuild R ] dev-lang/php-5.2.2-r1 USE="apache2 berkdb bzip2 cgi cli crypt ctype fastbuild ftp gd gdbm iconv mysql mysqli ncurses nls pcre posix readline reflection session spl ssl truetype unicode xml zip zlib" |
Voila la version de php avec les uses activés.
Last edited by lejim on Mon Jun 04, 2007 4:05 pm; edited 1 time in total |
|
Back to top |
|
|
dapsaille Advocate
Joined: 02 Aug 2004 Posts: 2366 Location: Paris
|
Posted: Sun Jun 03, 2007 8:33 pm Post subject: |
|
|
Es tu sur qu'lle ne soit pas présente ??
Peut être est elle limitée au dossier courant ... |
|
Back to top |
|
|
lejim Tux's lil' helper
Joined: 26 Feb 2007 Posts: 106 Location: France / Chilly Mazarin
|
Posted: Sun Jun 03, 2007 9:51 pm Post subject: |
|
|
J'ai oublié un bout...
Code: | Parse error: syntax error, unexpected T_STRING in /var/www/localhost/htdocs/postfixadmin/admin/delete.php on line 110 |
et voici le bout de code incriminé
Code: | $userarray=explode("@",$fDelete);
$user=$userarray[0];
$domain=$userarray[1];
system("sudo /usr/sbin/maildirdel.sh ".$domain. .$user); |
|
|
Back to top |
|
|
geekounet Bodhisattva
Joined: 11 Oct 2004 Posts: 3772 Location: Wellington, Aotearoa
|
Posted: Sun Jun 03, 2007 10:14 pm Post subject: |
|
|
T'as plutôt un problème de quotes je dirais ... |
|
Back to top |
|
|
Poch Tux's lil' helper
Joined: 09 Jun 2006 Posts: 105 Location: Namur, Belgique
|
Posted: Mon Jun 04, 2007 6:46 am Post subject: |
|
|
lejim wrote: | J'ai oublié un bout...
Code: | Parse error: syntax error, unexpected T_STRING in /var/www/localhost/htdocs/postfixadmin/admin/delete.php on line 110 |
|
geekounet + 1
Le "syntax error" est plutôt explicite, le problème vient probablement de tes quotes... _________________ Microsoft is not the answer. Microsoft is the question. NO, is the answer. |
|
Back to top |
|
|
dapsaille Advocate
Joined: 02 Aug 2004 Posts: 2366 Location: Paris
|
Posted: Mon Jun 04, 2007 7:25 am Post subject: |
|
|
que donne un simple ls > test en fonction system ? |
|
Back to top |
|
|
lejim Tux's lil' helper
Joined: 26 Feb 2007 Posts: 106 Location: France / Chilly Mazarin
|
Posted: Mon Jun 04, 2007 4:05 pm Post subject: |
|
|
Effectivment un petit soucis de guillemets... qui revele un autre petit soucis d'encodage... m'enfin c'est résolu
Merci |
|
Back to top |
|
|
|