PHP 5.2+

gbrook

Joined
Aug 29, 2007
Messages
74
Likes
0
Points
0
#1
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
 

Patrick_elx

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

ramoncio

Joined
May 12, 2010
Messages
1,663
Likes
0
Points
0
#3
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
 

jessie

Joined
Sep 17, 2008
Messages
124
Likes
0
Points
0
#4
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
 

ramoncio

Joined
May 12, 2010
Messages
1,663
Likes
0
Points
0
#5
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.
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,967
Messages
131,028
Members
17,677
Latest member
John-V
Top