Re: PHP5.6 + PHP7.0 side by side

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,

On Fri, Jun 12, 2015 at 9:15 PM, Anatol Belski <anatol.php@xxxxxxxxxx> wrote:
> Hi Martin,
>
>> -----Original Message-----
>> From: Martin Keckeis [mailto:martin.keckeis1@xxxxxxxxx]
>> Sent: Friday, June 12, 2015 2:59 PM
>> To: php-windows@xxxxxxxxxxxxx
>> Subject:  PHP5.6 + PHP7.0 side by side
>>
>> Hello together,
>>
>> *tl:dr*
>> When i execute a PHP7 request over Apache, then the next PHP5.6 request is
>> blank (without an error log message)
>>
>> *Long version*
>> I have two "independent" installation of Apache and PHP on the same
>> development machine. (both over mod_fcgid) The only difference is the port :80
>> for production and :81 for testing
>>
>> The current one (used for prod): Apache 24-win64-VC11 / PHP 56-win32-VC11-
>> NTS And the today installed (used for testing): 24-win64-VC14 / PHP 70-win64-
>> VC14-NTS
>>
>> I had some troubles with opcache on PHP7 so i disabled it for now
>> -> in PHP5.6 i still have opcache enabled the error msg in PHP7 is:
>> https://gist.github.com/ThaDafinser/d32c7b84933a2d4eddf1
>>
>> This strange behaviour is left:
>> - when i execute http requests for PHP 5.6 everything is fine
>> - when i execute http request for PHP 7.0 everything is fine
>> - when i switch from a PHP 7.0 http request back to PHP 5.6 request, the first
>> request is "blank" and i dont have an error message
>>
>> My PHP + Apache config used:
>> https://gist.github.com/ThaDafinser/baa3c2d69898c9d1e31e
>
> Your ext/opcache crashes are worth it to investigate. Please follow the instructions here https://bugs.php.net/bugs-generating-backtrace-win32.php to be able to get a good backtrace. But also, most likely, we'll need a reproduce code, too. But from your gist I see that the some dump files are laying around as well:
>
> "Diese Dateien befinden sich möglicherweise hier:
> C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_php-cgi.exe_b52e2de05842b0c432539253e2cef928ce8c2_cab_42cfbc02"
>
> So if you get debug symbols, probably it's a good chance to get a clear backtrace or maybe you to send that dump.

Also be sure to setup two different mapped files, one per PHP version.
If it tries to share the same at any point, it will lead to a crash,
most likely :)


-- 
Pierre

@pierrejoye | http://www.libgd.org

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux