升级wamp 2.4 - > 3.0.6时,Prestashop 1.4失败

I'm trying to upgrade my work env to wamp 3.0.6, I have an old prestashop 1.4.5.1 project that I have to maintain and the new WAMP refuses to cooperate

  1. CURL fails to to send files (solved)

This is a php backward comparability bug where sending files with CURL doesn't work unless I add curl_setopt($curl, CURLOPT_SAFE_UPLOAD, false); before curl_setopt($curl, CURLOPT_POSTFIELDS, $data);

see cURL file uploads not working anymore after upgrade from PHP 5.5 to 5.6 d

  1. MySql returns empty queries

This is a MySql backward comparability bug - see Error related to only_full_group_by when executing a query in MySql I disabled this according to Disable ONLY_FULL_GROUP_BY

hopefully I didn't break something there.

  1. rename(C:\wamp64\www\...\wrtC25B.tmp,C:\wamp64\www\..\01476c9c6b5f1091c73262cd3be476dcc853ec82.file.blockcart.tpl.php): Access is denied. (code: 5).

Here is the code

        // remove original file
        if (file_exists($_filepath))
            @unlink($_filepath); 
        // rename tmp file
        rename($_tmp_file, $_filepath); 

I tried to change the it to

        // remove original file
        if (file_exists($_filepath))
            @unlink($_filepath); 
        // rename tmp file
    copy ($_tmp_file,$_filepath);
    unlink($_tmp_file);  

And I get Permission denied, I tried to change owner and give full control but still doesn't work.

However this problem normally disappear after a refresh (and then re-appear later) but I can ignore it since it doesn't break any thing else and happens only in the dev env.

  1. Order creation failed

Order creation fails with message Order creation failed, this is caused because MySql doesn't accept empty (0000-00-00 00:00:00) date at insert any more, I solve it by adding

            $this->invoice_date = date('Y-m-d H:i:s');
            $this->delivery_date = date('Y-m-d H:i:s');

at line 200 file ObjectModel.php

This might be connected to issue number 2, since the related SO answer state that it could cause some other problems,

I was actually able to solve this but I keep this question for other to see and also if someone has better solutions.