DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-04-24 08:09:31

2mymall
Member
Registered: 2010-03-29
Posts: 11

Tyying to install PHP but failed

Downloaded php-5.2.4.tgz from www.inreto.de/dns323.

First I placed it in the /www folder. When that did not work, I tried the root folder. That does not work too.
It says funpkg.sh not found.
funpkg.sh is located in /ffp/sbin

root@DLink:~# funpkg.sh /mnt/HD_a2/addon/php-5.2.4.tgz
-sh: funpkg.sh: not found

I am trying to follow the instructions as shown on wiki.
http://dns323.kood.org/howto:simple_fun … o_lighttpd

Offline

 

#2 2010-04-24 10:54:39

Pejn
Member
Registered: 2007-12-17
Posts: 61

Re: Tyying to install PHP but failed

Never used funpkg.sh im just using the command funpkg -i php-5.2.4.tgz to install.

Offline

 

#3 2010-04-24 11:36:48

2mymall
Member
Registered: 2010-03-29
Posts: 11

Re: Tyying to install PHP but failed

Thanks. That command works. But now another problem.

It says ffp not found in package. I already have a folder /ffp there.
Does this mean I have to download and install a tgz package with ffp and php?

root@DLink:/mnt/HD_a2/www# funpkg -i /mnt/HD_a2/php-5.2.4.tgz
FATAL: /mnt/HD_a2/php-5.2.4.tgz: /ffp not found in package

I have lighttpd running and just need php for the /www folders.
I saw another package with sql included but I don't need that.

Please help a newb.

Offline

 

#4 2010-04-24 15:36:18

2mymall
Member
Registered: 2010-03-29
Posts: 11

Re: Tyying to install PHP but failed

Solved. Hope the following will help others with the same problem.

Followed in the steps of this dude.

http://dns323.kood.org/forum/viewtopic.php?id=5514

and followed instructions on

http://81.216.140.39/dns-323/mysql_and_php/

Downloaded and installed only the php package through shell

wget http://81.216.140.39/dns-323/mysql_and_ … ql51-1.tgz

funpkg -i php-5.2.6-mysql51-1.tgz

copied sample config file for PHP: cp /ffp/etc/examples/php.ini-recommended /ffp/etc/php.ini

copied lighttpd.conf-with-php and copied it to /etc/lighttpd.conf

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB