I just updated php 5.3.3 to 5.3.28 in the interworx -> software updates.
My problem is the php is still remained on version 5.3.3, even if i tried to reinstall package with “yum reinstall php-iworx”. The reinstall finished sucessfully but the php is still on 5.3.3.
Is anybody have an idea how can i fix this?
Sorry for the late reply, you need to ensure you update the PHP via the repo, I don’t think Interworx is on 5.3.28 yet. I use 5.4.28 myself, I can help you upgrade to that?
thanks for the reply, I’m using the default release repo for updates.
There is 2 php installed in my server: “php-5.3.3-27.el6_5.i686” and “php-iworx-5.3.28-1.rhe6x.iworx.i686”.
I think the problem is interworx not using the php-iworx.
Which php is in interworx and siteworx used by default?
Can I configure somewhere which php module wanted to use?
Please see our enabled repos on our test server as listed below.
are they enabled on your server, if not, and you enable them, does that resolve the issue, if not, please could you post your enabled repo.
Many thanks
John
CentOS-6 - Base base
Extra Packages for Enterprise Linux 6 - $basearch epel
RHEL 6 - RPMforge.net - dag rpmforge
CentOS-6 - Updates updates
CentOS-6 - Extras extras
I need sites to run PHP 5.4.4 or better for latest Moodle and Joomla.
My PHP Integration Mode is showing 5.3.3 and PHP Mode is “PHP scripts run as SiteWorx user”
I followed the above directions and ran “yum install centos-release-SCL” It downloaded and installed.
Went to IW, Server, Software Updates and updated all. Still showing 5.3.3
Centos-6 Repos udpates and Extras enabled with no exclusions.
Still no luck so I “yum install php54” and all dependencies and then IW software updates… Still 5.3.3 I think Im missing a step;(
The update should fail, the reason is remi is not enabled as a repro. Goto nodeworx, server, softyware updates, and enable remi, remi-php55 and remi-php56 (if you only want say php55, leave remi-php56 disabled) from the repros list.
To check it has installed the latest version, goto nodeworx, system services, web server, php info, and you should see the latest version (in my test, as I enabled php56, it shows as php 5.6)
Hope that helps, and once again, many thanks to Michael (Licencecart) for his excellent work on php.
A word of warning though, use updated PHP versions at your own risk, I have heard of PHP 5.6 having some inssues when used.
It sounds like you’ve installed PHP 5.4.16 correctly.
Interworx uses its own version of PHP, which is 5.3.3 due to dependencies, but this doesn’t effect any hosted sites you have, only the instances of nodeworx, and siteworx.
If you upload a php script to your site
<?php phpinfo(); ?>
, and then navigate to that script in the browser, what version is it giving you?
Many thanks for posting, I considered that aspect, but the php info from system settings, webserver, should give you the correct PHP version used in apache I believe.
I could be wrong though, so I apologise in advance, and once again, thanks for posting, its good to know other users also help.
No you are quite right. I think our replies crossed. Indeed the reported version in “System Settings” > “Webserver” should give the apache php version and not the interworx version.
Michaels method that you mention works just fine, so hopefully this will fix simchippys issue.
Thanks guys for all the help and getting the php 5.4 working. It even started working without enabling the remi repo. Maybe because I already had the php update prior to following these steps. Two simple things that would make Interworx more competitive with the competition would be to have interface control of the php versions and an interface to edit the php setting in vs the php.ini, like cpanel.