Firmware: A-410 [01 Apr. 2014] | A-400 [12 Mar. 2014] | C-300 [13 Feb. 2014] | A-300 [24 Feb. 2014] | C-200 [11 July 2013] | A-200/A-210 [11 July 2013] | Popbox V8 [3 Dec 2013]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Post Reply 
Faster PHP server CSI package
08-22-2009, 05:17 AM
Post: #46
RE: Faster PHP server CSI package
btpd webui is not working when this is installed
Find all posts by this user
Add Thank You Quote this message in a reply
08-22-2009, 08:27 AM
Post: #47
RE: Faster PHP server CSI package
@xeth

thanks for the report, i'll load up btpd on my side and see what i can figure out.

journey4712

Automated TV Downloads | On-Demand Network Shares | Faster PHP (lighttpd+fastcgi+apc)
PCH-A100 | PCH-C200 | XBMC HTPC | Sharp Aquos 42D62U | Logitech Z-5500
Find all posts by this user
Add Thank You Quote this message in a reply
08-22-2009, 01:17 PM
Post: #48
RE: Faster PHP server CSI package
While i thought i checked it appears i missed a php extension (sockets). I've added that to the build and btpd is now working properly for me. Please update lighttpd to -nmt6 through CSI and let me know if its working for you.

journey4712

Automated TV Downloads | On-Demand Network Shares | Faster PHP (lighttpd+fastcgi+apc)
PCH-A100 | PCH-C200 | XBMC HTPC | Sharp Aquos 42D62U | Logitech Z-5500
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to journey4712 for this post
08-23-2009, 08:51 PM
Post: #49
RE: Faster PHP server CSI package
Works like a charm here, still thinking of a non-intrusive way of informing users of this app.
I'll come up with something soon. Thanks Erik!

Easy way of installing software on your NMT using just your mouse: NMT Community Software Installer
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
08-25-2009, 06:37 AM (This post was last modified: 08-25-2009 06:40 AM by journey4712.)
Post: #50
RE: Faster PHP server CSI package
(08-23-2009 08:51 PM)Ger Teunis Wrote:  Works like a charm here, still thinking of a non-intrusive way of informing users of this app.
I'll come up with something soon. Thanks Erik!

Had an idea that may work. On the 'Upload and Install' screen there is a bit of free space. You could check the xml to see if the web or gaya web paths use port 9999. If the application does use the CSI webserver and lighttpd is not installed then add a bit to the dialog with a checkbox or something to inform the user of lighttpd and allow them to install it as well after their package installs

journey4712

Automated TV Downloads | On-Demand Network Shares | Faster PHP (lighttpd+fastcgi+apc)
PCH-A100 | PCH-C200 | XBMC HTPC | Sharp Aquos 42D62U | Logitech Z-5500
Find all posts by this user
Add Thank You Quote this message in a reply
08-26-2009, 08:29 AM
Post: #51
RE: Faster PHP server CSI package
@journey4712

One more request. The current version of lighttpd compiled with libxslt?. It will really helpful for the Dynamic Jukebox which I am working right now.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730

oPKG Available Packages and Info:
400 Series - 200/300 Series - 100 Series
Find all posts by this user
Add Thank You Quote this message in a reply
08-26-2009, 08:40 AM
Post: #52
RE: Faster PHP server CSI package
(08-26-2009 08:29 AM)vaidyasr Wrote:  @journey4712

One more request. The current version of lighttpd compiled with libxslt?. It will really helpful for the Dynamic Jukebox which I am working right now.

Sriram,

Nice hear about new project. Please consider adding a nice Dynamic Photo album (Photo JukeBox) to the package.
Waiting for another exciting tool from you!

Madhu Babu K
| eGreat M31B | Seagate 500GB PipelineHD | TP-Link WN821N | Netgear WG614V7 | LG 32LH20 TV |
Find all posts by this user
Add Thank You Quote this message in a reply
08-27-2009, 09:22 AM (This post was last modified: 08-27-2009 09:22 AM by journey4712.)
Post: #53
RE: Faster PHP server CSI package
(08-26-2009 08:29 AM)vaidyasr Wrote:  @journey4712

One more request. The current version of lighttpd compiled with libxslt?. It will really helpful for the Dynamic Jukebox which I am working right now.

