PHP 5.2+

Discussion in 'General' started by gbrook, Apr 15, 2009.

  1. gbrook

    Joined:
    Aug 29, 2007
    Messages:
    74
    Likes Received:
    0
    Hi Everyone,

    Is it safe to do yum update php to 5.2+ in order to get phpMyAdmin to work without breaking anything else.

    I have installed phpMyAdmin as per the Elastix without Tears and when I try to access phpMyAdmin eg 192.168.xxx.xxx/modules/dbadmin through a Browser it says it states "PHP 5.2+ is required"

    Also who should the owner of /var/www/html/modules/dbadmin be asterisk or root?

    Cheers
    Garry
     
  2. Patrick_elx

    Joined:
    Dec 14, 2008
    Messages:
    1,120
    Likes Received:
    0
    you can install the phpmyadmin 2.x instead of 3.x that will work with php 5.1.
     
  3. ramoncio

    Joined:
    May 12, 2010
    Messages:
    1,663
    Likes Received:
    0
    Get the previous version of phpmyadmin, it supports php 5.1
    I updated php to v. 5.2 in a elastix 1.3 test machine, in order to use Magento, and some things, as avantfax, broke. Magento works fine though.
    You'd better stay on php 5.1

    Everything into /var/www/html should be owned by asterisk
     
  4. jessie

    Joined:
    Sep 17, 2008
    Messages:
    124
    Likes Received:
    0
    Hello Ramoncio,

    I wonder if you can help me again this problem I have. I carefully followed the Elastix w/o Tears in how to install the Phpmyadmin (topic 43.5). I also change the owner of the files from root into asterisk and yet, when I the php to the browser I get:

    Forbidden
    You don't have permission to access /modules/dbadmin/ on this server.


    --------------------------------------------------------------------------------

    Apache/2.2.3 (CentOS) Server at 192.168.254.252 Port 443

    Currently my php version is PHP 5.1.6 and installed phpMyAdmin-2.11.9.5. Here also my directory:
    -rwxr--r-- 1 asterisk asterisk 419 May 26 07:18 config.inc.php
    drwxr-xr-x 10 asterisk asterisk 4096 Mar 25 05:05 phpMyAdmin-2.11.9.5-english


    Your time is very much appreciated.

    Regards,

    Jessie
     
  5. ramoncio

    Joined:
    May 12, 2010
    Messages:
    1,663
    Likes Received:
    0
    Try with:

    Code:
    chown -R asterisk:asterisk /var/www/html
    /etc/init.d/httpd restart
    
    Also have a look at the httpd error logs in

    /var/log/httpd/error_log
    and
    /var/log/httpd/ssl_error_log

    you should find more details about your problem there.
     

Share This Page