|
|
|
| http://www.softtime.ru/forum/read.php?id_forum=5&id_theme=79555
изиняюсь за частичный повтор. в предыдущей ветке описал проблему. удалил апач и пхп. все переустановил заново. Новая проблема при включении в конфигурационный файл строк
>LoadModule php5_module C:\Program Files\PHP/php5apache2_2.dll
PhpIniDir "C:\Program Files\PHP"
апач выписывает ошибку, якобы в конфигурационном файле httpd.conf содержатся два одинаковых аргумента, перелопатил весь файл повторов нет . в конфиг включены относительно пхп следующие директивы:
<IfModule dir_module>
DirectoryIndex index.php index.html
</IfModule>
более ничего. соответственно в результате скрипты не обрабатываются.
в логах :
[Sat Sep 08 18:48:53 2012] [notice] Apache/2.2.22 (Win32) configured -- resuming normal operations
[Sat Sep 08 18:48:53 2012] [notice] Server built: Jan 28 2012 11:16:39
[Sat Sep 08 18:48:53 2012] [notice] Parent: Created child process 2656
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 172.16.29.33 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 172.16.29.33 for ServerName
[Sat Sep 08 18:48:53 2012] [notice] Child 2656: Child process is running
[Sat Sep 08 18:48:54 2012] [notice] Child 2144: Released the start mutex
[Sat Sep 08 18:48:54 2012] [notice] Child 2656: Acquired the start mutex.
[Sat Sep 08 18:48:54 2012] [notice] Child 2656: Starting 64 worker threads.
[Sat Sep 08 18:48:54 2012] [notice] Child 2656: Starting thread to listen on port 80.
[Sat Sep 08 18:48:55 2012] [notice] Child 2144: All worker threads have exited.
[Sat Sep 08 18:48:55 2012] [notice] Child 2144: Child process is exiting | |
|
|
|
|
|
|
|
для: soldier
(08.09.2012 в 18:58)
| | Прикрутил PHP и mysql к апачу. Установил cms, установка прошла успешно. Однако после первоначальной настройки и выходаю вновь войти в админпанель cms невозможно, поскольку ни один скрипт кроме файла index.php не обрабатывается. при переходе на любую страницу получаю сообщение "The requested URL /moodle/login/index.php was not found on this server". Почитал доки по cms делал все как описано для решения проблемы ничего не помогает.
В логе ошибок следующее:
[Tue Sep 11 09:24:11 2012] [notice] Apache/2.2.22 (Win32) PHP/5.3.5 configured -- resuming normal operations
[Tue Sep 11 09:24:11 2012] [notice] Server built: Jan 28 2012 11:16:39
[Tue Sep 11 09:24:11 2012] [notice] Parent: Created child process 2036
[Tue Sep 11 09:24:11 2012] [notice] Child 2036: Child process is running
[Tue Sep 11 09:24:11 2012] [notice] Child 2036: Acquired the start mutex.
[Tue Sep 11 09:24:11 2012] [notice] Child 2036: Starting 64 worker threads.
[Tue Sep 11 09:24:11 2012] [notice] Child 3756: Released the start mutex
[Tue Sep 11 09:24:12 2012] [notice] Child 3756: All worker threads have exited.
[Tue Sep 11 09:24:12 2012] [notice] Child 2036: Starting thread to listen on port 80.
[Tue Sep 11 09:24:12 2012] [notice] Child 3756: Child process is exiting
[Tue Sep 11 09:24:46 2012] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/moodle/moodle, referer: http://localhost/index.php
[Tue Sep 11 09:24:47 2012] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/moodle/moodle, referer: http://localhost/index.php
[Tue Sep 11 09:24:53 2012] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/moodle/moodle, referer: http://localhost/
[Tue Sep 11 09:24:53 2012] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/moodle/moodle, referer: http://localhost/
[Tue Sep 11 09:24:53 2012] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/moodle/moodle, referer: http://localhost/moodle/theme/styles.php/standard/1347279304/all
[Tue Sep 11 09:24:53 2012] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/moodle/moodle, referer: http://localhost/
[Tue Sep 11 09:24:53 2012] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/moodle/moodle, referer: http://localhost/
[Tue Sep 11 09:24:57 2012] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/moodle/moodle, referer: http://localhost/
Подскажите как решить проблему? | |
|
|
|
|
|
|
|
для: soldier
(11.09.2012 в 09:26)
| | Решил проблему, которая заключалась в директиве DocumentRoot | |
|
|
|