Произошла неизвестная ошибка fastcgi

I’m running IIS7 on Windows Server 2008 with Plesk 10. I have website under plesk and a site not under plesk and only on IIS. The website under plesk successfully runs php files but the other website gives error:

HTTP Error 500.0 — Internal Server
Error An unknown FastCGI error occured

Module FastCgiModule
Notification ExecuteRequestHandler
Handler PHP5-FastCGI-php
Error Code 0x8007010b
Requested URL http://*.com:80/test.php Physical
Path C:IIS*.comtest.php
Logon Method Anonymous
Logon User Anonymous

PHP5-FastCGI-php is configured exactly like the site under plesk. php-cgi.exe is located at C:Program Files (x86)ParallelsPleskAdditionalPleskPHP5

EDIT:
Here is my php.ini but I don’t get any errors.

error_reporting = E_ALL & ~E_NOTICE
display_errors = On
display_startup_errors = Off
log_errors = On
error_log = "C:Program Files (x86)...logtest.log"
error_log = syslog

asked May 30, 2011 at 12:08

HasanG's user avatar

HasanGHasanG

12.7k29 gold badges100 silver badges154 bronze badges

3

Preface: This solution worked for my Python Flask application

If your file permissions are correct, the problem might lie in your Application Pools settings.

  1. Go to IIS manager
  2. Click on your server’s Application Pools tab
  3. Click Set Application Pool Defaults
  4. Set the Identity under Process Model to LocalSystem

Future readers, I spent several days searching for a solution to this problem. Hopefully this fixes your problem in a fraction of the time :)

answered Jun 29, 2021 at 1:46

sharkk22's user avatar

sharkk22sharkk22

3353 silver badges7 bronze badges

2

Granted Read & execute, List folder contents for Everyone on folder

C:Program Files (x86)ParallelsPleskAdditionalPleskPHP5

and now php is up and running for every Application Pool. The main problem with plesk was, only sites running with Application Pool Identity of a user which is member of psacln.

answered Jun 4, 2011 at 10:40

HasanG's user avatar

HasanGHasanG

12.7k29 gold badges100 silver badges154 bronze badges

2

I think better than granting EVERYONE, would be to grant the builtin IIS group «IIS_IUSRS» read, read and execute and list folder contents on the PHP folder.

answered Feb 4, 2013 at 18:30

Robin's user avatar

RobinRobin

1,5823 gold badges15 silver badges24 bronze badges

I had the same issue and look for a solution for 2 days. It was trial and error.
The error code was 0x8007010b.
In IIS logs

#Fields: ... sc-status sc-substatus sc-win32-status time-taken
         ... 500       0            267             4

Both error 0x8007010b and 267 (use command NET HELPMSG 267) say that The directory name is invalid.

Solution:

  1. Grant full-access to IUSR to:
    • my webapp folder
    • folder containing the executable to be run (in my case python.exe)
  2. In IIS go to -> Authentication (double-click it) -> Select Anonymous Authentication (should be Enabled) -> Edit… -> Choose ‘Specific User’ set IUSR
  3. Select root IIS (click) -> Authentication (double-click it) -> Select Anonymous Authentication (should be Enabled) -> Edit… -> Choose ‘Specific User’ set IUSR

After doing steps 1-3, Error 500.0 was gone. In my case step 3 was missing. I think it is an important detail to know.

Hope it help!

answered Aug 17, 2018 at 9:03

C. Damoc's user avatar

C. DamocC. Damoc

4764 silver badges9 bronze badges

Try to find more info in logs.
Then try to find all *.log files in your panel’s dir. Those with latest modified time should give a chance.

Logs could be defined not in php.ini only. Try to search for them — not trust any *.ini files :)

answered May 30, 2011 at 13:23

gaRex's user avatar

gaRexgaRex

4,14424 silver badges37 bronze badges

I had the same problem. once i try to get on the phpmyadmin page it gives me the 500 error response. To fix this:

Step 1) you’ve to enable the extensions » extension=php_gd2.dll «, » extension=php_mbstring.dll » , and » extension=php_mysql.dll » in php.ini (in php folder) ( if you did that already then go to step two).

Step 2) create a folder in c: named «temp» and inside that folder create another folder named «phpsessions» , after doing so go to php.ini (in php folder) and look for «session.save_path»
and replace whatever between the quotation mark with the location of the php session you created i.e. «C:tempphpsessions» and don’t forget to uncomment it ;

