Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: [PECL/PEAR] Instalacja PHP Data Objects ( PDO )
Forum PHP.pl > Forum > PHP
starach
Myślałem że to przez xDebug więc go wyłączyłem, ale problem nadal jest ten sam.
To samo się dzieje kiedy dołączam php.ini czyli używam instalatora pear.
Co jest grane?
Cytat
D:\Serwery\PHP>pecl install PDO
downloading PDO-1.0.3.tgz ...
Starting to download PDO-1.0.3.tgz (52,613 bytes)
.............done: 52,613 bytes

Warning: rename(D:\Serwery\PHP\tmp\PDO\.tmpconfig.m4,D:\Serwery\PHP\tmp\PDO\config.m4): File exists in PEAR\Installer.php on line 626
Warning: rename(D:\Serwery\PHP\tmp\PDO\.tmpconfig.m4,D:\Serwery\PHP\tmp\PDO\config.m4): File exists in D:\Serwery\PHP\PEAR\PEAR\Installer.php on line 626
Warning: rename(D:\Serwery\PHP\tmp\PDO\.tmpconfig.w32,D:\Serwery\PHP\tmp\PDO\config.w32): File exists in PEAR\Installer.php on line 626
Warning: rename(D:\Serwery\PHP\tmp\PDO\.tmpconfig.w32,D:\Serwery\PHP\tmp\PDO\config.w32): File exists in D:\Serwery\PHP\PEAR\PEAR\Installer.php on line 626
Warning: rename(D:\Serwery\PHP\tmp\PDO\.tmpMakefile.frag,D:\Serwery\PHP\tmp\PDO\Makefile.frag): File exists in PEAR\Installer.php on line 626
Warning: rename(D:\Serwery\PHP\tmp\PDO\.tmpMakefile.frag,D:\Serwery\PHP\tmp\PDO\Makefile.frag): File exists in D:\Serwery\PHP\PEAR\PEAR\Installer.php on line 626
Warning: rename(D:\Serwery\PHP\tmp\PDO\.tmppdo.c,D:\Serwery\PHP\tmp\PDO\pdo.c): File exists in PEAR\Installer.php on line 626
Warning: rename(D:\Serwery\PHP\tmp\PDO\.tmppdo.c,D:\Serwery\PHP\tmp\PDO\pdo.c): File exists in D:\Serwery\PHP\PEAR\PEAR\Installer.php on line 626
Warning: rename(D:\Serwery\PHP\tmp\PDO\.tmppdo_dbh.c,D:\Serwery\PHP\tmp\PDO\pdo_dbh.c): File exists in PEAR\Installer.php on line 626
Warning: rename(D:\Serwery\PHP\tmp\PDO\.tmppdo_dbh.c,D:\Serwery\PHP\tmp\PDO\pdo_dbh.c): File exists in D:\Serwery\PHP\PEAR\PEAR\Installer.php on line 626
Warning: rename(D:\Serwery\PHP\tmp\PDO\.tmppdo_sqlstate.c,D:\Serwery\PHP\tmp\PDO\pdo_sqlstate.c): File exists in PEAR\Installer.php on line 626
Warning: rename(D:\Serwery\PHP\tmp\PDO\.tmppdo_sqlstate.c,D:\Serwery\PHP\tmp\PDO\pdo_sqlstate.c): File exists in D:\Serwery\PHP\PEAR\PEAR\Installer.php on line 626
Warning: rename(D:\Serwery\PHP\tmp\PDO\.tmppdo_sql_parser.c,D:\Serwery\PHP\tmp\PDO\pdo_sql_parser.c): File exists in PEAR\Installer.php on line 626
Warning: rename(D:\Serwery\PHP\tmp\PDO\.tmppdo_sql_parser.c,D:\Serwery\PHP\tmp\PDO\pdo_sql_parser.c): File exists in D:\Serwery\PHP\PEAR\PEAR\Installer.php on line 626
Warning: rename(D:\Serwery\PHP\tmp\PDO\.tmppdo_sql_parser.re,D:\Serwery\PHP\tmp\PDO\pdo_sql_parser.re): File exists in PEAR\Installer.php on line 626
Warning: rename(D:\Serwery\PHP\tmp\PDO\.tmppdo_sql_parser.re,D:\Serwery\PHP\tmp\PDO\pdo_sql_parser.re): File exists in D:\Serwery\PHP\PEAR\PEAR\Installer.php on line 626
Warning: rename(D:\Serwery\PHP\tmp\PDO\.tmppdo_stmt.c,D:\Serwery\PHP\tmp\PDO\pdo_stmt.c): File exists in PEAR\Installer.php on line 626
Warning: rename(D:\Serwery\PHP\tmp\PDO\.tmppdo_stmt.c,D:\Serwery\PHP\tmp\PDO\pdo_stmt.c): File exists in D:\Serwery\PHP\PEAR\PEAR\Installer.php on line 626
Warning: rename(D:\Serwery\PHP\tmp\PDO\.tmpphp_pdo.h,D:\Serwery\PHP\tmp\PDO\php_pdo.h): File exists in PEAR\Installer.php on line 626
Warning: rename(D:\Serwery\PHP\tmp\PDO\.tmpphp_pdo.h,D:\Serwery\PHP\tmp\PDO\php_pdo.h): File exists in D:\Serwery\PHP\PEAR\PEAR\Installer.php on line 626
Warning: rename(D:\Serwery\PHP\tmp\PDO\.tmpphp_pdo_driver.h,D:\Serwery\PHP\tmp\PDO\php_pdo_driver.h): File exists in PEAR\Installer.php on line 626
Warning: rename(D:\Serwery\PHP\tmp\PDO\.tmpphp_pdo_driver.h,D:\Serwery\PHP\tmp\PDO\php_pdo_driver.h): File exists in D:\Serwery\PHP\PEAR\PEAR\Installer.php on line 626
Warning: rename(D:\Serwery\PHP\tmp\PDO\.tmpphp_pdo_int.h,D:\Serwery\PHP\tmp\PDO\php_pdo_int.h): File exists in PEAR\Installer.php on line 626
Warning: rename(D:\Serwery\PHP\tmp\PDO\.tmpphp_pdo_int.h,D:\Serwery\PHP\tmp\PDO\php_pdo_int.h): File exists in D:\Serwery\PHP\PEAR\PEAR\Installer.php on line 626
12 source files, building
ERROR: The DSP PDO.dsp does not exist.

