Quantcast
Channel: Installing and upgrading help
Viewing all articles
Browse latest Browse all 47011

Re: Installation of Moodle 2.7 on CentOS 6.5 server via command line

$
0
0
by Ken Task.  

yum --enablerepo=webtatic list php55w-* (or if you are shooting at 5.4 replace php55w with  php54w)

Will get a listing of all extensions available for 5.5.13 from webtatic

One you will see that is showing check is php55w-int.x86_64

To install via yum

yum --enablerepo=webtatic install php55w-int.x86_64

Ditto -soap, xmlrpc, etc.

After installing, apache *must be restarted*:

/sbin/service httpd restart

Check logs for apache:

tail -n 100 /var/log/httpd/error_log

Check what php version from command line:
php -v

Check to see if mods are loading:

php -m |more

For php settings:

cd /etc/

fgrep max_ php.ini

will show all variables in the ini file that contain 'max_'

post_max_size = 400M
upload_max_filesize = 400M

Both above must be set to allow uploads of max size 400M (as an example).

After changing php.ini, apache must be restarted.

To check: php -i | grep 'max_'

'spirit of sharing', Ken


Viewing all articles
Browse latest Browse all 47011

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>