Good luck to my fellow geeks :P

answered Apr 26, 2014 at 2:46

pay it forward's user avatar

I’m running IIS7 on Windows Server 2008 with Plesk 10. I have website under plesk and a site not under plesk and only on IIS. The website under plesk successfully runs php files but the other website gives error:

HTTP Error 500.0 — Internal Server
Error An unknown FastCGI error occured

Module FastCgiModule
Notification ExecuteRequestHandler
Handler PHP5-FastCGI-php
Error Code 0x8007010b
Requested URL http://*.com:80/test.php Physical
Path C:IIS*.comtest.php
Logon Method Anonymous
Logon User Anonymous

PHP5-FastCGI-php is configured exactly like the site under plesk. php-cgi.exe is located at C:Program Files (x86)ParallelsPleskAdditionalPleskPHP5

EDIT:
Here is my php.ini but I don’t get any errors.

error_reporting = E_ALL & ~E_NOTICE
display_errors = On
display_startup_errors = Off
log_errors = On
error_log = "C:Program Files (x86)...logtest.log"
error_log = syslog

asked May 30, 2011 at 12:08

HasanG's user avatar

HasanGHasanG

12.7k29 gold badges100 silver badges154 bronze badges

3

Preface: This solution worked for my Python Flask application

If your file permissions are correct, the problem might lie in your Application Pools settings.

  1. Go to IIS manager
  2. Click on your server’s Application Pools tab
  3. Click Set Application Pool Defaults
  4. Set the Identity under Process Model to LocalSystem

Future readers, I spent several days searching for a solution to this problem. Hopefully this fixes your problem in a fraction of the time :)

answered Jun 29, 2021 at 1:46

sharkk22's user avatar

sharkk22sharkk22

3353 silver badges7 bronze badges

2

Granted Read & execute, List folder contents for Everyone on folder

C:Program Files (x86)ParallelsPleskAdditionalPleskPHP5

and now php is up and running for every Application Pool. The main problem with plesk was, only sites running with Application Pool Identity of a user which is member of psacln.

answered Jun 4, 2011 at 10:40

HasanG's user avatar

HasanGHasanG

12.7k29 gold badges100 silver badges154 bronze badges

2

I think better than granting EVERYONE, would be to grant the builtin IIS group «IIS_IUSRS» read, read and execute and list folder contents on the PHP folder.

answered Feb 4, 2013 at 18:30

Robin's user avatar

RobinRobin

1,5823 gold badges15 silver badges24 bronze badges

I had the same issue and look for a solution for 2 days. It was trial and error.
The error code was 0x8007010b.
In IIS logs

#Fields: ... sc-status sc-substatus sc-win32-status time-taken
         ... 500       0            267             4

Both error 0x8007010b and 267 (use command NET HELPMSG 267) say that The directory name is invalid.

Solution:

  1. Grant full-access to IUSR to:
    • my webapp folder
    • folder containing the executable to be run (in my case python.exe)
  2. In IIS go to -> Authentication (double-click it) -> Select Anonymous Authentication (should be Enabled) -> Edit… -> Choose ‘Specific User’ set IUSR
  3. Select root IIS (click) -> Authentication (double-click it) -> Select Anonymous Authentication (should be Enabled) -> Edit… -> Choose ‘Specific User’ set IUSR

After doing steps 1-3, Error 500.0 was gone. In my case step 3 was missing. I think it is an important detail to know.

Hope it help!

answered Aug 17, 2018 at 9:03

C. Damoc's user avatar

C. DamocC. Damoc

4764 silver badges9 bronze badges

Try to find more info in logs.
Then try to find all *.log files in your panel’s dir. Those with latest modified time should give a chance.

Logs could be defined not in php.ini only. Try to search for them — not trust any *.ini files :)

answered May 30, 2011 at 13:23

gaRex's user avatar

gaRexgaRex

4,14424 silver badges37 bronze badges

I had the same problem. once i try to get on the phpmyadmin page it gives me the 500 error response. To fix this:

Step 1) you’ve to enable the extensions » extension=php_gd2.dll «, » extension=php_mbstring.dll » , and » extension=php_mysql.dll » in php.ini (in php folder) ( if you did that already then go to step two).