Przy pear install pecl/pdo nie wyświetlają się ostrzeżenia ale "ERROR: The DSP PDO.dsp does not exist." tak.
Zyx
Małe pytanie: po jaką cholerę ty to w ten sposób instalujesz, kiedy już od dłuższego czasu PDO jest wbudowane w PHP?
starach
Yyy to po jaką cholerę istnieje jeszcze cały czas PDO jako rozszerzenie w php.ini i katalogu ext?

Poza tym kiedy chcę zainstalować Propel'a to mi krzyczy że nie ma PDO.
Jeśli usunę średnik ; przed wpisem o wczytaniu pdo w php.ini to będzie ok i się zainstaluje.
Więc niby jak ono jest wbudowane skoro nie jest.

edit>
Mam PHP 5.2.6
PiotrLegnica
Zyxowi zapewne chodziło o to, że PDO jest od 5.1 częścią standardowej dystrybucji PHP. Próba kompilacji/instalacji przestarzałej wersji leżącej na PECLu to pomysł co najmniej chybiony.

Cytat
Yyy to po jaką cholerę istnieje jeszcze cały czas PDO jako rozszerzenie w php.ini i katalogu ext?

Coś mi się wydaje, że nie bardzo rozumiesz mechanizm działania rozszerzeń PHP i co robi "pecl install". Wpisy w php.ini to wszystko czego potrzebujesz do włączenia PDO.
starach
Wpisy w php.ini to wszystko czego potrzebujesz do włączenia PDO.

- Ta. Przed chwilą wpadłem na to że Pecl ściąga skompilowane biblioteki.
Dzięki. Swoją drogą dlaczego nieodsyfili tego pecla, albo chociaż nie oznaczyli PDO jako deprecated.
PiotrLegnica
Cytat
Pecl ściąga skompilowane biblioteki.

Nah. PECL (tzn. "pecl install") ściąga źródła i je kompiluje. Prekompilowane DLL pod Windows można znaleźć na PECL4WIN.
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.