Bonjour,
Je développe actuellement un projet grâce au framework Symfony2 et j'ai voulu ajouter le module APC à PHP pour gérer le cache.
En cherchant un peu, j'ai vu qu'il fallait installer PEAR (et PECL au passage) pour installer APC.
J'ai donc récupéré le fichier go-pear.phar, et j'ai fait l'install.
Le problème est que quand j'essaye d'installer APC a partir la console, eh ben ça ne marche pas. Afin d'être un peu plus précis, je vais vous donner les infos sur mes configs:
Pour PHP:
Pour PEAR:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5 C:\>php -v PHP 5.4.6 (cli) (built: Aug 15 2012 21:16:03) Copyright (c) 1997-2012 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
Pour PECL:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43 C:\>pear config-show CONFIGURATION (CHANNEL PEAR.PHP.NET): ===================================== Auto-discover new Channels auto_discover <not set> Default Channel default_channel pear.php.net HTTP Proxy Server Address http_proxy <not set> PEAR server [DEPRECATED] master_server pear.php.net Default Channel Mirror preferred_mirror pear.php.net Remote Configuration File remote_config <not set> PEAR executables directory bin_dir C:\www\php PEAR documentation directory doc_dir C:\www\php\docs PHP extension directory ext_dir c:/www/php/ext/ PEAR directory php_dir C:\www\php\pear PEAR Installer cache directory cache_dir C:\DOCUME~1\CHRIST~1.ELI\LOCALS~1\Temp\pear\cache PEAR configuration file cfg_dir C:\www\php\cfg directory PEAR data directory data_dir C:\www\php\data PEAR Installer download download_dir C:\www\php\tmp directory PHP CLI/CGI binary php_bin C:\www\php\php.exe php.ini location php_ini <not set> --program-prefix passed to php_prefix <not set> PHP's ./configure --program-suffix passed to php_suffix <not set> PHP's ./configure PEAR Installer temp directory temp_dir C:\www\php\tmp PEAR test directory test_dir C:\www\php\tests PEAR www files directory www_dir C:\www\php\www Cache TimeToLive cache_ttl 3600 Preferred Package State preferred_state beta Unix file mask umask 0 Debug Log Level verbose 1 PEAR password (for password <not set> maintainers) Signature Handling Program sig_bin c:\gnupg\gpg.exe Signature Key Directory sig_keydir C:\WINDOWS\pearkeys Signature Key Id sig_keyid <not set> Package Signature Type sig_type gpg PEAR username (for username <not set> maintainers) User Configuration File Filename C:\WINDOWS\pear.ini System Configuration File Filename C:\WINDOWS\pearsys.ini
Si jamais vous aviez des idées sur le pourquoi ça ne marche pas, ça serait génial.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43 C:\>PECL config-show CONFIGURATION (CHANNEL PECL.PHP.NET): ===================================== Auto-discover new Channels auto_discover <not set> Default Channel default_channel pecl.php.net HTTP Proxy Server Address http_proxy <not set> PEAR server [DEPRECATED] master_server pear.php.net Default Channel Mirror preferred_mirror pecl.php.net Remote Configuration File remote_config <not set> PEAR executables directory bin_dir C:\www\php PEAR documentation directory doc_dir C:\www\php\docs PHP extension directory ext_dir C:\php PEAR directory php_dir C:\www\php\pear PEAR Installer cache directory cache_dir C:\DOCUME~1\CHRIST~1.ELI\LOCALS~1\Temp\pear\cache PEAR configuration file cfg_dir C:\www\php\cfg directory PEAR data directory data_dir C:\www\php\data PEAR Installer download download_dir C:\www\php\tmp directory PHP CLI/CGI binary php_bin C:\www\php\php.exe php.ini location php_ini <not set> --program-prefix passed to php_prefix <not set> PHP's ./configure --program-suffix passed to php_suffix <not set> PHP's ./configure PEAR Installer temp directory temp_dir C:\www\php\tmp PEAR test directory test_dir C:\www\php\tests PEAR www files directory www_dir C:\www\php\www Cache TimeToLive cache_ttl 3600 Preferred Package State preferred_state beta Unix file mask umask 0 Debug Log Level verbose 1 PEAR password (for password <not set> maintainers) Signature Handling Program sig_bin c:\gnupg\gpg.exe Signature Key Directory sig_keydir C:\WINDOWS\pearkeys Signature Key Id sig_keyid <not set> Package Signature Type sig_type gpg PEAR username (for username <not set> maintainers) User Configuration File Filename C:\WINDOWS\pear.ini System Configuration File Filename C:\WINDOWS\pearsys.ini
Merci d'avance.
Partager