You are here: Compiling PDO statically into PHP 5.0.4 « PHP « IT news, forums, messages
Compiling PDO statically into PHP 5.0.4

Posted by Andreas Korthaus on 06/06/05 12:33

Hi!

I would like to compile PDO + PDO_sqlite statically into PHP 5.0.4.
First I downloaded PDO-0.3.tgz and PDO_SQLITE-0.3.tgz and extracted them
to /my/phpsrcdir/ext. I renamed the directories from "PDO-0.3" to "pdo"
and from "PDO_SQLITE-0.3" to "pdo_sqlite".

I tried to follow these instructions:
http://www.php.net/manual/en/install.pecl.static.php

so from /my/phpsrcdir I executed:

../buildconf --force

But after this I tried

../configure --help | grep -i pdo

without any results.

So I did not know which ./configure parameters where necessary, so I
extracted these .tgz-files to another location (not in /my/phpsrcdir)
and used phpize to find out which ./configure parameters I need. So I
found out that I have to use

--enable-pdo --with-pdo-sqlite

I did not expect it to work, but I tried to execute the following
../configure command:

../configure \
--prefix=/my/phpbindir/ \
--enable-pdo \
--with-pdo-sqlite \
--enable-memory-limit

It did not fail, but after make && make install there is no pdo-support
compiled in.

What is going wrong here? What can I do?


kind regards
Andreas

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация