Installation thru Command Line

Re: Installation thru Command Line

by Ken Task -
Number of replies: 0
Picture of Particularly helpful Moodlers

Strange location php-cli isn't it? /usr/local/zendphp7/bin/php-cli

What operating system?  How was PHP installed?

Not a clue ... but suggestion ...

cd /path/to/moodlecode/admin/cli/ [ENTER]

which php

Shows the php executable according to environment of the user you are logged on as.   That php would be used when executing the next suggestion

Use the path seen above for /path/to/the/php/shown/in/the/which/command/php -V

Is that finding the PHP you expected it to find?

Do same with php -m

You are already in /path/to/moodlecode/admin/cli/

php install.php should find the install.php in the directory.

'spirit of sharing', Ken