Step 2) create a folder in c: named «temp» and inside that folder create another folder named «phpsessions» , after doing so go to php.ini (in php folder) and look for «session.save_path»
and replace whatever between the quotation mark with the location of the php session you created i.e. «C:tempphpsessions» and don’t forget to uncomment it ;

Good luck to my fellow geeks :P

answered Apr 26, 2014 at 2:46

pay it forward's user avatar

  • Remove From My Forums
  • Question

Answers

  • User1243808635 posted

    It worked finally. At first I started registering PHP manually and I believe at that point of time, I created web.config and the handler inside it was pointing to different version of PHP. Since I used Web Platform Installer later on to install PHP, I DELETED
    the web.config file from the wwwroot folder and I could see the PHP page using the URL  http://localhost/phpinfo.php

    I guess that was it.

    Thanks everyone for your inputs.

    • Marked as answer by

      Tuesday, September 28, 2021 12:00 AM

php-cgi.exe - The FastCGI process exited unexpectedly error and how to fix it

You just installed your brand-new Windows 2012 RC2 Server and you want to setup the PHP framework aswell. You launch the Windows Web Platform and download the latest PHP version (let’s say v5.6.0) and set up php.ini and all the relevant configuration files. Then, as soon as you launch the website, you get the following error:

C:Program Files (x86)PHPv5.6phpcgi.exe The FastCGI process exited unexpectedly

Despite this being a fair common issue, there aren’t many posts explaining how to fix the problem yet. Well, here’s one.

Solution

The fix is really simple: you just need to install Visual C++ Redistributable for Visual Studio 2012 Update 4, 32-bit version. Notice that, even if you have a 64-bit operating system, you need to install the 32-bit version because PHP is still a 32-bit application.

Here’s the download link: http://www.microsoft.com/en-us/download/details.aspx?id=30679

Once you install that, you’ll be good to go.

UPDATE: Since the launch of the x64, experimental version of PHP 5.6 (and above) this post requires the following update: if you’re using an 64-bit PHP build, you have to install the 64-bit Visual C++ package, available through the same download link mentioned above. As the two packages can coexist without hassles, our suggestion for 64-bit based installations is to install both as long as x64 PHP builds will be marked as «experimental», so you’ll be able to switch back to the x86 version whenever you need to.

Перейти к контенту

I’m running IIS7 on Windows Server 2008 with Plesk 10. I have website under plesk and a site not under plesk and only on IIS. The website under plesk successfully runs php files but the other website gives error:

HTTP Error 500.0 — Internal Server
Error An unknown FastCGI error occured

Module FastCgiModule
Notification ExecuteRequestHandler
Handler PHP5-FastCGI-php
Error Code 0x8007010b
Requested URL http://*.com:80/test.php Physical
Path C:IIS*.comtest.php
Logon Method Anonymous
Logon User Anonymous

PHP5-FastCGI-php is configured exactly like the site under plesk. php-cgi.exe is located at C:Program Files (x86)ParallelsPleskAdditionalPleskPHP5

EDIT:
Here is my php.ini but I don’t get any errors.

error_reporting = E_ALL & ~E_NOTICE
display_errors = On
display_startup_errors = Off
log_errors = On
error_log = "C:Program Files (x86)...logtest.log"
error_log = syslog

asked May 30, 2011 at 12:08

HasanG's user avatar

HasanGHasanG

12.5k29 gold badges100 silver badges152 bronze badges

3

Granted Read & execute, List folder contents for Everyone on folder

C:Program Files (x86)ParallelsPleskAdditionalPleskPHP5

and now php is up and running for every Application Pool. The main problem with plesk was, only sites running with Application Pool Identity of a user which is member of psacln.

answered Jun 4, 2011 at 10:40

HasanG's user avatar

HasanGHasanG

12.5k29 gold badges100 silver badges152 bronze badges

2

Preface: This solution worked for my Python Flask application

If your file permissions are correct, the problem might lie in your Application Pools settings.

  1. Go to IIS manager
  2. Click on your server’s Application Pools tab
  3. Click Set Application Pool Defaults
  4. Set the Identity under Process Model to LocalSystem

Future readers, I spent several days searching for a solution to this problem. Hopefully this fixes your problem in a fraction of the time :)

