Copyright © 2012 Kaltura Inc.
All Rights Reserved. Designated trademarks and brands are the property of their respective owners.
Use of this web site constitutes acceptance of the Terms of Use and Privacy Policy.
EduVideo.org
| Project: | Kaltura Community Edition (CE) - Self Hosted Online Video Platform |
| Version: | api_v3 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Ehud |
| Status: | closed |
| Total votes: | 0 |
PHP 5.3 imposes a few changes and deprecates a few APIs.
To make Kaltura CE compatible on PHP 5.3 the following changes have to be made:
Check code according to php.net migration manual (http://www.PHP.net/manual/en/migration53.php)
Run the Zend 5.2 to 5.3 migration script by Stas Malyshev (http://devzone.zend.com/article/11701-5.2-to-5.3-migration)
The complete run-down:
Attached (KalturaCE-PHP5.3-Patch.tgz) is a patch including instructions to make Kaltura CE 2.0.2 compatible with PHP 5.3.
Please try it and report back any issues or updates.
| Attachment | Size |
|---|---|
| KalturaCE-PHP5.3-Patch1.tgz | 203.63 KB |
Comments
#1
#2
#3
I can't download the attached patch file - getting a 404 error
#4
Depending on how you have applied the patch you might have overwritten some file permissions and owners.
Therefor you need to change them back with chmod and chown be sure to use the recursive switch on both commands
Install Howto
!!!!!!THIS MIGHT DESTROY YOUR INSTALLATION OF KALTURA SO BE SURE TO BACKUP!!!!!!
If you have not installed Kaltura CE into /opt/kaltura please change accordingly
cp -R kaltura kaltura_bak
cd kaltura/
wget http ://www.kaltura.org/sites/default/files/issues/KalturaCE-PHP5.3-Patch1.tgz
-- REMOVE space between http and :// --
tar --overwrite -xvzf KalturaCE-PHP5.3-Patch1.tgz
READ the readme.txt
nano readme.txt
rm readme.txt
cd app/batch/batches/Mailer/
cp ../../../../wrapquotes.php ./
cp emails_en.ini emails_en.ini_org
php wrapquotes.php
mv new-emails_en.ini emails_en.ini
cd /opt/kaltura/
chown root:root -R app/
chmod 775 -r app/
/etc/init.d/apache2 restart
#5
is this patch only accessible to some people with certain access associated to their username?
I'm still being sent to a 404 error page when I click the patch link:
http://www.kaltura.org/sites/default/files/KalturaCE-PHP5.3-Patch1.tgz
thanks
#6
Use this link: http://www.kaltura.org/sites/default/files/issues/KalturaCE-PHP5.3-Patch...
#7
thanks for the update and notes..
I am new to kalturaCE and also linux..
I attempted to install kalturaCE and got to the point where I was warned about not having PHP 5.2 installed...
I could not complete the install and so thought maybe I needed to install the patch first.
When I followed your notes on how to install the patch I got up to the line:
php wrapquotes.phpand after running that command I received the following notifications:
PHP Warning: fopen(emails_en.ini): failed to open stream: No such file or directory in /opt/kaltura/app/batch/batches/Mailer/wrapquotes.php on line 11
PHP Notice: Undefined variable: iIniFile in /opt/kaltura/app/batch/batches/Mailer/wrapquotes.php on line 11
Please validate the script can access the filenick@ubuntu:/opt/kaltura/app/batch/batches/Mailer$
Do you know what I might need to to do get the patch to install?
thanks
#8
To install Kaltura CE with PHP > 5.2.0 you need to edit the requirements of the installer.
Go to your local Kaltura CE installation dir and follow these steps
Edit the line with
to
All done
@ tunist first delete the old install folder and than extract it new so you can be sure not to have changed something you didn't want to :-)
#9
Ah thanks for the tip :)
I have installed the main app now and logged in to the admin console. :)
However, I then logged out and came to run the beta patch for PHP5.3 and received similar error messages to before when running the command: php wrapquotes.php
PHP Notice: Undefined variable: iIniFile in /opt/kaltura/app/batch/batches/Mailer/wrapquotes.php on line 11
Please validate the script can access the filenick@ubuntu:/opt/kaltura/app/batch/batches/Mailer$
Please note that I have only just set the server up for the first time and have not yet tested the email server other than through this installation.
cheers
#10
@tunist This error doesn't have anything with an email server. The wrapquotes.php script only opens the emails_en.ini file and enclose all the values with double quotes.
The error say it can't access the emails_en.ini file. Did you ran the script with user that can access the emails_en.ini file?
#11
Automatically closed -- issue fixed for two weeks with no activity.