| imho.ws |
![]() |
|
|
|
# 2 |
|
::VIP::
Регистрация: 02.12.2001
Адрес: Hohland
Сообщения: 2 260
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
А это смотря под какие винды. Ну вообще то можно. Только под win98 будет не автоматом запускаться, а вручную. Но прикрутить все можно - php, perl, sql
Задай тот-же вопрос в яндекс-поиске и получишь кучу FAQ "как настроить апач и прикрутить php.." |
|
|
|
|
# 6 |
|
::VIP::
Регистрация: 14.04.2002
Адрес: EE/Tln
Сообщения: 2 288
![]() ![]() ![]() ![]() ![]() ![]() |
скачиваешь апач, ставишь, скачиваешь php (installer) - ставишь, потом (если полную версию надо ) скачиваешь бинарник и выкладываешь в проинсталлиную директорию
потом копаешься в конфиге апача - ставишь путь до php.. потом проверяешь каким нить скриптом работоспособность.. кстати для апача есть прога Apache Manager - запускается в трее, чтоб консоль апача не мешал.. |
|
|
|
|
# 7 |
|
::VIP::
Регистрация: 09.05.2002
Адрес: Lithuania
Сообщения: 591
![]() |
Помогите с настройкой РНР под Апачи.
Я поставил сервер . страницы с расширением .нтм и .нтмл открывает нормально. А как только пробуешь открыть .рнр вместо загрузки страницы вылезает скачиваться какой-то файл.... Огромная просьба. Подскажите что не так... |
|
|
|
|
# 11 |
|
::VIP::
Регистрация: 27.12.2001
Адрес: Berlin
Сообщения: 864
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
В install.txt который идет с php всё супер дословно описано .. причем описаны конфиги для многих win серверов... в том числе и апачи...
чтож такого сложного... Делай каждый шаг по инструкции... ------------------------------------- Installing PHP on Windows with Apache 1.3.x There are two ways to set up PHP to work with Apache 1.3.x on Windows. One is to use the CGI binary (php.exe), the other is to use the Apache module dll. In either case you need to stop the Apache server, and edit your srm.conf or httpd.conf to configure Apache to work with PHP. Although there can be a few variations of configuring PHP under Apache, these are simple enough to be used by the newcomer. Please consult the Apache Docs for further configuration directives. Now that version 4.1 introduces a safer sapi module, we recommend that you configure PHP as a module in Apache. To do this, you should move php4ts.dll to the windows/system (for Windows 9x/Me) or winnt/system32 (for Windows NT/2000/XP) directory, overwriting any older file. Then you should add the following three lines to your Apache conf file: (swap c:/php/ for your PHP install path) LoadModule php4_module c:/php/sapi/php4apache.dll AddModule mod_php4.c AddType application/x-httpd-php .php If you wish to install PHP as a CGI binary, (the sapi is much better) you need to enable the apache security fix in your php.ini by setting cgi.force_redirect = 1. Then, insert these lines to your conf file: ScriptAlias /php/ "c:/php/" AddType application/x-httpd-php .php Action application/x-httpd-php "/php/php.exe" Please note that you cannot use php-cli.exe with your webserver. You have to use php.exe which can be found in the sapi directory of your PHP distribution. As a further precaution, we recommend you change the "/php/" ScriptAlias to something more random, to prevent any attempts to call your binary (like the Code Red scripts) for returning a response other than 404. Remember when you have finished to restart the server, for example, NET STOP APACHE followed by NET START APACHE To use the source code highlighting feature, add the following line to your apache httpd.conf file: AddType application/x-httpd-php-source .phps Note, this will only work when you install php as a sapi module. If you wish to use this feature with the cgi binary, create a new file, and use the show_source("path/to/original_file.php"); function. |
|
|
|
|
# 15 |
|
::VIP::
Регистрация: 14.11.2001
Адрес: In dA HAus
Сообщения: 1 007
![]() ![]() |
Классика - DKlab, нечто
новое от них же, сам не пробовал не могу посоветовать. Отличная штука для новичков, которым некогда разбираться. Ну и еще: http://emanual.ru/download/590.html плюс ссылка от Zyrox'a. Всего этого хватит выше крыши чтобы разобраться и стать мастером настройки Апача и остальных нужных вещей
|
|
|
|
|
# 17 |
|
Guest
Сообщения: n/a
|
По теме то оно, по теме. Ан скрипты все равно не пашут. Прочитал я сей документ. Сделал как там сказано. Не помогает: пытаюсь запустить скрипт - вижу выражение лапласиана в сферических координатах чем жутко напоминающее банальную дулю. Что делать? (прямо Достоевский
)
|