PHP53

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, N4800, 1U4600, M3800, N6850, N0503, N2200XXX, N3200PRO, N8900, N3200XXX, N8850, N4100PRO, N8900V, N10850, N4200, N12000, N4200Eco, N12000V, N4200PRO, N16000, N5200, N16000V, N5200PRO, N5200XXX, N5500, N7700, N7700+, N7700PRO, N7700SAS, N8200XXX, N8800, N8800+, N8800PRO, N8800SAS

Releases

  • PHP 5.3.9

Installation

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

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

Configuration

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

/raid/data/module/PHP53/system/bin/php

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/mod_actions.so
</IfModule>                                     

<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>                                                                 

    <Directory "/">                                   
        AllowOverride All 
    </Directory>           

</IfModule>

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

No .htaccess file is needed.

Known issues

(none)

Further informationen

Other modules known to use this module

(none)

Attachments

AttachmentSize
[file] PHP53 1.01.01
MD5: f466a6b8fc104534f5055fd182db9217
10.92 MB