answered Jun 29, 2021 at 1:46

sharkk22's user avatar

sharkk22sharkk22

1652 silver badges6 bronze badges

1

I think better than granting EVERYONE, would be to grant the builtin IIS group «IIS_IUSRS» read, read and execute and list folder contents on the PHP folder.

answered Feb 4, 2013 at 18:30

Robin's user avatar

RobinRobin

1,5733 gold badges15 silver badges24 bronze badges

I had the same issue and look for a solution for 2 days. It was trial and error.
The error code was 0x8007010b.
In IIS logs

#Fields: ... sc-status sc-substatus sc-win32-status time-taken
         ... 500       0            267             4

Both error 0x8007010b and 267 (use command NET HELPMSG 267) say that The directory name is invalid.

Solution:

  1. Grant full-access to IUSR to:
    • my webapp folder
    • folder containing the executable to be run (in my case python.exe)
  2. In IIS go to -> Authentication (double-click it) -> Select Anonymous Authentication (should be Enabled) -> Edit… -> Choose ‘Specific User’ set IUSR
  3. Select root IIS (click) -> Authentication (double-click it) -> Select Anonymous Authentication (should be Enabled) -> Edit… -> Choose ‘Specific User’ set IUSR

After doing steps 1-3, Error 500.0 was gone. In my case step 3 was missing. I think it is an important detail to know.

Hope it help!

answered Aug 17, 2018 at 9:03

C. Damoc's user avatar

C. DamocC. Damoc

4564 silver badges7 bronze badges

Try to find more info in logs.
Then try to find all *.log files in your panel’s dir. Those with latest modified time should give a chance.

Logs could be defined not in php.ini only. Try to search for them — not trust any *.ini files :)

answered May 30, 2011 at 13:23

gaRex's user avatar

gaRexgaRex

4,13424 silver badges37 bronze badges

I had the same problem. once i try to get on the phpmyadmin page it gives me the 500 error response. To fix this:

Step 1) you’ve to enable the extensions » extension=php_gd2.dll «, » extension=php_mbstring.dll » , and » extension=php_mysql.dll » in php.ini (in php folder) ( if you did that already then go to step two).

Step 2) create a folder in c: named «temp» and inside that folder create another folder named «phpsessions» , after doing so go to php.ini (in php folder) and look for «session.save_path»
and replace whatever between the quotation mark with the location of the php session you created i.e. «C:tempphpsessions» and don’t forget to uncomment it ;

Good luck to my fellow geeks :P

answered Apr 26, 2014 at 2:46

pay it forward's user avatar

  • Remove From My Forums
  • Question

Answers

  • User1243808635 posted

    It worked finally. At first I started registering PHP manually and I believe at that point of time, I created web.config and the handler inside it was pointing to different version of PHP. Since I used Web Platform Installer later on to install PHP, I DELETED
    the web.config file from the wwwroot folder and I could see the PHP page using the URL  http://localhost/phpinfo.php

    I guess that was it.

    Thanks everyone for your inputs.

    • Marked as answer by

      Tuesday, September 28, 2021 12:00 AM

  • Remove From My Forums
  • Question

Answers

  • User1243808635 posted

    It worked finally. At first I started registering PHP manually and I believe at that point of time, I created web.config and the handler inside it was pointing to different version of PHP. Since I used Web Platform Installer later on to install PHP, I DELETED
    the web.config file from the wwwroot folder and I could see the PHP page using the URL  http://localhost/phpinfo.php

    I guess that was it.

    Thanks everyone for your inputs.

    • Marked as answer by

      Tuesday, September 28, 2021 12:00 AM

  • Remove From My Forums
  • Вопрос

  • Здравствуйте,

    После установки PHP версий 5.5 и 5.6 через веб-платформу сайты стали открываться с ошибкой: «Непредвиденное завершение процесса FastCGI»

    Подробные сведения об ошибке:
    Модуль    FastCgiModule
    Уведомление    ExecuteRequestHandler
    Обработчик    PHP_via_FastCGI
    Код ошибки    0x000000ff

    Работа через PHP версии 5.3 такой ошибки не вызывает.

Ответы

    • Помечено в качестве ответа

      6 июня 2016 г. 5:59

  • Помогла установка: Visual C++ Redistributable for Visual Studio 2012 Update 4 и Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)

    • Помечено в качестве ответа
      Alexander RusinovModerator
      6 июня 2016 г. 18:07

php-cgi.exe - The FastCGI process exited unexpectedly error and how to fix it

You just installed your brand-new Windows 2012 RC2 Server and you want to setup the PHP framework aswell. You launch the Windows Web Platform and download the latest PHP version (let’s say v5.6.0) and set up php.ini and all the relevant configuration files. Then, as soon as you launch the website, you get the following error:

C:Program Files (x86)PHPv5.6phpcgi.exe The FastCGI process exited unexpectedly

Despite this being a fair common issue, there aren’t many posts explaining how to fix the problem yet. Well, here’s one.

Solution

The fix is really simple: you just need to install Visual C++ Redistributable for Visual Studio 2012 Update 4, 32-bit version. Notice that, even if you have a 64-bit operating system, you need to install the 32-bit version because PHP is still a 32-bit application.

Here’s the download link: http://www.microsoft.com/en-us/download/details.aspx?id=30679

Once you install that, you’ll be good to go.

UPDATE: Since the launch of the x64, experimental version of PHP 5.6 (and above) this post requires the following update: if you’re using an 64-bit PHP build, you have to install the 64-bit Visual C++ package, available through the same download link mentioned above. As the two packages can coexist without hassles, our suggestion for 64-bit based installations is to install both as long as x64 PHP builds will be marked as «experimental», so you’ll be able to switch back to the x86 version whenever you need to.

  • Remove From My Forums
  • Вопрос

  • Всем доброго времени суток!=)

    Появилась необходимость запустить проект написанный с использованием php на сервере. Связка PHP 5.2.17 + IIS8 + MSSQL2012.

    При попытке запуска тестового файла с HelloWorld=) ошибка:

    Ошибка HTTP 500.0 — Internal Server Error
    C:webtmPHPphp-cgi.exe — Непредвиденное завершение процесса FastCGI

    В логах от php и iis пустовато по этому поводу.

    Может кто сталкивался с подобным или знает в чем проблема, подскажите?=) 

Ответы

  • Проблему решил=) Удалил у сайта сопоставляемый модуль, в настройках IIS, который использовал модуль FastCgiModule. Создал новый с использованием модуля CgiModule и все Ok! 

    • Помечено в качестве ответа

      6 апреля 2013 г. 9:45

Я запускаю IIS7 на Windows Server 2008 с Plesk 10. У меня есть сайт под plesk и сайт не под plesk и только на IIS. Веб-сайт под plesk успешно запускает файлы php, но другой веб-сайт выдает ошибку:

Ошибка HTTP 500.0 — внутренний сервер
Ошибка Произошла неизвестная ошибка FastCGI

Модуль FastCgiModule
Уведомление ExecuteRequestHandler
Обработчик PHP5-FastCGI-php
Код ошибки 0x8007010b
Запрашиваемый URL-адрес http://*.com:80/test.php Физический
Путь C:IIS*.comtest.php
Метод входа Анонимный
Вход в систему Анонимный пользователь

PHP5-FastCGI-php настроен точно так же, как сайт под plesk. php-cgi.exe находится в папке C:Program Files (x86)ParallelsPleskAdditionalPleskPHP5

EDIT:
Вот мой php.ini, но я не получаю никаких ошибок.

error_reporting = E_ALL & ~E_NOTICE
display_errors = On
display_startup_errors = Off
log_errors = On
error_log = "C:Program Files (x86)...logtest.log"
error_log = syslog

6 ответы

Предоставленный Прочитать и выполнить, Список содержимого папки для Все в папке

C:Program Files (x86)ParallelsPleskAdditionalPleskPHP5

и теперь php запущен и работает для каждого пула приложений. Основная проблема с plesk заключалась в том, что только сайты, работающие с идентификацией пула приложений пользователя, который является членом psacln.

Создан 04 июн.

Я думаю, что лучше, чем предоставлять ВСЕМ, было бы предоставить встроенной группе IIS «IIS_IUSRS» чтение, чтение и выполнение и перечисление содержимого папки в папке PHP.

Создан 04 фев.

У меня была такая же проблема, ищу решение 2 дня. Это был метод проб и ошибок. Код ошибки был 0x8007010b. В журналах IIS

