Problems upgrading to php 5.3.0 in elastix 1.3-2

josephtikva

Joined
Oct 18, 2009
Messages
3
Likes
0
Points
0
#1
i tried upgrading to php 5.3.0 using

Code:
yum update php
but that didn't work

i then installed remi to do the upgrade using following instructions on this page

http://blog.famillecollet.com/post/2009 ... d?pub=1#pr

but here's what i got

Code:
[root@pbx src]# yum --enable remi update php-\*
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages from CentOS-5 - Updates
Finished
Excluding Packages from CentOS-5 - Base
Finished
Reducing CentOS-5 - Plus to included packages only
Finished
Excluding Packages from CentOS-5 - Addons
Finished
Excluding Packages from CentOS-5 - Extras
Finished
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package php-mbstring.i386 0:5.3.0-2.el5.remi.2 set to be updated
---> Package php-pear.noarch 1:1.9.0-1.el5.remi set to be updated
---> Package php-pdo.i386 0:5.3.0-2.el5.remi.2 set to be updated
---> Package php-xml.i386 0:5.3.0-2.el5.remi.2 set to be updated
---> Package php-mysql.i386 0:5.3.0-2.el5.remi.2 set to be updated
---> Package php-cli.i386 0:5.3.0-2.el5.remi.2 set to be updated
---> Package php-common.i386 0:5.3.0-2.el5.remi.2 set to be updated
---> Package php-gd.i386 0:5.3.0-2.el5.remi.2 set to be updated
---> Package php-imap.i386 0:5.3.0-2.el5.remi.2 set to be updated
---> Package php.i386 0:5.3.0-2.el5.remi.2 set to be updated
--> Running transaction check
--> Processing Dependency: libmysqlclient.so.16 for package: php-mysql
--> Processing Dependency: php-api = 20041225 for package: php-sqlite3
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16) for package: php-mysql
--> Processing Dependency: libt1.so.5 for package: php-gd
--> Processing Dependency: libsqlite.so.0 for package: php-pdo
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package t1lib.i386 0:5.1.1-7.el5 set to be updated
---> Package sqlite2.i386 0:2.8.17-2.el5.remi set to be updated
---> Package mysql-libs.i386 0:5.1.39-1.el5.remi set to be updated
--> Running transaction check
--> Processing Dependency: libXaw.so.7 for package: t1lib
--> Processing Dependency: php-api = 20041225 for package: php-sqlite3
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package libXaw.i386 0:1.0.2-8.1 set to be updated
--> Running transaction check
--> Processing Dependency: libXmu.so.6 for package: libXaw
--> Processing Dependency: php-api = 20041225 for package: php-sqlite3
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package libXmu.i386 0:1.0.2-5 set to be updated
--> Running transaction check
--> Processing Dependency: php-api = 20041225 for package: php-sqlite3
--> Finished Dependency Resolution
Error: Missing Dependency: php-api = 20041225 is needed by package php-sqlite3
does anyone know where i can get the package php-api?

thanks
Joseph
 

donhwyo

Joined
Aug 8, 2008
Messages
293
Likes
0
Points
0
#2
I dont know your answer or why you need 5.3 but I think freepbx wont work with it if you get it working.

Don
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#3
apparently the repo at remi, is incomplete, ask remi or famillecollet, whoever they are, you chose to update from them, there must be a reason you went there, your contention must be surely be with them.
 

josephtikva

Joined
Oct 18, 2009
Messages
3
Likes
0
Points
0
#4
when i tried using the (elastix) default repo, it didn't do anything, so this is the only repo i found that does update the php, but i need to update the php-api dependency, which i can't find.

also, FreePBX works fine with 5.3.0, - (one line in /var/lib/asterisk/agi-bin/phpagi.php needs to be modified - line 1184).

The reason i want ver 5.3.0 is because i'm writing a IVR script for - and would like to use this http://php.net/manual/en/control-structures.goto.php function. I can get much cleaner code using gotos instead of layered looping.
 

cashoefman

Joined
Jul 8, 2007
Messages
4
Likes
0
Points
0
#5
Did you get this resolved? If you did can you share how?
 

cmarzotta

Joined
Sep 12, 2008
Messages
4
Likes
0
Points
0
#6
Did you get this resolved? If you did can you share how?
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,900
Messages
130,884
Members
17,561
Latest member
marouen
Top