Error incorrect path to ini file что делать

Проблемы (Страница 2) — Проблемы и их решение — Прохождение Нэнси Дрю —

Добро пожаловать на форум, посвященный произведениям Нэнси Дрю. Здесь вы можете скачать, обсудить все игры Нэнси Дрю, посмотреть прохождения, узнать самую последнюю информацию.

RSS

Сообщения с 26 по 35 из 35

26 2016-08-15 16:35:46

  • beloumeow
  • Новый участник
  • Неактивен
  • Зарегистрирован: 2016-08-11
  • Сообщений: 1

Re: Проблемы

Здравствуйте, скачиваю игру с вашего сайта,загружаю торент, а  после того, как нахожу игру в папке, она не открывается. Подскажите пожалуйста в чем дело

27 Ответ от anglona 2016-08-25 05:04:06

  • anglona
  • Стремящийся
  • Неактивен
  • Зарегистрирован: 2016-08-25
  • Сообщений: 3

Re: Проблемы

А мне подскажите захожу в игру нажимаю скачать она выходит в торренте, но там подключение к пирам 0.0% и на этом всё?! Что это значит? И что с этим делать?

28 Ответ от Tayginka 2017-02-27 11:46:20

  • Tayginka
  • Стремящийся
  • Неактивен
  • Зарегистрирован: 2017-02-21
  • Сообщений: 3

Re: Проблемы

Что-то здесь давно никому не отвечают…Скачала антологию,из них пошла только «СВЕТ!КАМЕРА!», остакльное распознаётся как конфликт.Возможно такое,если у меня установлена лиценз  LENOVO?Хотя из зоны скачивала 4 игры,всё норм пошло.Что делать?

29 Ответ от Vladdd_19991 2017-10-12 19:34:14

  • Vladdd_19991
  • Стремящийся
  • Неактивен
  • Зарегистрирован: 2017-10-12
  • Сообщений: 2

Re: Проблемы

ERROR — incorrect path to INI file — и что делать?

30 Ответ от Vladdd_19991 2017-10-12 19:42:51

  • Vladdd_19991
  • Стремящийся
  • Неактивен
  • Зарегистрирован: 2017-10-12
  • Сообщений: 2

Re: Проблемы

Все решил ее

31 Ответ от l.v.tsepordey 2018-08-10 01:46:52

  • l.v.tsepordey
  • Новый участник
  • Неактивен
  • Зарегистрирован: 2018-08-10
  • Сообщений: 1

Re: Проблемы

Игра не сохраняется. Требует 2 диск. что делать?

32 Ответ от vo1kov4.val 2019-07-25 08:52:57

  • vo1kov4.val
  • Новый участник
  • Неактивен
  • Зарегистрирован: 2019-07-24
  • Сообщений: 1

Re: Проблемы

Доброго времени суток, скачал установил, все норм, а вот речи и звуков в самой игре нет. В чем проблема? хотя при установке игры музыка была. Заранее спасибо

33 Ответ от evshestakova 2019-09-11 11:11:58

  • evshestakova
  • Новый участник
  • Неактивен
  • Зарегистрирован: 2019-09-08
  • Сообщений: 1

Re: Проблемы

Добрый день!
Надеюсь, что поможете, что ответите!!!!
Скачала, смонтировала. Пытаюсь открыть и выдает error code ND-12126/
Пишет (надеюсь, правильно перевела): инсталиррованный Direct X, включенный в игру испорчен. Деинсталлируйте и переустановите игру, чтобы исправить проблему.

34 Ответ от aylkhina 2021-01-26 14:10:50

  • aylkhina
  • Новый участник
  • Неактивен
  • Зарегистрирован: 2021-01-26
  • Сообщений: 1

Re: Проблемы

добрый вечер, у меня макбук, я смогу отсюда скачать игры?

35 Ответ от radacokol 2021-11-15 10:24:55

  • radacokol
  • Стремящийся
  • Неактивен
  • Зарегистрирован: 2021-11-12
  • Сообщений: 2

Re: Проблемы

Здравствуйте, научите как пользоваться сейвом  к игре заколдованная карусель (где брать куда вставлять пожалуйста подробнее), больна рука не могу пройти сбить моллюсков .

Сообщения с 26 по 35 из 35


Не работает переназначение кнопок(или оно и не должно?). В игре присутствует ли быстрое сохранение?

  • пожаловаться
  • скопировать ссылку


Народ!!!А почему она так тормозит у нее ведь минималка
2.6 GHz у меня 2.8GHz
512 MB RAM у меня 1024
128 MB video RAM у меня 256 (RADEON 9600 (256 Мб)) :((

  • пожаловаться
  • скопировать ссылку


Cyrcus, скорее всего из за видюхи. У меня тоже 2,4 GHz, 1024 ram, ATI Sapphire X1650 256 ram и пашет норм, так как видюха явно лучше твоей, хоть и вся система слабая…

  • пожаловаться
  • скопировать ссылку


Народ!!!А почему она так тормозит
да,видюха у тебя не ахти
надеюсь я новую на днях куплю(а то моя даж хуже)

  • пожаловаться
  • скопировать ссылку


Люди помогите, не могу запустить игру.
Устанавливаю, запускаю, она просит вставить диск (у меня образ). Если ставлю NoCd, то пишет, что не может найти какие-то файлы, и просит переустановки.
Что делать?

  • пожаловаться
  • скопировать ссылку


Народ, кто-нить сталкивался с такой ерундой: лицензия после установки отказывается запускаться! Если запускаешь без диска, то она его попросит, затем 20 сек и все — «… приложение будет закрыто…». Зачем спрашивается купил?? Я в ауте (((

  • пожаловаться
  • скопировать ссылку


demap игру надо ставить только по умолчанию. Т.е. на диск сprograms file…

  • пожаловаться
  • скопировать ссылку


demap, на других форумах обсуждали данную проблему. Вроде помогает переимеование папки с антивирусом, перед названием папки надо поставить «_». Например если было «*****», то должно стать «_*****»

  • пожаловаться
  • скопировать ссылку


люди скачал архив с игрой а фаил setup.dll битый если не влом выложите:) или кинте на мыло.

  • пожаловаться
  • скопировать ссылку


ребята, поставил игру в папку по умолчанию с лицензионного диска, диск в приводе. Каждый раз при запуске выдаёт ошибку типа «отправлять/не отправлять отчёт». что делать?…

  • пожаловаться
  • скопировать ссылку


скарей всего переустановить систему

  • пожаловаться
  • скопировать ссылку


у меня проблема, записываешь игру запусуаешь и в окошке вылезает «Приложению не удалось запустится поскольку PhusXLoader.dll не был найден. Повторная установка приложения может исправить проблему»

Че с этим делать?

  • пожаловаться
  • скопировать ссылку


Блин народ чё это за хрень?PhysXLoader.dll небыл найдено!!!! я заипался переустанавливать

  • пожаловаться
  • скопировать ссылку


Помогите я запускаю игру она выкидываут ошибку:
Type : ErrorBox
Module : D:РазноеGamesНовая папкаSpaceSiege.exe
Location :
Fail Count : 1 (w:0, e:1, x:0)
Exe timestamp: Jul 11 2008 15:39:50
Unable to access or create a critical path that is required to operate. This may be caused by incorrect INI file, shortcut, or registry settings. Try reinstalling to resolve this problem.
Internal info:
path var: ‘user_path’
value: ‘%exe_path%’
resolved: ‘D:Games ‘
error: ‘Неверно задано имя папки.’ (0x0000010B)

  • пожаловаться
  • скопировать ссылку


блин, пытался решить проблему с техподдержкой, ничего не вышло… смешно даже. Чтоб я еще покупал лицензию подобных игр… Да ни за что. Знаете, что в техподдержке сказали? У меня оказывается стоИт несколько MS.Net! Сказали удали все, кроме последнего и все заработает! Я под столом. А Маткад я по ихнему на соседском компе запускать буду??? Ф топку… И это ТЕХНИЧЕСКАЯ поддержка! е-мое (((

  • пожаловаться
  • скопировать ссылку


Установил игру. Когда запускаю — выдаёт ошибку
«Space Siege Critical Error
Ошибка воспроизведения видеоролика. Обнаруженное оборудование не поддерживаеться игрой.» и закрываеться.

Что делать?

  • пожаловаться
  • скопировать ссылку

Последнее обновление: 07/03/2022
[Время на прочтение статьи: 5 мин.]

Файлы Windows Initialization, такие как Path.ini, считаются разновидностью файла Параметры (Windows Initialization). Они соотносятся с расширением INI, разработанным компанией IObit для Advanced SystemCare Ultimate 12.1.0.120.

Первая версия Path.ini была выпущена для операционной системы Windows 10 02/12/2019 в составе Corel VideoStudio Pro 2019.

Датой самого последнего выпуска файла для Advanced SystemCare Ultimate 12.1.0.120 является 05/30/2019 [версия 12.1.0.120].

Ниже приведены подробные сведения, порядок устранения неполадок, возникших с файлом INI, и бесплатные загрузки различных версий файла Path.ini.

Что такое сообщения об ошибках Path.ini?

Общие ошибки выполнения Path.ini

Ошибки файла Path.ini часто возникают на этапе запуска Advanced SystemCare Ultimate, но также могут возникать во время работы программы.
Эти типы ошибок INI также известны как «ошибки выполнения», поскольку они возникают во время выполнения Advanced SystemCare Ultimate. К числу наиболее распространенных ошибок выполнения Path.ini относятся:

  • Не удается найти Path.ini.
  • Path.ini — ошибка.
  • Не удалось загрузить Path.ini.
  • Ошибка при загрузке Path.ini.
  • Не удалось зарегистрировать Path.ini / Не удается зарегистрировать Path.ini.
  • Ошибка выполнения — Path.ini.
  • Файл Path.ini отсутствует или поврежден.

Библиотека времени выполнения Microsoft Visual C++

Ошибка выполнения!

Программа: C:Program Files (x86)IObitAdvanced SystemCare UltimateBoottimePath.ini

Среда выполнения получила запрос от этого приложения, чтобы прекратить его необычным способом.
Для получения дополнительной информации обратитесь в службу поддержки приложения.

В большинстве случаев причинами ошибок в INI являются отсутствующие или поврежденные файлы. Файл Path.ini может отсутствовать из-за случайного удаления, быть удаленным другой программой как общий файл (общий с Advanced SystemCare Ultimate) или быть удаленным в результате заражения вредоносным программным обеспечением. Кроме того, повреждение файла Path.ini может быть вызвано отключением питания при загрузке Advanced SystemCare Ultimate, сбоем системы при загрузке или сохранении Path.ini, наличием плохих секторов на запоминающем устройстве (обычно это основной жесткий диск) или заражением вредоносным программным обеспечением. Таким образом, крайне важно, чтобы антивирус постоянно поддерживался в актуальном состоянии и регулярно проводил сканирование системы.

Как исправить ошибки Path.ini — 3-шаговое руководство (время выполнения: ~5-15 мин.)

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

Шаг 1. Восстановите компьютер до последней точки восстановления, «моментального снимка» или образа резервной копии, которые предшествуют появлению ошибки.

Чтобы начать восстановление системы (Windows XP, Vista, 7, 8 и 10):

  1. Нажмите кнопку «Пуск» в Windows
  2. В поле поиска введите «Восстановление системы» и нажмите ENTER.
  3. В результатах поиска найдите и нажмите «Восстановление системы»
  4. Введите пароль администратора (при необходимости).
  5. Следуйте инструкциям мастера восстановления системы, чтобы выбрать соответствующую точку восстановления.
  6. Восстановите компьютер к этому образу резервной копии.

Если на этапе 1 не удается устранить ошибку Path.ini, перейдите к шагу 2 ниже.

Шаг 2. Если вы недавно установили приложение Advanced SystemCare Ultimate (или схожее программное обеспечение), удалите его, затем попробуйте переустановить Advanced SystemCare Ultimate.

Чтобы удалить программное обеспечение Advanced SystemCare Ultimate, выполните следующие инструкции (Windows XP, Vista, 7, 8 и 10):

  1. Нажмите кнопку «Пуск» в Windows
  2. В поле поиска введите «Удалить» и нажмите ENTER.
  3. В результатах поиска найдите и нажмите «Установка и удаление программ»
  4. Найдите запись для Advanced SystemCare Ultimate 12.1.0.120 и нажмите «Удалить»
  5. Следуйте указаниям по удалению.

После полного удаления приложения следует перезагрузить ПК и заново установить Advanced SystemCare Ultimate.

Если на этапе 2 также не удается устранить ошибку Path.ini, перейдите к шагу 3 ниже.

Advanced SystemCare Ultimate 12.1.0.120

IObit

Шаг 3. Выполните обновление Windows.

Когда первые два шага не устранили проблему, целесообразно запустить Центр обновления Windows. Во многих случаях возникновение сообщений об ошибках Path.ini может быть вызвано устаревшей операционной системой Windows. Чтобы запустить Центр обновления Windows, выполните следующие простые шаги:

  1. Нажмите кнопку «Пуск» в Windows
  2. В поле поиска введите «Обновить» и нажмите ENTER.
  3. В диалоговом окне Центра обновления Windows нажмите «Проверить наличие обновлений» (или аналогичную кнопку в зависимости от версии Windows)
  4. Если обновления доступны для загрузки, нажмите «Установить обновления».
  5. После завершения обновления следует перезагрузить ПК.

Если Центр обновления Windows не смог устранить сообщение об ошибке Path.ini, перейдите к следующему шагу. Обратите внимание, что этот последний шаг рекомендуется только для продвинутых пользователей ПК.

Если эти шаги не принесут результата: скачайте и замените файл Path.ini (внимание: для опытных пользователей)

Если ни один из предыдущих трех шагов по устранению неполадок не разрешил проблему, можно попробовать более агрессивный подход (примечание: не рекомендуется пользователям ПК начального уровня), загрузив и заменив соответствующую версию файла Path.ini. Мы храним полную базу данных файлов Path.ini со 100%-ной гарантией отсутствия вредоносного программного обеспечения для любой применимой версии Advanced SystemCare Ultimate . Чтобы загрузить и правильно заменить файл, выполните следующие действия:

  1. Найдите версию операционной системы Windows в нижеприведенном списке «Загрузить файлы Path.ini».
  2. Нажмите соответствующую кнопку «Скачать», чтобы скачать версию файла Windows.
  3. Скопируйте этот файл в соответствующее расположение папки Advanced SystemCare Ultimate:

    Windows 10: C:Program FilesCorelVideoStudio 3D Title EditorPluginsMotionPath
    Windows 10: C:Program Files (x86)IObitAdvanced SystemCare UltimateBoottime

  4. Перезагрузите компьютер.

Если этот последний шаг оказался безрезультативным и ошибка по-прежнему не устранена, единственно возможным вариантом остается выполнение чистой установки Windows 10.

СОВЕТ ОТ СПЕЦИАЛИСТА: Мы должны подчеркнуть, что переустановка Windows является достаточно длительной и сложной задачей для решения проблем, связанных с Path.ini. Во избежание потери данных следует убедиться, что перед началом процесса вы создали резервные копии всех важных документов, изображений, установщиков программного обеспечения и других персональных данных. Если вы в настоящее время не создаете резервных копий своих данных, вам необходимо сделать это немедленно.

Скачать файлы Path.ini (проверено на наличие вредоносного ПО — отсутствие 100 %)

ВНИМАНИЕ! Мы настоятельно не рекомендуем загружать и копировать Path.ini в соответствующий системный каталог Windows. IObit, как правило, не выпускает файлы Advanced SystemCare Ultimate INI для загрузки, поскольку они входят в состав установщика программного обеспечения. Задача установщика заключается в том, чтобы обеспечить выполнение всех надлежащих проверок перед установкой и размещением Path.ini и всех других файлов INI для Advanced SystemCare Ultimate. Неправильно установленный файл INI может нарушить стабильность работы системы и привести к тому, что программа или операционная система полностью перестанут работать. Действовать с осторожностью.

Файлы, относящиеся к Path.ini

Файлы INI, относящиеся к Path.ini

Имя файла Описание Программа (версия) Размер файла (байты) Расположение файла
ms.ini Windows Initialization Advanced SystemCare Ultimate 12.1.0.120 2336 C:Program Files (x86)IObitAdvanced SystemCar…
Freeware.ini Windows Initialization Advanced SystemCare Ultimate 12.1.0.120 46288 C:Program Files (x86)IObitAdvanced SystemCar…
AntivirusConfig.ini Windows Initialization Advanced SystemCare Ultimate 12.1.0.120 296 C:ProgramDataIObitAdvanced SystemCare
HomepageAdvisor.ini Windows Initialization Advanced SystemCare Ultimate 12.1.0.120 1808 C:UsersTesterAppDataRoamingIObitAdvanced …
Win864.ini Windows Initialization Advanced SystemCare Ultimate 12.1.0.120 75451 C:Program Files (x86)IObitAdvanced SystemCar…

Другие файлы, связанные с Path.ini

Имя файла Описание Программа (версия) Размер файла (байты) Расположение файла
CBS.log Log Smart Defrag 6.3.5.188 888642 C:WindowsLogsCBS
CBS.log Log IObit Malware Fighter 7.2.0.5748 888612 C:WindowsLogsCBS
setuperr.log Log IObit Toolbox 1.2 989 C:$WINDOWS.~BTSourcesPanther
setuperr.log Log IObit Toolbox 1.2 23532 C:WindowsLogsDPX
system.ini Windows Initialization Advanced SystemCare Free 12.6.0.368 58 C:Program Files (x86)IObitAdvanced SystemCare

Вы скачиваете пробное программное обеспечение. Для разблокировки всех функций программного обеспечения требуется покупка годичной подписки, стоимость которой оставляет 39,95 долл. США. Подписка автоматически возобновляется в конце срока (Подробнее). Нажимая кнопку «Начать загрузку» и устанавливая «Программное обеспечение», я подтверждаю, что я прочитал (-а) и принимаю Лицензионное соглашение и Политику конфиденциальности компании Solvusoft.

  • Remove From My Forums
  • Question

  • I am currently attempting to automate an install of SQL Server Express 2005 using a Setup.ini file.  I have extracted the Setup.exe and all other necessary installation files to a folder on the PC.  I have used the template.ini as a reference
    for my custom Setup.ini file and can’t seem to find the error in my settings file.  I am attempting to install SQL SE 2005 using Mixed Mode with an SA Password.  Other than that I’m using all of the defaults.  Below is my Setup.ini file.

    [Options]
    USERNAME=ABCDEF
    COMPANYNAME=ABCDEF
    ADDLOCAL=ALL
    INSTANCENAME=DATABASENAME
    SAPWD=OURPASSWORD1
    SECURITYMODE=SQL

    I then save the Setup.ini file to the install directory.  Then open a command line, change directory to the install directory, then call it up using this command:

    setup.exe /qb /settings c:InstallDirectorysetup.ini

    Once I run this, Setup starts, and installs the Setup Support files normally, then I get an error that states:  Invalid INI File.  Make sure the file exists, have access and has the correct entries.

    I can only assume that I’ve flubbed one of the INI entries but I’m not sure which one.  Any help would be much appreciated. 


    Nate

Answers

  • I believe I’ve figured it out.  When I was typing in my commands, I had the SQL Express installation files in a long folder name.  I was using keyboard shortcuts to autocomplete the path to the settings file.  Not sure why this was erroring
    out whole thing.  I moved the files and the INI file in a folder with a short name.  Ran it, and it all seems to be working now…….shortcuts aren’t all they’re cracked up to be sometimes….


    Nate

    • Marked as answer by

      Tuesday, April 27, 2010 7:27 PM

Bug #42849 Configuration File (php.ini) Path incorrect
Submitted: 2007-10-04 07:37 UTC Modified: 2010-05-28 00:23 UTC
Votes: 67
Avg. Score: 4.5 ± 0.9
Reproduced: 56 of 57 (98.2%)
Same Version: 22 (39.3%)
Same OS: 32 (57.1%)
From: inglis-php at yahoo dot com dot au Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.2.4 OS: win xp pro
Private report: No CVE-ID: None

 [2007-10-04 07:37 UTC] inglis-php at yahoo dot com dot au

Description:
------------
I have just used the .msi file to install php 5.2.4  All appeared to work well. I installed to c:PHP folder. Then wrote a small .php test file (below) and tried it and the noticed that: 
The phpinfo() function is reporting php.ini file as being in the 'C:Windows' directory.  It is actually located in 'C:PHP' directory. I have searched my c drive and there is only one copy of php.ini and it is in the c:PHP directory.  I assume it finds the php.ini via the path environment which now starts with c:PHP.


Reproduce code:
---------------
<html>
 <head>
  <title>PHP Test</title>
 </head>
 <body>
 <?php echo '<p>Hello World</p>'; ?> 
<?php phpinfo(); ?> 
 </body>
</html>

Expected result:
----------------
C:PHP

Actual result:
--------------
C:Windows

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports

 [2007-10-05 15:23 UTC] jani@php.net

Exactly what does phpinfo() have about php.ini? There are 2 places in the output, paste both here..(in the very beginning of the output..)

 [2007-10-13 01:00 UTC] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

 [2008-12-01 15:55 UTC] rafael dot amador at gmail dot com

Bug #37919 PHP <---- The same bug

 [2008-12-01 15:59 UTC] rafael dot amador at gmail dot com

Bug #39191

 [2008-12-11 06:22 UTC] yaddayadda at mailinator dot com

I'm a new user of PHP/MySQL. I installed both and phpMyAdmin with no deviation from the instructions and could not get phpMyAdmin to work at all (it could not load the mysql extension). Despite reading numerous posts about what to uncomment in php.ini and what to add to the PATH, whatever I did did not seem to have any effect. Only after I ran phpinfo() did I find out that the path to php.ini was somehow pointing the Windows folder. I was editing php.ini in C:PHP. 

There are many, many frustrated students and beginners out there having this exact issue. They don't know it is a bug. They are told to "just copy php.ini to your Windows folder" as a fix. I did not want to do this because I set the PATH to C:PHP so I knew it should be looking there and NOT in C:Windows (because there was no php.ini there, it should continue looking through the locations specified in PATH). I still do not know how to change this and ended up moving the file out of frustration and everything began to work. 

So many people are experiencing this frustration and wasting hours trying to fix it. Some are even giving up and moving to hosts that already have PHP installed rather than continue to learn on their own. If you install PHP to C:PHP, the php.ini file it looks for should be there!

 [2009-09-05 03:57 UTC] headnok at yahoo dot com

I had the same damn problem and was pulling my hair out for a week.  Please!!! Either instruct the users to move the php.ini file into the C:windows directory your installation instructions or fix the problem!  Please!!!

 [2009-09-16 18:41 UTC] misc at imerk dot net

I've just run into this problem. Using win2k8 r2 x64. And php 5.2.5

I copied the php installation that is working on a win2k3 server to this 
win2k8 box. I put the path to the ini file in both the system PATH 
variable as well as creating a reg key in 
local_machine/software/php5/iniFilePath = C:php5

I still get (none) for the loaded config file. This is working fine on 
the win2k3 machine though.

 [2009-10-12 11:48 UTC] alim at fourplusadvertising dot com

I am quite confused with this whole thing on my mac (leopard).. i thought my PHP was the perfect installation..;-).. till i realised that my PHP.ini setting of upload_max_filesize was still 2 MB inspite of me having changed it to 32 MB!!..

how do i get php to use the php.ini values and not the default.. I am facing the same issue on my imac.. there's some loaded configuration file which shows /private/etc while the Configuration File (php.ini) Path is /etc

But they are I think symlinked.. but whatever I edit in the php.ini does not reflect in the phpinfo()..

please help..

 [2009-12-28 05:33 UTC] u2gohome at gmail dot com

Hi. For me this problem was only occurring when php was executed via apache. Executing php -i from the command line listed the mysql extension whereas a phpinfo() request via the browser did not. 

Try adding the following line to your apache httpd.conf file (to point to the directory containing php.ini) eg.

PHPIniDir 'C:php'

Adding this line changed phpinfo()'s reported 'Loaded Configuration File' from (none) to C:phpphp.ini, and mysql started talking. However, phpinfo() still reports c:windows as the php.ini directory.

Cheers, Matt

 [2010-03-18 23:30 UTC] rsberger1 at hotmail dot com

Since this bug was suspended due to "no feedback", I thought I'd supply
the requested feedback and hope that someone would fix this annoyance.

The two places in my phpinfo output regarding php.ini are:

Configuration File (php.ini) Path 	C:Windows
Loaded Configuration File 	        D:AppsMyFolderphp-5.3.2php.ini

Apparently my php.ini is being loaded from my php-5.3.2 folder, but
phpinfo erroneously reports php.ini's path as C:Windows.

 [2010-05-28 00:06 UTC] vera_cai at hotmail dot com

I have exactly the same problem that because of this bug, my PHP just can not work with mysql and keep complainning "Call to undefined function mysql_connect() ". 

I've tried 5.2.13, 5.3.2 and both had problem. Until searched forum with somebody mentioned to use "phpinfo" check where the php.ini located, I eventually find this bug. With one line added in httpd.conf file "PHPIniDir 'c:php'", the problem is gone. 

Can somebody help to fix this problem as this is not only annoying, I 
am not able to get PHP work with mysql because of this.

 [2010-05-28 00:23 UTC] pajoye@php.net

-Status: No Feedback
+Status: Bogus

 [2010-05-28 00:23 UTC] pajoye@php.net

Ask support in the PHP setup or PHP Windows mailing. Or to one of the numerous support channel out there.

 [2012-04-28 03:46 UTC] zzz20120427 at pby dot com

After installing PHP 5.2.14 via the msi installer, Apache 2.2.16 would no longer start - until I tried the PHPIniDir 'C:Program FilesPHP' trick (single quotes and backslashes).  But PHPInfo showed Configuration File (php.ini) Path as C:Windows and Loaded Configuration File as (none).  (I have only one PHP.ini file and it's in C:Program FilesPHP.)

Double-checking with PHP -i, I got several dialog boxes warning that the built-in dlls weren't loaded.  PHPInfo showed an incorrect default directory for include_path so I uncommented include_path and set it to C:Program FilesPHPPEAR.  No idea if this is correct but the dialog boxes went away, but only if I didn't use a terminating quote!  (Otherwise Apache wouldn't start.)

I also noticed that Loaded Configuration File was now displaying correctly - whether I used slashes or backslashes, double-quotes or single-quotes.  Unfortunately, PHPInfo did not show the modules I had enabled in PHP.ini.

I wonder why PHP will let Apache start with three quotes and not four.  Here are the settings I made (I switched to forward slashes so the trailing backslash of a Windows path could not accidently escape the quote.
httpd.conf:
PHPIniDir "C:/Program Files/PHP/"

PHP.ini:
include_path = ".;C:/Program Files/PHP/PEAR

BTW, moving the trailing quote from PHPIniDir to PHP.ini prevented Apache from starting.

 [2012-04-30 22:10 UTC] zzz20120427 at pby dot com

Well, I achieved success, but didn't pin down the bug.

I stripped *everything* out of my php.ini except the active lines, comparing them to the working Windows 7 machine (from which I copied the Apache and PHP installers that fail on this Windows 7 machine).

The PHP msi must have added "C:Program FilesPHP;" to my PATH, and added "PHPRC=C:Program FilesPHP" to my environment variables.  This would have been a despised absolute last resort for me, but it led me to comment out PHPIniDir "C:/Program Files/PHP/" in httpd.conf.  Apache and PHP still started with the still-unterminated (by a quote) include_path string in php.ini.

As a crude solution, I tried moving include_path to the end of the file so that all the stuff after it wouldn't be added to include path.  Apache wouldn't start.  Putting it back, I began moving it downward to try find the point where it fails.  It first failed in the [PHP_EXIF] section, so I commented out the extension=php_exif.dll.  It failed again in the [PHP_MSSQL] and [PHP_PDO_MSSQL] sections; commented those extensions too.  There were no more crashes as I moved further down the file so I put the include_path back in its original position; all was well.  Then, I added the terminating quote to the include_path - it worked!  All of the modules appeared in phpinfo.php.  It still (correctly) shows Loaded Configuration File as C:Program FilesPHPphp.ini but doggedly continues to show Configuration File (php.ini) Path as C:Windows.  (Afterward, I restored PHPIniDir to httpd.conf which caused no change.)

Funny thing: once I got it working, PHP finally began writing errors to its error log.  Thanks alot, eh?  (The errors were a missing browscap.ini file that I had just added to the php.ini  It's gone now.)

Perhaps those three modules load C:Program FilesPHPPEARgo-pear.phar and that module objects to the close quote on include_path, which causes everything else to go wrong?  Curiously, my other Windows 7 machine doesn't object to PHP_MSSQL or PHP_PDO_MSSQL.

I hope this provides some clues to the developers.  It may not be quite the bug reported but it was a sympton of another bug I was researching.

Apache installer:
httpd-2.2.16-win32-x86-openssl-0.9.8o.msi
PHP installer:
php-5.2.14-win32-installer.msi

 [2018-05-31 01:40 UTC] jabaruben at gmail dot com

Hi,

Seems to be that in the "C:/php" directory, sould be a file with the name php.ini, but in the many cases, only php.ini-production and php.ini-development files are there.

The solution (for me) is change in httpd.conf the line: PHPIniDir C:/PHP/php.ini-production

And the magic go on!

Thanks!

 [2018-05-31 08:15 UTC] spam2 at rhsoft dot net

no, the solution is to rename one of them to php.ini
which one? 

well, depends on the machines use case - really! 
common sense anybody? 


this whole bugreport including all responses is shocking, if one fails to create a config file or make a decision which one out of two files to rename please reconsider if you are qualified to write code probably shared and used by others

 [2018-11-16 00:23 UTC] q21 at bk dot ru

No, it's shoking how you misunderstand, spam2. I just had php-cgi.exe (PHP 7.2) which did not find php.ini in its own folder; and setting PHPRC to that path didn't help. PHP looked for its ini in C:Windows and saw nothing else. Though C:Windows can't have any relation to correct php.ini location, because there can be many installations of various versions of PHP; how could they rely on the same file in some strange outside dir? For ma the only solution that worked was setting -c option. This behavior of PHP is intolerable.

 [2018-11-16 00:51 UTC] spam2 at rhsoft dot net

WTF! 

"Seems to be that in the "C:/php" directory, sould be a file with the name php.ini, but in the many cases, only php.ini-production and php.ini-development files are there" - jesus you are supposed to rename on of them to "php.ini"

you also wrote "The solution (for me) is change in httpd.conf the line: PHPIniDir C:/PHP/php.ini-production" and obviosuly missed to understand what the "Dir" in "PHPIniDir" means

i responded to only that answer full of nonsense and nothing else

Понравилась статья? Поделить с друзьями:
  • Error incorrect configuration
  • Error inconsistentinstallerstate discord
  • Error inconsistent refcounts detected
  • Error inconsistent indentation detected
  • Error inconsistent graph vertices