
cd /etc/php7.0 or /etc/php or /etc/php5
grep -R mcrypt .
/niklas
Den 2015-12-18 kl. 16:53, skrev Adam Armstrong:
I'm not sure :)
You can poke around in /etc/php/
adam.
On 18/12/2015 15:51:40, Ron Marosko ron@rjr-services.com wrote:
Yeah, and I’m trying to figure out what two php.ini files are trying to load the module... without much success, apparently. This stuff is way above layer 4 and thus not my core competency. ;-)
*From:*observium [mailto:observium-bounces@observium.org] *On Behalf Of *Adam Armstrong *Sent:* Friday, December 18, 2015 9:36 AM *To:* observium@observium.org *Subject:* Re: [Observium] Observium and PHP7
The error sounds like there are two .ini files attempting to load the module.
Enabling it again was never really going to fix that! :D
adam.
On 18/12/2015 15:33:14, Ron Marosko <ron@rjr-services.com <mailto:ron@rjr-services.com>> wrote: So I just went into that box and ran that command… then did a manual poll of a server, and that same error message is still there. It doesn’t appear to be affecting anything, so… who knows. *From:*observium [mailto:observium-bounces@observium.org] *On Behalf Of *Markus Klock *Sent:* Friday, December 18, 2015 3:35 AM *To:* Observium Network Observation System *Subject:* Re: [Observium] Observium and PHP7 Hi Ron, Thats true, you should just run "phpenmod mcrypt" instead. I failed to mention this in my guide. Hmmm... strange, I just check my poller-log and I do not have that error. No idea what could cause that actually... /Markus 2015-12-18 6:54 GMT+01:00 Ron Marosko <ron@rjr-services.com <mailto:ron@rjr-services.com>>: Markus, just a follow-up on this… I went ahead and built a new VM with php7 and it’s much faster than it was before. One issue I’ve run into as part of the install instructions, is to enable the php mcrypt module. In Adam’s installation guide, he points out to run ‘php5enmod mcrypt’, which is now obviously not applicable. One error I’m seeing when I run the poller module from the command line, for example, is this: PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0 Any ideas on how I might address this? Also, for the group generally, in this new installation, everything on the screen underneath the top menu bar is all right-justified, versus the previous installation which displayed a normal screen of everything being centered…. I think this is likely browser related, as when I un-maximize my browser window, it goes back to being centered. I seem to recall that being discussed here yesterday. I’m seeing this with r7287 on Firefox 43.0. …Ron *From:*observium [mailto:observium-bounces@observium.org <mailto:observium-bounces@observium.org>] *On Behalf Of *Markus Klock *Sent:* Monday, December 14, 2015 3:07 AM *To:* Observium Network Observation System *Subject:* Re: [Observium] Observium and PHP7 hehe, I recommend you know what you are doing before trying that, there is a big chance that stuff will break and I will not run a support-line on the blog :p But basically just add the repo from the blogpost and install the php7.0-packages, make sure to remove the php5 packages and make sure certain cronjobs that run specifc php5-stuff is removed like /etc/cron.d/php5 depending on what you use you might need som additional packes like php7.0-ldap and php7.0-gd. /Markus 2015-12-14 7:44 GMT+01:00 Ron Marosko <ron@rjr-services.com <mailto:ron@rjr-services.com>>: From your blog entry: “This is based on the Ubuntu 14-guide and assumes you have a freshly installed Ubuntu 14.” Awww, no how-to for upgrade of an existing system without having to do a backup/restore type installation? ;-) *From:*observium [mailto:observium-bounces@observium.org <mailto:observium-bounces@observium.org>] *On Behalf Of *Markus Klock *Sent:* Monday, December 14, 2015 12:27 AM *To:* Observium Network Observation System *Subject:* [Observium] Observium and PHP7 Good news everyone! PHP7 is out and promise great performance to all PHP-applications. I tried it out this weekend on my Observium-installation and it did not disappoint! I have a rather large Observium and some of you that runs very large installations may have noticed that the web UI can get a little slow when rendering all the stuff from a large database. In my case the overview-page loads in about 5s and some of the more heavy pages like /devices/ takes about 7s to load. Well after upgrading to PHP7 my page loadtimes are now down to <1.5s for almost any page and atleast <2s for the heavy ones, I got a 2-3x performance boost! If you want to try it out I made a quick guide on how to run Observium on PHP7 here: http://blog.best-practice.se/2015/12/vastly-improve-observium-performance.html Note that I don't know if everything in Observium is fully compatible with PHP7, I tried as many features as I could think of with no problems, however I have not tried the billing-module. Even if most of you don't have need for a speedup in the web UI, its great to see PHP improve performance like this. This means Observium will be able to scale even further in the future :) /Markus -- This message has been scanned for viruses and dangerous content by *E.F.A. Project* <http://www.efa-project.org>, and is believed to be clean. Click here to report this message as spam. <http://smtp.rjr-services.com/cgi-bin/learn-msg.cgi?id=861E360386.A43DD&token=746567e4e09b095c93a0c2af0e5f078f> _______________________________________________ observium mailing list observium@observium.org <mailto:observium@observium.org> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org <mailto:observium@observium.org> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium