Bonjour j'ai installé apc, tout semble correct dans le phpinfo
mais les fonction ne sont pas reconnu :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14 <? $fruit = 'apple'; $veggie = 'carrot'; apc_store('foo', $fruit); apc_store('bar', $veggie); if (apc_exists('foo')) { echo "Foo existe: "; echo apc_fetch('foo'); } else { echo "Foo n'existe pas"; } ?>Si je commente le if, apc_fetch('foo') retourne vide-->Fatal error: Call to undefined function apc_exists() in /var/www/connect.php on line 8
merci d'avance
![]()







Répondre avec citation
Partager