IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Symfony PHP Discussion :

[symfony2] Problème après l'installation de apc


Sujet :

Symfony PHP

  1. #1
    Membre du Club
    Profil pro
    ceo
    Inscrit en
    Août 2005
    Messages
    62
    Détails du profil
    Informations personnelles :
    Localisation : France, Rhône (Rhône Alpes)

    Informations professionnelles :
    Activité : ceo

    Informations forums :
    Inscription : Août 2005
    Messages : 62
    Points : 48
    Points
    48
    Par défaut [symfony2] Problème après l'installation de apc
    Bonjour,

    je suis en train d'essayer d'installer symfony sous wamp et après avoir galéré à trouver la bon fichier apc_dll qui correspond à ma configuration windows(x86) (et rajouter les lignes suivantes à la fin du fichier php.ini : extension=php_apc.dll
    [APC]
    2apc.enabled = 1
    3apc.rfc1867 = On
    4apc.shm_size = 64M
    5apc.max_file_size = 100M)
    la page "Welcome" de Symfony me dit bien "Your configuration looks good to run Symfony." mais j'ai plusieurs messages d'erreur qui s'affichent au dessus :

    ( ! ) Notice: Unknown: 1. h->opened_path=[null] h->filename=[C:/wamp/www/Symfony/web/config.php] in Unknown on line 0
    ( ! ) Notice: Unknown: apc_cache_find [-17728782] in Unknown on line 0
    ( ! ) Notice: Unknown: 2. h->opened_path=[C:\wamp\www\Symfony\web\config.php] h->filename=[C:/wamp/www/Symfony/web/config.php] in Unknown on line 0
    ( ! ) Notice: Unknown: apc_cache_make_file_entry: entry->data.file.filename is [C:\wamp\www\Symfony\web\config.php] in Unknown on line 0
    ( ! ) Notice: Unknown: Inserting [C:\wamp\www\Symfony\web\config.php] in Unknown on line 0
    ( ! ) Notice: require_once(): 1. h->opened_path=[C:\wamp\www\Symfony\app\SymfonyRequirements.php] h->filename=[C:\wamp\www\Symfony\app\SymfonyRequirements.php] in C:\wamp\www\Symfony\web\config.php on line 15
    Call Stack
    # Time Memory Function Location
    1 0.0060 154360 {main}( ) ..\config.php:0
    ( ! ) Notice: require_once(): apc_cache_find [-17776479] in C:\wamp\www\Symfony\web\config.php on line 15
    Call Stack
    # Time Memory Function Location
    1 0.0060 154360 {main}( ) ..\config.php:0
    ( ! ) Notice: require_once(): 2. h->opened_path=[C:\wamp\www\Symfony\app\SymfonyRequirements.php] h->filename=[C:\wamp\www\Symfony\app\SymfonyRequirements.php] in C:\wamp\www\Symfony\web\config.php on line 15
    Call Stack
    # Time Memory Function Location
    1 0.0060 154360 {main}( ) ..\config.php:0
    ( ! ) Notice: require_once(): apc_cache_make_file_entry: entry->data.file.filename is [C:\wamp\www\Symfony\app\SymfonyRequirements.php] in C:\wamp\www\Symfony\web\config.php on line 15
    Call Stack
    # Time Memory Function Location
    1 0.0060 154360 {main}( ) ..\config.php:0
    ( ! ) Notice: require_once(): Inserting [C:\wamp\www\Symfony\app\SymfonyRequirements.php] in C:\wamp\www\Symfony\web\config.php on line 15
    Call Stack
    # Time Memory Function Location
    1 0.0060 154360 {main}( ) ..\config.php:0
    Je n'ai donc aucune idée du pourquoi de ces erreurs, si vous avez des pistes je suis donc preneur!

    Merci d'avance

  2. #2
    Membre du Club
    Profil pro
    ceo
    Inscrit en
    Août 2005
    Messages
    62
    Détails du profil
    Informations personnelles :
    Localisation : France, Rhône (Rhône Alpes)

    Informations professionnelles :
    Activité : ceo

    Informations forums :
    Inscription : Août 2005
    Messages : 62
    Points : 48
    Points
    48
    Par défaut
    Personne, vraiment?

    J'ai essayé de réinstaller apc_dll mais rien ne change, personne n'a une petite idée ou un lien?

  3. #3
    Membre expert
    Avatar de Spartacusply
    Homme Profil pro
    Développeur Web
    Inscrit en
    Mai 2011
    Messages
    1 723
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Loire Atlantique (Pays de la Loire)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mai 2011
    Messages : 1 723
    Points : 3 274
    Points
    3 274
    Par défaut
    Le phpinfo() indique que c'est good ? (librairie chargée et fonctionnelle, pas d'erreur au démarrage du serveur dans les logs ?)

    (Au passage où as tu récupérer ta dll, je galère aussi à en trouver une pour windows ?)
    Un message utile vous a aidé ? N'oubliez pas le

    www.simplifions.fr - Simplifier vos comptes entre amis !

  4. #4
    Membre du Club
    Profil pro
    ceo
    Inscrit en
    Août 2005
    Messages
    62
    Détails du profil
    Informations personnelles :
    Localisation : France, Rhône (Rhône Alpes)

    Informations professionnelles :
    Activité : ceo

    Informations forums :
    Inscription : Août 2005
    Messages : 62
    Points : 48
    Points
    48
    Par défaut
    Déjà merci pour ta réponse.

    Alors, déjà je l'ai trouvé ici ma dll : http://windows.php.net/downloads/pec...es/apc/3.1.13/ (c'est pour du 32bits, sinon faut taper dans google apc_dll.php 64bits, ça se trouve encore plus facilement)

    Sinon, phpinfo() ne me retourne pas d'erreurs non.

    Mais si je charge une page vide j'ai toujours les erreurs suivantes :

    ( ! ) Notice: Unknown: 1. h->opened_path=[null] h->filename=[C:/wamp/www/index.php] in Unknown on line 0

    ( ! ) Notice: Unknown: apc_cache_find [-17726022] in Unknown on line 0

    ( ! ) Notice: Unknown: 2. h->opened_path=[C:\wamp\www\index.php] h->filename=[C:/wamp/www/index.php] in Unknown on line 0

    ( ! ) Notice: Unknown: apc_cache_make_file_entry: entry->data.file.filename is [C:\wamp\www\index.php] in Unknown on line 0

    ( ! ) Notice: Unknown: Inserting [C:\wamp\www\index.php] in Unknown on line 0

  5. #5
    Nouveau membre du Club
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Mars 2013
    Messages
    38
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Développeur informatique
    Secteur : Agroalimentaire - Agriculture

    Informations forums :
    Inscription : Mars 2013
    Messages : 38
    Points : 39
    Points
    39
    Par défaut Problème similaire
    Bonjour,

    J'ai le même problème, as-tu trouvé une solution ?

    Merci,

Discussions similaires

  1. Réponses: 0
    Dernier message: 30/04/2013, 12h30
  2. Problème après l'installation de Zend
    Par patricx dans le forum Zend Framework
    Réponses: 9
    Dernier message: 06/12/2011, 23h36
  3. Problème d'écran après avoir installé linux
    Par zui dans le forum Matériel
    Réponses: 4
    Dernier message: 17/11/2006, 15h03
  4. [Configuration] Problème après l'installation (Parse error: syntax error,..)
    Par beur dans le forum EDI, CMS, Outils, Scripts et API
    Réponses: 8
    Dernier message: 21/03/2006, 14h08
  5. Réponses: 3
    Dernier message: 03/10/2005, 10h01

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo