Moodle where is php.ini




















Sometimes it is not obvious where the php. To be certain run 'phpinfo' - see below. The path of the php. Note that if you are using command-line CLI PHP for running cron or anything else it may be configured with a different php. To check, run the following command:. Search Close Search.

You are currently using guest access Log in. Search forums Search forums. Display mode Display replies flat, with oldest first Display replies flat, with newest first Display replies in threaded form Display replies in nested form. This discussion has been locked so you can no longer reply to it.

My site is a shared hosting plan. The trouble I am having is that the version of php that I have in my new site is php cur 5. Average of ratings: -. I have been with hosts that required modifying. None of this is anything to do with Moodle.

You can put it anywhere you want, but keeping the Apache server, PHP and the MySQL installations all on the same drive makes sense for many installations. Security, access, load sharing and a range of other issues may cause different configurations to occur, but for the most basic installs, PHP can be on the same drive as the server.

Either copy and paste or simply rename this file to php. This contains all the essential directives that will allow PHP to run on your computer, but we will need to configure it, and a couple of other files, to make it work for Moodle. There are no spaces in the path statement. I have used the path to my PHP server and extension files. Without including PHP in the path statement, Apache will not find it and not be able to use it.

Save the file by clicking on OK. Close and exit the My Computer Properties dialogue. Next, we need to configure, or fine tune if you like, PHP to suit Moodle. Find the Error handling and logging section of the php. If it is commented out then errors will be sent to the web server error log file.

Remember, if you make any changes to this file you will need to restart the web server or just reboot the server. In those versions error logging parameters are dependant on certain administrative settings that you specify in the debugging section.



0コメント

  • 1000 / 1000