Search:     Advanced search
print  Print
Showing: 1-4 of 4  
Glossary
D
I
M
S
All

  • Deprecated PHP INI directives
  • PHP 5.3.0 introduces two new error levels: E_DEPRECATED and E_USER_DEPRECATED. The E_DEPRECATED error level is used to indicate that a function or feature has been deprecated. The E_USER_DEPRECATED level is intended for indicating deprecated features in user code, similarly to the E_USER_ERROR and E_USER_WARNING levels.

    The following is a list of deprecated INI directives. Use of any of these INI directives will cause an E_DEPRECATED error to be thrown at startup.

    Deprecated functions:

    Deprecated features:

    • Assigning the return value of new by reference is now deprecated.
    • Call-time pass-by-reference is now deprecated.
  • Installing ionCube Loader
  •   

    Microsoft Windows Server

    Get the files

    Download the ionCube Loader for Microsoft Windows. You will need to choose either a "Non Thread-Safe" or a regular version of the ionCube loader. Choose Non-TS if Thread Safety is disabled in your PHP configuration. To check, open up a  phpinfo() file and look for:

    PHPinfo is a function that returns information in HTML form about the PHP environment on your server (see http://us2.php.net/phpinfo for more information). To run PHPinfo, you must save the following code in a file on your computer using the text editor:

    <?php

    phpinfo ();

    ?>

    FTP the file to the web content folder of your domain. If your file is named "phpinfo.php", then you will run PHPinfo by using your web browser to go to "www.yourdomain.com/phpinfo.php"

    Your choice of ionCube Loader will also depend on the compiler used to create the PHP installation on your web server. Again, you can find which version this is in a phpinfo() file. The compiler with either be V6 orV9.

    Note: The ionCube loaders are available only for Microsoft Windows 32bit. In order to install the ionCube Loader on Microsoft Windows 64bit, you will need to configure IIS server to run 32 bit applications.

    Installation

    After opening the archive downloaded above, copy the file loader-wizard.php to the document root of your web server, and open it in your web browser (for example, http://localhost/loader-wizard.php).

    This web page will analyze your web server and produce a tailored set of installation instructions.

    Confirm installation was successful

    Now, restart the web server and confirm if the installation is successful by accessing the phpinfo() of the server.

    You may also check the the ionCube installation by executing the following PHP command:

    > php -v

    Unix / Linux based server

    Get the files

    Download the ionCube Loader archive for the Linux/Unix operating system.You may download the archive directly on the server using the "wget" content retrieval program. For that, you need to copy the link location of the ionCube archive, and download it on the Linux/Unix server, as shown:

    Note: The ionCube loaders are available for 32 bit as well as 64 bit Linux/Unix systems:

    In the above snapshot, we have created a new directory, and the ionCube loader archive is downloaded in that directory using the "wget" program.

    Extract

    Extract the archive using the following Linux/Unix command:

    # tar -zxvf ioncube_loaders_lin_x86.tar.gz

    Installation

    After opening the archive downloaded above, copy the file loader-wizard.php to the document root of your web server, and open it in your web browser (for example, http://localhost/loader-wizard.php).

    This web page will analyze your web server and produce a tailored set of installation instructions.

    Confirm installation was successful

    Now, restart the web server and confirm if the installation is successful by accessing the phpinfo() of the server.

    You may also check the the ionCube installation by executing the following PHP command:

  • Magic quotes in php.ini
  •  Disabling magic quotes server side :


    An example that sets the value of these directives to Off in php.ini. For additional details, read the manual section titled How to change configuration settings.

    ; Magic quotes
    ;
    
    ; Magic quotes for incoming GET/POST/Cookie data.
    magic_quotes_gpc = Off
    
    ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
    magic_quotes_runtime = Off
    
    ; Use Sybase-style magic quotes (escape ' with '' instead of \').
    magic_quotes_sybase = Off
    If access to the server configuration is unavailable, use of .htaccess is also an option. For example:
    php_flag magic_quotes_gpc Off
  • Server requirements

  • This page describes required web server configuration that you need in order to install our web applications.

    Server software requirements

    PHP

              PHP 5.2.8 or later

    MySQL server

              MySQL version 5.0 or later (we recommend the very latest stable release)

    PHP decoders

    Portions of the Eicra code are encoded and require a PHP decoder in order to run. There are two available, both free.

              Zend Optimizer (Supported PHP version: 5.2.x or earlier)

              OR

              ionCube Loader (Supported PHP version: 5.3.x or earlier)

     Web server

              Any web server daemon - such as Apache, nginx, IIS which is fully compatible with the required PHP configuration.

    PHP settings

    Apache server settings

    If you have mod_security installed on your apache web server, mod_security must be disabled or your application must be whitelisted (exempt from all mod_security rules) using .htaccess php directives.


    <IfModule mod_security.c>

      SecFilterEngine Off

      SecFilterScanPOST Off

    </IfModule>

    MySQL settings

    Required PHP modules

    Most of these modules are included by default. However, we have compiled a list of those which are definitely required by Kayako for good measure: