lesterchan / wp-serverinfo

Display your host's PHP, MYSQL & memcached (if installed) information on your WordPress dashboard.
https://wordpress.org/plugins/wp-serverinfo/
17 stars 6 forks source link

Issue with PHP7 #2

Open saqibsarwar opened 8 years ago

saqibsarwar commented 8 years ago

Hi,

I installed this plugin on Site Ground and my website started having 500 server error due to some conflict with PHP7. I removed the plugin and error got fixed.

Kindly look into fixing this plugin for PHP7.

Thanks & Regards

lesterchan commented 8 years ago

Do you have the exact error? I don't use PHP7.0 myself so I can't test it

I added PHP 7.0 synatx check and there are no errors https://travis-ci.org/lesterchan/wp-serverinfo/jobs/106125512

saqibsarwar commented 8 years ago

Thanks for responding.

Unfortunately I do not have the exact issue. But you can change PHP version by following something like https://www.siteground.com/kb/how_to_have_different_php__mysql_versions/

If you like I can give you access to my testing server and for that you can get in touch with me at saqibsarwar at gmail.

lesterchan commented 8 years ago

I might not have time for it, so I will leave this open =)

ihorvorotnov commented 8 years ago

I'm using it on PHP 7 without any issues, except it does not recognize memcached (but that's another story).

lesterchan commented 8 years ago

To add on, recently I have problem with HHVM and I switched to PHP7 and it works fine. I have two memcache and memcached extensions. This plugin detects the Memcache (without the d).

ihorvorotnov commented 8 years ago

Yes, I've checked the code already. Any plans to support memcached? I'd love to fork the plugin, add it by myself and send a PR but have no clue when it can happen - totally busy for next couple months.

lesterchan commented 8 years ago

@ihorvorotnov Feel free to forked it and send a PR =)