WordPress.org

Ready to get started?Download WordPress

Forums

php4 and php5 (2 posts)

  1. Escarlate
    Member
    Posted 3 years ago #

    I've a plugin Analytics360 requiring php5.
    The other components doesn't support php5.

    If I use .php5 for the plugin, it is not listed in admin extensions list.
    why?

    I don't remember the lines to put in .htaccess to allow php4 et php5.

    May I use 64M instead of 32M of memory in order to avoid "lack of memory" for "Input Links" in the Admin Panel ?

    Thank's for your help.

    PS I use latest verions for all components and WP 3.0.1

  2. Samuel B
    moderator
    Posted 3 years ago #

    code for .htaccess

    AddType x-mapp-php5 .php
    AddHandler application/x-httpd-php5 .php
    AddHandler cgi-php5 .php

    May I use 64M instead of 32M of memory in order to avoid "lack of memory" for "Input Links" in the Admin Panel ?

    yes - some memory options

    1. If you have access to your PHP.ini file, change the line in PHP.ini
    If your line shows 32M try 128M:
    memory_limit = 128M ; Maximum amount of memory a script may consume (128MB)
    
    2. If you don't have access to PHP.ini try adding this to an .htaccess file:
    php_value memory_limit 128M
    
    3. Try adding this line to your wp-config.php file:
    Increasing memory allocated to PHP
    define('WP_MEMORY_LIMIT', '128M');

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags