- Practice these steps until they are in the correct order and are complete.
- Ensure there is ample drive space to copy old wamp data into new. Need about 3 GB.
- take the WAMP service off line - then Exit it - removing it from memory
- rename the wamp folder to wamp22
- execute the wamp2.5 installer (follow and accept the default parameters) - any issue with annoying vcredist_x64.exe missing file? I had to re-install this, after removing it. It starting complaining about the missing file - WAMP 25 actually would not finish the install.
- 2.5 install done. Update content in wamp from WAMP22 folder
- Rename the MySQL data folder wamp\bin\mysql\mysql5.6.17\data to ""\data-backup
- Copy the data folder from wamp22\bin\mysql\mysql5.4.26\data into wamp\bin\mysql\mysql5.6.17\data
- Update Apache in new install
- Activate vhost directive in new conf file, c:\wamp\bin\apache\apache2.4.9\conf\httpd.conf - line 513
- Rename the vhost file c:\wamp\bin\apache\apache2.4.9\conf\extra\httpd-vhosts.conf to httpd-vhosts-backup.conf
- Copy the vhost file httpd-vhosts.conf from wamp22\bin\apache\apache2.2.22\conf\extra to wamp\bin\apache\apache2.4.9\conf\extra
- Edit httpd-vhosts.conf - using updates apache 2.4 style directive
Directory "c:\wamp\www\student"
Require all granted
Directory- Restart the new wamp 2.5 service (back in memory) - USING the systray icon
- Remove the old mysql service
- Create a new mysql service
- Remove the old apache service
- Create a new apache service
- Copy the moodle wamp22\www content into the new wamp\www folder (make sure there is drive space for this)
- Restart all WAMP services
- Update the php.ini file located in wamp\bin\apache\apache2.4.9\bin. Maybe also update the php.ini file in the wamp\bin\php path? Check that using the wamp icon. Update the following settings
post_max_size = 1024 M
upload_max_filesize = 1024 M
max_execution_time = -1
max_input_time = -1
add this line :max_input_vars = 5000, to the end of the file
un-comment this line: ;error_log = "c:/wamp/logs/php_error.log"
Also - need to ensure I am calling the two moodle sync files from the cron.php file AND that it, php.exe, is called from within the correct new php path, php5.5.12, not the old php5.3.13.
Steps to ensure authentication and enrollment sync are both working .
Copy the block below from the old admin/cron.php file into the end of the new admin/cron.php file while updating the path to the php from 5.3.13 to 5.5.12. Notice most of the lines in the cron.php file are REM out - only two actually do something. sync the users, sync the enrollments.

No comments:
Post a Comment