Salve a tutti, potete aiutarmi?
Vorrei imparare ad usare PHP e mySql dopo tanti anni che lavoro nel mondo Oracle,
ho comprato un... mattone per i primi rudimenti (Php e MySql di E.williams & David
Lane O'Reilly) e, come consigliato dal testo, ho ho scaricato EasyPHP 2.0b1
(ultima release anche se il testo fa riferimento alla 1.7) ho installato
Apache, Mysql, il db di esempio dopo di che il testo consiglia di installare
Pear ma qui cominciano i miei problemi.
L'installazione è su Windows XP
Mi viene chiesto di lanciare da DOS il comando go-pear.bat lo lancio e
questo è quello che esce:
Are you installing a system-wide PEAR or a local copy?
(system|local) [system] : local
Please confirm local copy by typing 'yes' : local
Below is a suggested file layout for your new PEAR installation. To
change individual locations, type the number in front of the
directory. Type 'all' to change all of them or simply press Enter to
accept these locations.
- Installation base ($prefix) : C:\Programmi\EasyPHP 2.0b1\php5
- Binaries directory : C:\Programmi\EasyPHP 2.0b1\php5
- PHP code directory ($php_dir) : C:\Programmi\EasyPHP 2.0b1\php5\pear
- Documentation directory : C:\Programmi\EasyPHP 2.0b1\php5\pear\docs
- Data directory : C:\Programmi\EasyPHP 2.0b1\php5\pear\data
- Tests directory : C:\Programmi\EasyPHP 2.0b1\php5\pear\tests
- Name of configuration file : C:\WINDOWS\pear.ini
- Path to CLI php.exe : C:\Programmi\EasyPHP 2.0b1\php5.
1-8, 'all' or Enter to continue:
Beginning install...
Configuration written to C:\WINDOWS\pear.ini...
Initialized registry...
Warning: Cannot use a scalar value as an array in phar://go-pear.phar/PEAR/Comma
nd.php on line 268
Warning: Cannot use a scalar value as an array in phar://go-pear.phar/PEAR/Comma
nd.php on line 268
Warning: Cannot use a scalar value as an array in phar://go-pear.phar/PEAR/Comma
nd.php on line 268
Warning: Cannot use a scalar value as an array in phar://go-pear.phar/PEAR/Comma
nd.php on line 268
Warning: Cannot use a scalar value as an array in phar://go-pear.phar/PEAR/Comma
nd.php on line 268
Warning: Cannot use a scalar value as an array in phar://go-pear.phar/PEAR/Comma
nd.php on line 268
Preparing to install...
installing phar://go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.1.tar...
installing phar://go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.2.tar...
installing phar://go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.4.11.tar...
Warning: Cannot use a scalar value as an array in phar://go-pear.phar/Archive/Ta
r.php on line 2334
Warning: Cannot use a scalar value as an array in phar://go-pear.phar/Archive/Ta
r.php on line 2338
Could not get contents of package "". Invalid tgz file.
Cannot initialize 'phar://go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.1.t
ar', invalid or missing package file
Warning: Cannot use a scalar value as an array in phar://go-pear.phar/Archive/Ta
r.php on line 2334
Warning: Cannot use a scalar value as an array in phar://go-pear.phar/Archive/Ta
r.php on line 2338
Could not get contents of package "". Invalid tgz file.
Cannot initialize 'phar://go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.2.
tar', invalid or missing package file
Warning: Cannot use a scalar value as an array in phar://go-pear.phar/Archive/Ta
r.php on line 2334
Warning: Cannot use a scalar value as an array in phar://go-pear.phar/Archive/Ta
r.php on line 2338
Could not get contents of package "". Invalid tgz file.
Cannot initialize 'phar://go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.4.11.tar', i
nvalid or missing package file
Warning: Cannot use a scalar value as an array in phar://go-pear.phar/PEAR/Comma
nd/Install.php on line 427
Warning: Cannot use a scalar value as an array in phar://go-pear.phar/PEAR/Comma
nd/Install.php on line 427
Warning: Cannot use a scalar value as an array in phar://go-pear.phar/PEAR/Comma
nd/Install.php on line 427
Warning: Cannot use a scalar value as an array in phar://go-pear.phar/PEAR/Comma
nd/Install.php on line 429
install failed
Premere un tasto per continuare . . .
Da notare che le directory esistono tutte tranne la 8
il file pear.ini in windows contiene:
#PEAR_Config 0.9
a:8:{s:15:"preferred_state";s:6:"stable";s:7:"bin_dir";s:31:"C:\Programmi\EasyPHP
2.0b1\php5";s:7:"php_dir";s:36:"C:\Programmi\EasyPHP
2.0b1\php5\pear";s:7:"doc_dir";s:41:"C:\Programmi\EasyPHP
2.0b1\php5\pear\docs";s:8:"data_dir";s:41:"C:\Programmi\EasyPHP
2.0b1\php5\pear\data";s:8:"test_dir";s:42:"C:\Programmi\EasyPHP
2.0b1\php5\pear\tests";s:7:"php_bin";s:41:"C:\Programmi\EasyPHP
2.0b1\php5.\php.exe";s:10:"__channels";a{s:12:"pecl.php.net";a:0:{}s:5:"__uri"
;a:0:{}}}
Potete aiutarmi?
Grazie
Maurizio