#Fields: ... sc-status sc-substatus sc-win32-status time-taken
         ... 500       0            267             4

Обе ошибки 0x8007010b и 267 (используйте команду NET HELPMSG 267) скажи это The directory name is invalid.

Решение:

  1. Предоставить полный доступ к IUSR для:
    • моя папка веб-приложения
    • папка, содержащая исполняемый файл для запуска (в моем случае python.exe)
  2. В IIS перейдите в -> Аутентификация (дважды щелкните по нему) -> Выбрать анонимную аутентификацию (должна быть включена) -> Изменить… -> Выбрать набор «Конкретный пользователь» IUSR
  3. Выберите корневой IIS (щелкните) -> Аутентификация (дважды щелкните по нему) -> Выберите анонимную аутентификацию (должна быть включена) -> Изменить… -> Выберите набор «Конкретный пользователь». IUSR

После выполнения шагов 1-3 ошибка 500.0 исчезла. В моем случае шаг 3 отсутствовал. Я думаю, что это важная деталь, которую нужно знать.

Надеюсь, это поможет!

ответ дан 17 авг.

Попробуйте найти больше информации в логах. Затем попробуйте найти все файлы *.log в каталоге вашей панели. Те, у кого последнее измененное время, должны дать шанс.

Логи можно было определять не только в php.ini. Попробуйте поискать их — не доверяйте файлам *.ini :)

ответ дан 30 мая ’11, 14:05

У меня такая же проблема. как только я пытаюсь попасть на страницу phpmyadmin, он дает мне ответ с ошибкой 500. Чтобы исправить это:

Шаг 1) вы должны включить расширения «extension=php_gd2.dll», «extension=php_mbstring.dll» и «extension=php_mysql.dll» в php.ini (в папке php) (если вы это уже сделали, то перейти ко второму шагу).

Шаг 2) создайте папку в c: с именем «temp» и внутри этой папки создайте другую папку с именем «phpsessions», после этого перейдите в php.ini (в папке php) и найдите «session.save_path» и замените все между кавычки с расположением сеанса php, который вы создали, т.е. «C:tempphpsessions», и не забудьте раскомментировать его;

Удачи моим друзьям-гикам :P

ответ дан 26 апр.

Предисловие: это решение сработало для моего приложения Python Flask.

Если ваши права доступа к файлам правильные, проблема может заключаться в настройках ваших пулов приложений.

  1. Перейти к диспетчеру IIS
  2. Нажмите на свой сервер Application Pools таб
  3. Нажмите Set Application Pool Defaults
  4. Установить Identity под Process Model в локальную систему

Будущие читатели, я потратил несколько дней на поиск решения этой проблемы. Надеюсь, это решит вашу проблему за короткое время :)

Создан 29 июн.

Не тот ответ, который вы ищете? Просмотрите другие вопросы с метками

php
iis
iis-7.5

or задайте свой вопрос.

Я запускаю IIS7 на Windows Server 2008 с Plesk 10. У меня есть сайт под plesk и сайт, который не находится под plesk и только на IIS. Веб-сайт под plesk успешно запускает php файлы, но на другом веб-сайте появляется ошибка:

Ошибка HTTP 500.0 — Внутренний сервер
Ошибка Произошла неизвестная ошибка FastCGI

Модуль FastCgiModule
Уведомление ExecuteRequestHandler
Обработчик PHP5-FastCGI-php
Код ошибки 0x8007010b
Запрошенный URL http://*.com: 80/test.php Физический
Путь C:IIS *.comtest.php
Метод входа в систему Anonymous
Анонимный пользователь входа

PHP5-FastCGI-php настроен точно так же, как и сайт под plesk. php-cgi.exe находится в папке C:Program Files (x86)ParallelsPleskAdditionalPleskPHP5

EDIT:
Вот мой php.ini, но я не получаю никаких ошибок.

error_reporting = E_ALL & ~E_NOTICE
display_errors = On
display_startup_errors = Off
log_errors = On
error_log = "C:Program Files (x86)...logtest.log"
error_log = syslog

30 май 2011, в 14:31

Поделиться

Источник

4 ответа

Предоставлено Читать и выполнять, Содержимое папки списка для Все в папке

C:Program Files (x86)ParallelsPleskAdditionalPleskPHP5

и теперь php запускается и запускается для каждого пула приложений. Основной проблемой с plesk было только сайты, работающие с идентификатором пула приложений пользователя, который является членом psacln.

x-freestyler
04 июнь 2011, в 11:54

Поделиться

У меня была та же проблема. как только я попытаюсь попасть на страницу phpmyadmin, он даст мне ответ на ошибку 500. Чтобы исправить это:

Шаг 1), вы должны включить расширения «extension = php_gd2.dll», «extension = php_mbstring.dll» и «extension = php_mysql.dll» в php.ini(в папке php) (если вы это сделали которые уже идут на второй этап).

Шаг 2) создайте папку в c: named temp и внутри этой папки создайте другую папку с именем «phpsessions», после чего перейдите в php.ini(в папку php) и найдите «session.save_path»,
и замените что-либо между кавычкой на местоположение созданной вами php-сессии, то есть «C:tempphpsessions», и не забывайте раскомментировать ее;

Удачи моим собратьям-выродкам: P

pay it forward
26 апр. 2014, в 04:07

Поделиться

Я думаю, что лучше, чем предоставление EVERYONE, было бы предоставление встроенной группы IIS «IIS_IUSRS» читать, читать и выполнять и указывать содержимое папки в папке PHP.

Robin
04 фев. 2013, в 20:02

Поделиться

Попробуйте найти больше информации в журналах.
Затем попробуйте найти все файлы *.log в директории панели. Те, у кого есть последнее модифицированное время, должны дать шанс.

Журналы могут быть определены не только в php.ini. Попробуйте найти их — не доверяйте никаким *.ini файлам:)

gaRex
30 май 2011, в 13:28

Поделиться

Ещё вопросы

  • 1Завершение детской активности от другой детской активности в Android
  • 0Как обновить страницу / представление в угловом виде с другой?
  • 1Android — получение исключения
  • 1android — можно ли заставить действие пользователя эмулировать аппаратную кнопку «Назад»?
  • 1Неопределенная ошибка при попытке запустить учебник по Android
  • 1Добавление кода Admob в Android приводит к ошибке: у вас должен быть объявлен AdActivity в AndroidManifest.xml
  • 0Как предотвратить $ event for fire дважды
  • 0Ошибка синтаксического анализа PHP: синтаксическая ошибка, неожиданная ‘;’ в D: Hosting 10340930 html checkr.php в строке 27
  • 0NGDoc Шаблон не найден для метода
  • 0Как я могу вручную запустить рендеринг кнопки входа в Google по умолчанию
  • 1Как сделать просмотр списка для элементов в Android?
  • 0Как получить читаемую строку из двоичных данных в PHP?
  • 1Как развернуть модель Keras CNN на веб-сервисе?
  • 1Отправка объекта в библиотечный класс в Android
  • 0Как добавить оповещение JavaScript в innerHTML во время выполнения
  • 1JSON.NET Конфликт имени свойства при использовании JsonPropertyAttribute
  • 1Загрузка файла на FTP-сервер не работает
  • 1Как запустить апплеты на Android?
  • 1openpyxl — добавление новых строк в файл Excel с существующей объединенной ячейкой
  • 0Как сделать список HTML прокручиваться вниз на полноэкранной странице?
  • 0Объедините 2 массива, где значение становится ключом
  • 1Запись аудио в Android
  • 1Конвертировать PNG или JPG изображение в строку Base64 в Android
  • 0Установка переменных в AppController
  • 1DropDownListFor для статического списка состояний
  • 0Нужно нажать кнопку дважды, чтобы выполнить функцию — jQuery
  • 0DirectX ошибки Vector3
  • 1Android-виджет с изменяющимся текстом
  • 0Eloquent Model не объединяет таблицы в правильном порядке
  • 1Использование C # HttpClient для входа на веб-сайт и получения информации с другой страницы
  • 0Невозможно получить вызов в Blackberry 10
  • 0Дата DatePicker не устанавливается с помощью кода JQuery
  • 0mod_rewrite добавление косой черты
  • 1Получение пути к тому, где мои классы лежат в Android
  • 0добавить в переменную по переключателю кнопку php
  • 1Относительно статических членов в классе [дубликаты]
  • 1Утечка памяти Android, без статических переменных
  • 1Сохранить android.app. Состояние приложения
  • 0SQL: выберите элемент в одном столбце на основе значения другого столбца.
  • 1Как приложение Контакты на Android?
  • 0Функция синхронизации в JavaScript
  • 1Низкоуровневый API Amazon S3 для загрузки больших файлов
  • 0Синтаксическая ошибка MYSQL после первичного ключа
  • 1Сбой установки AWS EB CLI с «python setup.py egg_info» завершился ошибкой с кодом ошибки 1 «
  • 0База данных не обновляется в HTML-таблице
  • 1Сохранить и загрузить начальное состояние массива (int [,])
  • 0Переадресация нагрузки nginx 404
  • 1Можете ли вы сделать существующее соединение Tcp Websocket с клиентом
  • 1Как установить таймаут на мыльный вызов с помощью ksoap2-android?
  • 0php — вставка HTML-тегов в зависимости от условия

Сообщество Overcoder

Я получаю эту проблему, когда пытаюсь разместить сайт PHP на IIS.

IIS 8.5 (Server 2012 R2) и PHP 7.0.9

Когда я переключаю версию на PHP 5.3, она работает нормально. Но PHP 7 выдает эту ошибку.

Ошибка HTTP 500.0 — внутренняя ошибка сервера
C: Program Files (x86) PHP v7.0 php-cgi.exe — процесс FastCGI неожиданно завершился

Подробная информация об ошибке:

Module     FastCgiModule
Notification       ExecuteRequestHandler
Handler    PHP_via_FastCGI
Error Code     0xc0000135
Requested URL      http://localhost/index.php
Physical Path      C:inetpubwwwrootindex.php
Logon Method       Anonymous
Logon User     Anonymous

В нескольких других ссылках говорилось, что я пропускаю распространяемый VC ++ 2015, поэтому я попытался установить его, но также не удалось установить, и у меня возникла следующая ошибка:

error code : 0x80240017
Log:

[079C:029C][2016-09-12T01:41:52]i325: Registering dependency: {e46eca4f-393b-40df-9f49-076faf788d83} on package provider: Microsoft.VS.VC_RuntimeAdditionalVSU_amd64,v14, package: vcRuntimeAdditional_x64
[079C:029C][2016-09-12T01:41:52]i301: Applying execute package: Windows81_x64, action: Install, path: C:ProgramDataPackage CacheFC6260C33678BB17FB8B88536C476B4015B7C5E9packagesPatchx64Windows8.1-KB2999226-x64.msu, arguments: '"C:WindowsSysNativewusa.exe" "C:ProgramDataPackage CacheFC6260C33678BB17FB8B88536C476B4015B7C5E9packagesPatchx64Windows8.1-KB2999226-x64.msu" /quiet /norestart'
[079C:029C][2016-09-12T01:41:57]e000: Error 0x80240017: Failed to execute MSU package.
[08A4:0680][2016-09-12T01:41:57]e000: Error 0x80240017: Failed to configure per-machine MSU package.
[08A4:0680][2016-09-12T01:41:57]i319: Applied execute package: Windows81_x64, result: 0x80240017, restart: None
[08A4:0680][2016-09-12T01:41:57]e000: Error 0x80240017: Failed to execute MSU package.
[079C:029C][2016-09-12T01:41:57]i372: Session end, registration key: SOFTWAREMicrosoftWindowsCurrentVersionUninstall{e46eca4f-393b-40df-9f49-076faf788d83}, resume: ARP, restart: None, disable resume: No
[079C:029C][2016-09-12T01:41:57]i371: Updating session, registration key: SOFTWAREMicrosoftWindowsCurrentVersionUninstall{e46eca4f-393b-40df-9f49-076faf788d83}, resume: ARP, restart initiated: No, disable resume: No
[08A4:0680][2016-09-12T01:41:57]i399: Apply complete, result: 0x80240017, restart: None, ba requested restart:  No

1

Решение

Пожалуйста, установите обновления для Universal C Runtime в Windows.
Universal C Runtime в Windows

После этого попробуйте установить VC ++ снова ..

0

Другие решения

  • Произошла неизвестная ошибка directx call of duty warzone
  • Произошла неизвестная ошибка apple id macbook
  • Произошла неизвестная ошибка 75 067e 004b
  • Произошла неизвестная ошибка 66681
  • Произошла неизвестная ошибка 6 00 овервотч