[HELP] Configure PHP for XSL support on TS-109

Post your questions about Web Server usage and Apache + PHP + MySQL/SQLite web applications.
Post Reply
User avatar
Robeco
New here
Posts: 3
Joined: Wed Jan 21, 2009 3:08 am

[HELP] Configure PHP for XSL support on TS-109

Post by Robeco »

I need to configure PHP on TS-109 to enable XSL Transformations. The instructions I've found indicate that I should execute these commands:

Code: Select all

./configure \
--prefix=/usr/local/php \ 
--with-config-file-path=/usr/local/php \ 
--with-apxs=/usr/sbin/apxs \ 
--with-libxml-dir=/usr 
--with-xsl=/usr

make

make install
restart the server.

I can use Telnet or Putty to execute these commands but I presume I need to execute the above from wherever the PHP source files are stored and I can't find them.

Am I right to use the above commands and if so in what directory should I execute them?

Should I use the original 'Configure Command' as shown in phpInfo and add the extra parameters for xsl when executing configure?

Thanks for any help you can offer.
NAS Model: TS-112
FW Ver: 4.1.4 Build 20150820
OS:
No. of HDDs: 1
HDD Model:
HDD Capacity: 1TB
RAID Config: RAID 1
Services enabled:
Ext. Devices:
NAS Speed/MTU:
User avatar
fribse
Experience counts
Posts: 2090
Joined: Mon Feb 11, 2008 2:50 am
Location: Greve, Denmark
Contact:

Re: [HELP] Configure PHP for XSL support on TS-109

Post by fribse »

If you need to compile a new php, then you should first of get a compiler installed on the NAS.
This procedure is more suitable to discuss in the 'The Open TurboStation (Modderz Area / The Lab)' forums, and the guys there knows a lot more about it.
Good luck!
Best regards
Fribse

NO, RAID is NOT backup - Use RAID-Certified 24x7 drives for raid
HOWTO's:
Make automatic backup of ALL MySQL databases http://forum.qnap.com/viewtopic.php?f=32&t=15628

NAS-659 Pro II (3 GB Ram), Raid1, Survailance station, local backup destination + NAS-853A (16 GB Ram), Virtualization Station, Plex, iDrive
Network: Fritz!Box 7560 + 24p SG200 + 2x8p SG200 + 8p POE EdgeCore + 300/300 mbit Internet
Dennisonline
Starting out
Posts: 35
Joined: Thu Apr 28, 2011 7:15 pm

Re: [HELP] Configure PHP for XSL support on TS-109

Post by Dennisonline »

fribse wrote:If you need to compile a new php, then you should first of get a compiler installed on the NAS.
This procedure is more suitable to discuss in the 'The Open TurboStation (Modderz Area / The Lab)' forums, and the guys there knows a lot more about it.
Good luck!

So ther is an option to complile PHP 5.3.x for the TS-119 ?
User avatar
fribse
Experience counts
Posts: 2090
Joined: Mon Feb 11, 2008 2:50 am
Location: Greve, Denmark
Contact:

Re: [HELP] Configure PHP for XSL support on TS-109

Post by fribse »

Well, if you know about compiling code, etc. there's always an option to create your own php.
Best regards
Fribse

NO, RAID is NOT backup - Use RAID-Certified 24x7 drives for raid
HOWTO's:
Make automatic backup of ALL MySQL databases http://forum.qnap.com/viewtopic.php?f=32&t=15628

NAS-659 Pro II (3 GB Ram), Raid1, Survailance station, local backup destination + NAS-853A (16 GB Ram), Virtualization Station, Plex, iDrive
Network: Fritz!Box 7560 + 24p SG200 + 2x8p SG200 + 8p POE EdgeCore + 300/300 mbit Internet
Post Reply

Return to “Web Server & Applications (Apache + PHP + MySQL / SQLite)”