![]() Java(TM) SE Runtime Environment (build 1.8.0_40-b25) Oracle pulled the 1.7 offline just the other day. and does require JRE at least version 1.8 Should show solr in the listing of php extensions Should see a solr.so file in the above directory (compiling requires gcc and related libraries) OK, have been working on this for a couple of days now and have been successful with installing apache-solr search in a fresh moodle 3.1 on CentOS 6. Make sure you use the commands shown in the Pecl/apcu requires PHP (version >= 7.0.0-dev), installed version is Īlso with CentOS might have to seek 3rd party repo's for some/all of what you seek. is using a unsupported protocol - This should never happen. In order to get some of the pecl packages one needs PHP 7. Sudo session and once more to logout of the system. If it does, one will have to type exit twice to logout. So that you don't have to type sudo all the time, try sudo -s ![]() ![]() they do watch what customers do and won't allow your instance to 'do harm' to others.Īfraid a nice neat list isn't possible just yet. Not that Google/Amazon are like the 'wild west'. One where you are in charge of whatever is installed and not at the mercy of provider. Sounds like you might need to move to Google or Amazon to get a developers instance of the OS you need to continue. "installed the packages through WHM because my host provider insisted for security reasons" If I could get a very easy to follow centos script would be of great help. Sudo sh -c "echo 'extension=solr.so' > /etc/php5/cli/conf.d/solr.ini" Sudo sh -c "echo 'extension=solr.so' > /etc/php5/apache2/conf.d/solr.ini" Sudo apt-get install libpcre3-dev libxml2-dev libcurl4-openssl-dev File structure where to install the files is a big question.Ĥ) Under moodle, I never got the option to setup the hostname and port number and this indicates I might have installed solr in the wrong directory and possibly under root user rather than the moodle user. ![]() However, I installed the packages through WHM because my host provider insisted for security reasons.ģ) I don't know if I should install solr under the /root/solr dir for moodle. Some of the issues I have encountered with the script below are:ġ) It assumes one is logged in a a user other than root, and because my environment needs to be setup correctly, I cannot run any of the commands below.Ģ) One needs apt-get, but actually I got yum to download the products. Also, the file structure is different since I cannot see this "/etc/php5/cli/conf.d" dir.Īlso, I installed Apache solr under the /opt/solr dir.,(but it seems to be running Ok) I don't know if this is causing the PHP startup error in Moodle, but I suspect it's a PATH issue. I am at this point below, but I have centos and I am trying to setup the sudoers since my environment is not set up correctly. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |