PHP version

Post your questions about Web Server usage and Apache + PHP + MySQL/SQLite web applications.
Post Reply
RaDiO-NL
Starting out
Posts: 14
Joined: Wed Sep 05, 2007 7:43 pm

PHP version

Post by RaDiO-NL »

Hi all,

Maybe i overlook it somewhere, but i cannot find it.

I want to install a PHP script for automatic thumbnail creation with security etc. In the requirements of the program it states: must support php > 4.3.0 and gdlib > 2.0.1.

Does the QNAP TS-101 has this, so can i use this program?
The program is tinywebgallery http://www.tinywebgallery.com

Thanks in advance!

Andries
QNAP TS-101 running 2.1.0 Build 0612
Seagate Barracuda 7200.10 500GB,7200rpm,16M,SATAII
Wired 100MB Connection
Pinnacle Soundbridge M1001
The Netherlands
User avatar
kent
QNAP Staff
Posts: 198
Joined: Fri Aug 31, 2007 5:21 pm
Location: Taipei, Taiwan

Post by kent »

You can refer to the following instructions to check the version and information of the Web Server services, including PHP, SQLite, GD etc.

1. Enable Web Server of this server.
2. Create a php file and write the following codes:
<phpinfo>
3. Name this file as phpinfo.php and save to the Qweb folder of this server.
4. Enter http://yourIP/phpinfo.php in the web browser; you can view the related details.
5. Checking finished. It is recommended that you delete this file to avoid divulging the information of the Web Server and ensure server security.
I am Kent. Nice to meet you!
RaDiO-NL
Starting out
Posts: 14
Joined: Wed Sep 05, 2007 7:43 pm

Post by RaDiO-NL »

Hi Kent,

Thanks for the info.

with <phpinfo> in the file, nothing happens. You have to put in:
<?php
phpinfo();
?>

then you get a page with all the info.

But what about the gdlib? I see something wih GD on the output of the phpinfo, so does it support this?

Thanks,

Andries
QNAP TS-101 running 2.1.0 Build 0612
Seagate Barracuda 7200.10 500GB,7200rpm,16M,SATAII
Wired 100MB Connection
Pinnacle Soundbridge M1001
The Netherlands
User avatar
kent
QNAP Staff
Posts: 198
Joined: Fri Aug 31, 2007 5:21 pm
Location: Taipei, Taiwan

Post by kent »

Hi RaDiO-NL,

You are right, it is my mistake.
I used copy/paste, I think some character was filter in this board.
Sorry for the inconvenient!
I am Kent. Nice to meet you!
Post Reply

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