Support

Home Forums Event Espresso Premium updating php version

updating php version

Posted: January 25, 2015 at 5:36 pm


Patrik Kilpatrick

January 25, 2015 at 5:36 pm

WP version 4.1
EE version 4.4.8
EE – Calendar (EE 4.3+) version 3.2.1.p
Upgraded installation
registration page: http://www.pptpdx.org/current-classes/

Hello! I got the following message on my WP Dashboard since updating my Event Espresso plugin:

“Event Espresso recommends PHP version 5.4.33 or greater for optimal performance. You are currently running version 5.3.29.
In order to update your version of PHP, you will need to contact your current hosting provider.
For information on stable PHP versions, please go to http://php.net/downloads.php.”

I contacted my current hosting provider who responded:

“Yes, the default PHP version across our servers is currently PHP 5.3.29. However, we also have PHP 5.4 available for those of our customers that need it, but the exact full PHP 5.4 version is 5.4.32. To force the use of PHP 5.4.32, you have to add the following directive to an .htaccess file in the folder containing the application in question:

“AddHandler application/x-httpd-php54 .php

“You can create and edit the .htaccess file via the File Manager section of your hosting Control Panel.

“You can try running this software on PHP 5.4.32 to see what the results would be. Unfortunately, it’s not possible to request an update of the PHP interpreter under such a shared hosting environment as a change like that might affect other users and it would have to undergo multiple stages of testing. We will update to version 5.4.33 at some point in the future, but we cannot provide you with an ETA right now.”

First question: since the latest version they have is 5.4.32 (not 5.4.33), I assume the change they mentioned won’t work anyway, correct?

Second question: If I follow the instructions and create an .htaccess file with the directive given me, is the below folder the “folder containing the application in question”?

/home/…/plugins/event-espresso-core-reg

Thank you for your help!


Lorenzo Orlando Caum

  • Support Staff

January 25, 2015 at 6:29 pm

Hi Patrick,

The newer version of PHP that they shared will work with Event Espresso 4.

Login to your site with an SFTP client or an FTP client. Examples are FileZilla, Cyberduck, or Transmit (for Mac).

Then browse to the WordPress root. The WP root is the location that holds the wp-content, wp-admin, wp-includes and other files for your WordPress site.

You may see an existing htaccess file there. If you don’t, then it may be hidden. Try adjusting your SFTP or FTP client to show hidden files. Here is an example from Transmit:

http://cl.ly/image/393K473E1t05

Then you should see an htaccess file there. Open it and then add the content that the shared to the end of the file and then save changes.


Lorenzo


Everest

January 30, 2015 at 5:52 am

Hi,
I contacted my host, and they changed the PHP version to “5.5.17”.
Anyhow, i am getting this message:
“Event Espresso recommends PHP version 5.4.33 or greater for optimal performance. You are currently running version 5.3.28.
In order to update your version of PHP, you will need to contact your current hosting provider.
For information on stable PHP versions, please go to http://php.net/downloads.php.”
Please advice.
Thanks ๐Ÿ™‚


Tony

  • Support Staff

January 30, 2015 at 6:19 am

Hi Patrick,

That message is a persistent notice and will remain until dismissed (bottom right of the message).

EE does NOT check your PHP on every page load, it simply checks it on install/update and notifies you of any problems. EE creates that notice and saves it in the database ‘as is’ and displays that message until dismissed (which deletes the message from the DB).

So, now that you have updated PHP, once that message has been dismissed you should no longer see it.

Hope that helps.


Everest

January 30, 2015 at 8:54 am

Thanks, it worked ๐Ÿ™‚

The support post ‘updating php version’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso