ScreenshotThis module provides CLI and CGI versions of PHP 5.3 for use in web applications and by module developers if the built in PHP release is not sufficent. Through the module management page the PHP configuration file php.ini can be edited to allow in depth customizations and optimizations.


Supported Models

This module should work for the following models:

1U4200XXX, N2800, 1U4500, N4510U, 1U4600, M3800, N4800, N0503, N4800Eco, N2200XXX, N5550, N2520, N2560, N3200PRO, N6850, N3200XXX, N7510, N4100PRO, N7700PROv2, N4200, N8800PROv2, N4200Eco, N8900, N4200PRO, N8850, N4520, N8900V, N10850, N4560, N12000, N5200, N12000PRO, N5200PRO, N12000V, N5200XXX, N16000, N5500, N16000PRO, N7700, N16000V, N7700+, N7700PRO, N7700SAS, N8200XXX, N8800, N8800+, N8800PRO, N8800SAS


  • PHP 5.3.26


Extract the module binary package (.mod) from the archive and install it.

Note: This module depends on the module ModBase1 1.04.00+. Please make sure this module is installed and enabled prior to PHP53 is enabled.


After enabling the module the module status and configuration page can be accessed. This page allows to edit the PHP configuration and to reset the configuration to it's defaults.

After enabling the module, the path to the PHP CLI binary is


Using the CGI Version of the Module with the built in web server

Once enabled the module registers the CGI with the built in web server automatically. To use the CGI version of the module the following has to be added to a .htaccess file located in the root of the web tree of the module that wants to use this module:

AddType application/x-httpd-php-php53 .php
Action  application/x-httpd-php-php53 /modules/PHP53/cgi-bin/php-cgi

If you receive a "500 Server Error" error message when accessing your web pages you either missed to enable the PHP53 module or you have a typo in the .htaccess file.

Using the CGI Version of the Module with the Thecus WebServer module

To use the CGI version of the module with the Thecus WebServer module add the following to the modules httpd.conf:

<IfModule !mod_actions.c>                              
    LoadModule actions_module modules/

<IfModule mod_actions.c>                       

    ScriptAlias /.PHP53/cgi-bin/ /raid/data/module/PHP53/cgi-bin/

    <Directory /raid/data/module/PHP53/cgi-bin/>
        AllowOverride None                           
        Options +ExecCGI +FollowSymLinks       
        Order allow,deny                           
        Allow from all                       

    <Directory "/">                                   
        AllowOverride All 


AddType application/x-httpd-php-php53 .php
Action  application/x-httpd-php-php53 /.PHP53/cgi-bin/php-cgi

No .htaccess file is needed.

Using PHPs mail() function

To use the mail() function please make sure mail notifications are configured on the NAS. There is no need to enable mail notifications - just the right configuration values matter.

Known issues


Further informationen

Other modules known to make use of this module


[file] PHP53 1.08.02
MD5: 2280f47bf5e00eedcef8d0728c1a6ece
11.59 MB
[file] PHP53 1.07.00
MD5: 5941fba786216c8292e1638d4214385e
11.29 MB