I compiled this in(assuming u mean xsl support compiled into php) and built the package. I have loaned my nmt out again though so for the next couple weeks i am unable to test any builds.

I've uploaded lighttpd-1.4.19-nmt7.zip but will need someone else to verify its all proper before i change the CSI to this version.

Verifying should be simple just:
install the package, check that the web server is alive on port 9999,
open up the apc page(http://popcorn:9999/lighttpd_web/apc.php) and make sure apc is enabled.
From a shell run `/share/Apps/lighttpd/bin/php -m` and verify the list of compiled in modules includes xsl.

I only made minor tweaks to daemon.sh to accomidate the extra libraries so i think this should work first try but always good to know Smile

journey4712

Automated TV Downloads | On-Demand Network Shares | Faster PHP (lighttpd+fastcgi+apc)
PCH-A100 | PCH-C200 | XBMC HTPC | Sharp Aquos 42D62U | Logitech Z-5500
Find all posts by this user
Add Thank You Quote this message in a reply
08-27-2009, 09:24 AM (This post was last modified: 08-27-2009 09:43 AM by defer.)
Post: #54
RE: Faster PHP server CSI package
(08-26-2009 08:40 AM)madhubabuk Wrote:  Sriram,

Nice hear about new project. Please consider adding a nice Dynamic Photo album (Photo JukeBox) to the package.
Waiting for another exciting tool from you!


indead a photo jukebox would be nice.
thanks in advance
(08-27-2009 09:22 AM)journey4712 Wrote:  I compiled this in(assuming u mean xsl support compiled into php) and built the package. I have loaned my nmt out again though so for the next couple weeks i am unable to test any builds.

I've uploaded lighttpd-1.4.19-nmt7.zip but will need someone else to verify its all proper before i change the CSI to this version.

Verifying should be simple just:
install the package, check that the web server is alive on port 9999,
open up the apc page(http://popcorn:9999/lighttpd_web/apc.php) and make sure apc is enabled.
From a shell run `/share/Apps/lighttpd/bin/php -m` and verify the list of compiled in modules includes xsl.

I only made minor tweaks to daemon.sh to accomidate the extra libraries so i think this should work first try but always good to know Smile

journey4712


I have installed lighttpd 1.4.19-nmt6 and opened through http://popcorn:9999/lighttpd_web/apc.php. APC info is there. I can read there's a new version to install APC 3.1.3 ?

Popcorn Hour A-110 + 1 TB Hard disk (WD Caviar Green Power WD10EADS)
Find all posts by this user
Add Thank You Quote this message in a reply
08-27-2009, 10:03 AM
Post: #55
RE: Faster PHP server CSI package
lighttpd-1.4.19-nmt7.zip isn't working completely correct here.
When I open a page nothing happens, it will remain waiting.

netstat -lpt showed lighttpd is started on port 9999 though.
Code:
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:9999            0.0.0.0:*               LISTEN      15634/lighttpd

Opening apc.php or any application will just stall (waiting for host...).
Reverted back to nmt6 and all is fine again.

Easy way of installing software on your NMT using just your mouse: NMT Community Software Installer
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
08-27-2009, 08:36 PM
Post: #56
RE: Faster PHP server CSI package
I had to desinstall lighttpd 1.4.19-nmt6 because I could not more download with NZBget.
after the desinstallation downloading was oké.
I had the message : Connection to my1. newsserver. com failed: ErrNo 145, Connection timed out !

Popcorn Hour A-110 + 1 TB Hard disk (WD Caviar Green Power WD10EADS)
Find all posts by this user
Add Thank You Quote this message in a reply
08-29-2009, 02:44 AM
Post: #57
RE: Faster PHP server CSI package
The app installed but this link timed out:
http://popcorn:9999/lighttpd_web/apc.php

Also it looks like a library is missing:
root@PCH-A110 HARD_DISK$ /share/Apps/lighttpd/bin/php -m
/share/Apps/lighttpd/bin/php: can't load library 'libexslt.so.0'

Thanks for your efforts!!!
Find all posts by this user
Add Thank You Quote this message in a reply
08-29-2009, 08:58 AM (This post was last modified: 08-29-2009 09:01 AM by journey4712.)
Post: #58
RE: Faster PHP server CSI package
(08-29-2009 02:44 AM)designcomputer Wrote:  The app installed but this link timed out:
http://popcorn:9999/lighttpd_web/apc.php

Also it looks like a library is missing:
root@PCH-A110 HARD_DISK$ /share/Apps/lighttpd/bin/php -m
/share/Apps/lighttpd/bin/php: can't load library 'libexslt.so.0'

Thanks for your efforts!!!

Thanks for checking this out(and the others, this just happens to be most recent reply Smile

Could you check that /share/Apps/lighttpd/lib contains libexslt.so.0 ? i double checked the .tar and it has libexslt.so.0.8.3, with a symlink from libexslt.so.0. If that file exists, look in /lib to see if the symlinks were created, there should be a symlink in /lib for each *.so* file in /share/Apps/lighttpd/lib

I'm thinking theres got to be some small issue in the loop that creates these symlinks, but its not jumping out at me. The shell script looks like:

Code:
for lib in lib/*.so*; do
    if [ ! -f /lib/${lib} ];then
        rm -f /lib/${lib}
        ln -s "${PWD}/lib/${lib}" /lib
    fi
done

and at the time thats run PWD is /share/Apps/lighttpd/

I cant think of what the problem is yet, i'll think on it more tomorow but posting it here as well incase someone else notices what my mistake was Smile

journey4712

Automated TV Downloads | On-Demand Network Shares | Faster PHP (lighttpd+fastcgi+apc)
PCH-A100 | PCH-C200 | XBMC HTPC | Sharp Aquos 42D62U | Logitech Z-5500
Find all posts by this user
Add Thank You Quote this message in a reply
08-29-2009, 11:19 AM (This post was last modified: 08-29-2009 11:21 AM by cheaper_popcorn.)
Post: #59
RE: Faster PHP server CSI package
I'm not a copywriter either but I love corny wordplay:

amPHPetamine

caPHPeine

adrenaliNMT

greaseferret (ferrets are pretty quick and if you grease them up real good they will probably be even quicker)

PHPalcon

Big Grin

(08-20-2009 10:02 AM)dc11ab Wrote:  How about:

"AppSpeed"
"AppAccelerator"
"NMT App Enhancer"
or
"NetworkedMediaBolt"

(There must be many reasons I do not work as a copywriter Tongue)

Media tank:A-100 & C-200
TV:Panasonic TH-50PY800MT (HDMI)
Audio:Logitech Z-5500 (Coaxial)
Find all posts by this user
Add Thank You Quote this message in a reply
08-29-2009, 11:49 AM
Post: #60
RE: Faster PHP server CSI package
As long as the original lighttpd remains in the repository I am fine Big Grin
New CSI depends on the "lighttpd" name now and will notify users to install it for better performance.

Easy way of installing software on your NMT using just your mouse: NMT Community Software Installer
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Serviio (DLNA server) RXP 3 4,341 12-30-2012 11:14 AM
Last Post: mikk
  ftp server and upload images from ipcam defer 8 7,499 02-11-2012 04:48 PM
Last Post: vanquish99
  HTTP streaming server on A110 ? dony71 0 2,004 01-26-2012 02:48 AM
Last Post: dony71
  A-110 used like server db to store sensor data csorda 0 1,532 01-18-2012 04:06 PM
Last Post: csorda
Music fuppes 0.629 for NMT - dlna, upnp media server [UPDATED: 31-May-2009] Mr Segfault 53 54,859 10-12-2011 01:04 AM
Last Post: spud
  OpenSSH for SFTP server? dony71 0 1,153 09-30-2011 05:32 AM
Last Post: dony71
  web server manifest support harrykausl 0 1,562 07-20-2011 09:35 AM
Last Post: harrykausl
  Help with Server Timeout Error running a script hindibuff 0 2,162 03-29-2011 06:21 AM
Last Post: hindibuff
Bug Executing a script on the server from the NMT? johnk 6 4,150 02-21-2011 10:59 PM
Last Post: johnk
  Popcorn does not see Twonky or PS3 Media Server rgn2000 0 3,993 09-02-2010 09:14 PM
Last Post: rgn2000

Forum Jump: