Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [PECL/PEAR] Instalacja PHP Data Objects ( PDO ), Błędy podczas instalacji
starach
post
Post #1





Grupa: Zarejestrowani
Postów: 999
Pomógł: 30
Dołączył: 14.01.2007
Skąd: wiesz ?

Ostrzeżenie: (0%)
-----


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.
Go to the top of the page
+Quote Post
Zyx
post
Post #2





Grupa: Zarejestrowani
Postów: 952
Pomógł: 154
Dołączył: 20.01.2007
Skąd: /dev/oracle

Ostrzeżenie: (0%)
-----


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?
Go to the top of the page
+Quote Post
starach
post
Post #3





Grupa: Zarejestrowani
Postów: 999
Pomógł: 30
Dołączył: 14.01.2007
Skąd: wiesz ?

Ostrzeżenie: (0%)
-----


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

Ten post edytował orglee 10.10.2008, 18:54:32
Go to the top of the page
+Quote Post
PiotrLegnica
post
Post #4





Grupa: Zarejestrowani
Postów: 71
Pomógł: 2
Dołączył: 6.07.2005
Skąd: Legnica

Ostrzeżenie: (0%)
-----


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.
Go to the top of the page
+Quote Post
starach
post
Post #5





Grupa: Zarejestrowani
Postów: 999
Pomógł: 30
Dołączył: 14.01.2007
Skąd: wiesz ?

Ostrzeżenie: (0%)
-----


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.
Go to the top of the page
+Quote Post
PiotrLegnica
post
Post #6





Grupa: Zarejestrowani
Postów: 71
Pomógł: 2
Dołączył: 6.07.2005
Skąd: Legnica

Ostrzeżenie: (0%)
-----


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.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 23.08.2025 - 09:19