[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: potato: upgrading php4- Can it be done?




On Wednesday, July 31, 2002, at 11:50 PM, Wim Fournier wrote:

Hi list,

Will someone *please* explain how I can get a more recent version of
php4 & modules than this on my Debian 2.2-based server:
try:
edit your /etc/apt/sources.list and set up a repos called deb-source using
woody.
do a apt-get update
do a apt-get source php4 build

then it will build the php4 from the woody repos from source to match your
machine. This may cause problems when compiling because inconsistencies
between potato and woody source build mechanisms

You're right. It doesn't work:
toby@spaz:~$ cd php4-4.1.2/
toby@spaz:~/php4-4.1.2$ debian/rules build
dh_testdir
make: dh_testdir: Command not found
make: *** [configure-apache-stamp] Error 127
toby@spaz:~/php4-4.1.2$

Does this mean it is not possible to upgrade PHP4 from Debian 2.2 installed version (4.0.3pl1) without upgrading the whole system to woody? That would be absurd!

Or have I failed to install a package needed for the build? (dpkg-dev 1.6.15 is installed)

Toby


# dpkg -l |grep php4
ii  php4           4.0.3pl1-0pota A server-side, HTML-embedded
scripting langu
ii  php4-cgi       4.0.3pl1-0pota A server-side, HTML-embedded
scripting langu
ii  php4-cgi-gd    4.0.3pl1-0pota GD module for php4-cgi
ii  php4-cgi-mysql 4.0.3pl1-0pota MySQL module for php4-cgi
ii  php4-gd        4.0.3pl1-0pota GD module for php4
ii  php4-mysql     4.0.3pl1-0pota MySQL module for php4

*without* doing a full upgrade to woody? (this is a production server
and I don't want to take any unnecessary risks)
e.g. I want to install a PHP-based gallery
(
http://gallery.menalto.com/modules.php?op=modload&name=News&file=index
)  and it wants "4.0.4pl1 or more recent". Whaddyaknow, it
*specifically* refuses to install on 4.0.3pl1.

Thanks.

Toby


--
To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org


With kind regards,

Wim Fournier






Reply to: