New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using PHP functions no longer run #3134

Open
cloelke opened this Issue Jul 11, 2018 · 7 comments

Comments

Projects
None yet
4 participants
@cloelke

cloelke commented Jul 11, 2018

Investigative information

  • Timestamp: 2018-07-11T16:31:59.212
  • Function App version 1.0
  • Function App name: EmailQueueTrigger
  • Invocation ID: 6285e365-8c52-4d35-b19a-498f73367a2f
  • Region: Canada East

Repro steps

Provide the steps required to reproduce the problem:

Running manually gives the following error

Running it from the function console it runs.
I created a blank function with printing just hello world and it has the same error

2018-07-11T16:34:03.538 [Info] Function started (Id=ce9025c1-a329-4aad-812d-5496a445b83d)
2018-07-11T16:34:03.554 [Error] Exception while executing function: Functions.EmailQueueTrigger. System: The system cannot find the file specified.
2018-07-11T16:34:03.570 [Error] Function completed (Failure, Id=ce9025c1-a329-4aad-812d-5496a445b83d, Duration=37ms)

Expected behavior

Provide a description of the expected behavior.
It ran until today, It was a problem in Canada Central, but worked in US West and Canada East and now today US West and Canada East have the same error.

@ondrejfiala

This comment has been minimized.

Show comment
Hide comment
@ondrejfiala

ondrejfiala Jul 12, 2018

Hi, I have the same problem in West Europe. It stopped working after 2018-07-10 23:00.

ondrejfiala commented Jul 12, 2018

Hi, I have the same problem in West Europe. It stopped working after 2018-07-10 23:00.

@pragnagopa

This comment has been minimized.

Show comment
Hide comment
@pragnagopa

pragnagopa Jul 13, 2018

Contributor

Thank you for reporting the issue. We are looking into it.

Contributor

pragnagopa commented Jul 13, 2018

Thank you for reporting the issue. We are looking into it.

@pragnagopa

This comment has been minimized.

Show comment
Hide comment
@pragnagopa

pragnagopa Jul 13, 2018

Contributor

@Jen7714 - I see there were updates to Php.exe Azure/app-service-announcements#108. Looks like php.exe is not on the path anymore in Azure

Contributor

pragnagopa commented Jul 13, 2018

@Jen7714 - I see there were updates to Php.exe Azure/app-service-announcements#108. Looks like php.exe is not on the path anymore in Azure

@pragnagopa

This comment has been minimized.

Show comment
Hide comment
@pragnagopa

pragnagopa Jul 13, 2018

Contributor

We have identified the root cause. This is a regression and we are working on the fix. As a temporary workaround, please follow instructions here: https://github.com/Azure/azure-functions-host/wiki/Using-a-custom-version-of-Python and copy Download PHP 5.6 (or whichever version you want) from here https://windows.php.net/downloads/releases/php-5.6.36-Win32-VC11-x86.zip instead of python to site\tools.

Contributor

pragnagopa commented Jul 13, 2018

We have identified the root cause. This is a regression and we are working on the fix. As a temporary workaround, please follow instructions here: https://github.com/Azure/azure-functions-host/wiki/Using-a-custom-version-of-Python and copy Download PHP 5.6 (or whichever version you want) from here https://windows.php.net/downloads/releases/php-5.6.36-Win32-VC11-x86.zip instead of python to site\tools.

@pragnagopa pragnagopa added the bug label Jul 16, 2018

@pragnagopa pragnagopa added this to the Active Questions milestone Jul 16, 2018

@pragnagopa pragnagopa self-assigned this Jul 16, 2018

@hihorika

This comment has been minimized.

Show comment
Hide comment
@hihorika

hihorika Jul 23, 2018

@pragnagopa
Executing where php.exe outputs D:\Program Files (x86)\PHP\v5.6\php.exe, so PHP.exe is included in PATH.

And I tried the workaround (deploying PHP runtime to D:\home\site\tools ), but nothing is changed.

hihorika commented Jul 23, 2018

@pragnagopa
Executing where php.exe outputs D:\Program Files (x86)\PHP\v5.6\php.exe, so PHP.exe is included in PATH.

And I tried the workaround (deploying PHP runtime to D:\home\site\tools ), but nothing is changed.

@pragnagopa pragnagopa modified the milestone: Active Questions Jul 23, 2018

@pragnagopa

This comment has been minimized.

Show comment
Hide comment
@pragnagopa

pragnagopa Jul 23, 2018

Contributor

@hihorika - Yes. When you run the command from kudu console it is available. But is removed when function app is loaded.
I have verified the workaround of copying php to site\tools works. Can you please share you app name either here or indirectly?

Contributor

pragnagopa commented Jul 23, 2018

@hihorika - Yes. When you run the command from kudu console it is available. But is removed when function app is loaded.
I have verified the workaround of copying php to site\tools works. Can you please share you app name either here or indirectly?

@hihorika

This comment has been minimized.

Show comment
Hide comment
@hihorika

hihorika Jul 25, 2018

@pragnagopa I succeeded to work php function using the workaround you mentioned.
Thanks!

And I hope that php function works without the workaround.

hihorika commented Jul 25, 2018

@pragnagopa I succeeded to work php function using the workaround you mentioned.
Thanks!

And I hope that php function works without the workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment