volgens Armin Arnecke.
Don't use PHP-x64!
volgens Armin Arnecke.
Don't use PHP-x64!
volgens Ken Task.
Install one of these:
https://www.stevejenkins.com/blog/2014/07/my-favorite-zend-opcache-status-scripts/
'spirit of sharing', Ken
volgens Leon Stringer.
That doesn't look right to me. I read that as OPcache has cached a single .php script out of a whole Moodle site (or sites). For comparison here's the status for my test site with just me logged in (PHP 7.1):
Cached scripts is over a thousand which is what I'd expect to see. I'm using Apache with the default PHP handler (not FPM), I don't know if that has any effect on what OPcache does.
Is your max_accelerated_files 8000? Because that should make Max keys 16229 (the Moodle Docs explain why). If this is the case maybe the settings aren't being picked up?
by Mike Ross.
Hi everyone, I cleared the data from the moodledata folder just like Kanika pal suggested. And it seems to fix the issue. But how can I make sure that the problem won't reoccur when a new portion of cache is added to the folder? Or do I need to empty it regularly? Thanks in advance, pianodreamer
by Emma Richardson.
Try from the site home page, not Dashboard...working for me...
by Murali Sriram.
I recently upgraded Moodle from 1.95 to 3.2 on test server and I need to move to Production. Please let me know how can I do that with Sql server as database. Thanks!
by Rick Jerz.
Interesting add-in, Emma. Seems to work.
I am going to have to experiment with this when I find some time.
Thanks.
by AL Rachels.
One thing mentioned by Leon, that might not leap off the page at you, is that Zend Opcache is running for the WHOLE server. In other words, my main server has eight Moodle sites, plus some other types of sites running on it. Zend Opcache is taking care of ALL of them as shown by my monitoring script. This means that depending what you have on your server, 128M memory and 8000 for opcache.max_accelerated_files, might not be the optimum sizes to use. You might need to make both number bigger. And, it definitely pays to use one of the monitoring scripts that Ken provides the link to, so you can see at a glance what's going on.
I have one archived sever set to 12,000 files and when I turn it on and let it run a few hours for various types of testing, it winds up caching over 11,000 files, as it has every Moodle from 1.9 to 3.3 installed on it.
by Murali Sriram.
Hey Miller,
Thanks for responding. I checked that document before and its pointing to mysql . I am using sql server. Is there any different process to migrate?
Thanks
by Usman Asar.
Mahesh, just follow tutorial HERE, and see if still there's something coming up.
by Usman Asar.
Olsi, you unfortunately cannot install Moodle as of version 3.3 on Shared hosting from a fresh start, only choice you have remained is, installing 2.7, upgrading to 3.0 and then to 3.4
meanwhile before starting, make sure you'll have UTF8 as character set on phpmyadmin for your database, this character set is allowed to be changed on shared hostings.
by Andrew Carlson.
Hi folks,
I'm struggling with a configuration error that's giving me a 500 IS error on my first Moodle install. I'm not a systems administrator and much of the details of sql and PHP tend to be beyond my capability, but I installed Moodle on a server a few years ago and didn't have any trouble, so I'm not sure what i'm doing wrong. I appreciate any help.
Here are the particulars of the issue:
The instance is located at professorcarlson.net/bangladeshc4d. Any advice is most appreciated.
by Charles McCoy.
Sara,
Did you find out what Moodle release doesn't require the Barracuda database conversation?
by Murali K.
This is my first time to work on moodle. SO I am little confusing on how to move the course and everything.
by Ken Task.
Your server appears to be hosted on DigitalOcian.
Might want to check over one of these found via:
https://www.google.com/search?q=digitalocean+install+moodle
$CFG->dbhost = 'localhost'; ... no port necessary as that should be using socket connection anyway.
$CFG->wwwroot = 'http://www.professorcarlson.net/bangladeshc4d'; - added http:// or if site under cert. which it is, then URL should be https://
$CFG->dataroot = '/home/professo/moodledata' ... see the '/' in front ... of home? It's the full path on your system to moodledata ... if you ssh into your server, then navigate to that directory via cd name_of_dir, pwd (show where you are) then another cd next directory ... which should be professo ... then again to moodledata there might be some moodle stuff already there. pwd shows present working directory
and a ls -ld /home/professor/moodledata will show ownerships/permissions on that directory.
this drectory should have ownerships/permissions of the user under which your web server runs. If ubuntu www-data:www-data ... if centOS apache:apache.
Moodle needs to be able to read/write to it.
chmod ugo+rwx /home/professo/moodledata -R
u=user
g=group
x=execute
When it comes to server, 'devil is in the detail' ... close doesn't cut it. ;)
'spirit of sharing', Ken
by Nicholas Roberts.
Anyone have an idiot proof step-by-step for this? (the idiot being me )
by Ken Task.
After re-reading ... my command line stuff will probably not sit well with ya ... even though it's a good thing to learn when running a moodle, but ... you probably have access to cPanel ... that has a file browser (you can find location of files/folders and change ownerships/permissions on them), a file editor (you can edit config.php file), as well as other 'tools'.
Use cPanel. ;)
Might be a good thing to learn how to backup the site ... code directory, a database dump (via cPanel or phpmyadmin), and the moodledata directory. Backup so you don't loose what you've gained. ;)
'spirit of sharing', Ken
by Andrew Carlson.
Hi Ken, thanks so much for your help.
I do use cPanel, so that definitely helps. The /moodledata directory permissions are set to 7-6-0 (user has full rights, group has read/write, world has none). I will try some different configurations for this, but so far it's not working.
I'll keep pushing it and see what I can come up with! Thanks again.