Go Back   Armenian Knowledge Base > Technical sections > Webmaster Zone > Web Development

Reply
 
Thread Tools

Помогите чайнику с инсталировать Php под Апаче
Old 08.10.2002, 15:37   #1
Доктор
 
Pinhead's Avatar
 
Join Date: 03 2002
Location: Yerevan
Age: 43
Posts: 1,646
Rep Power: 0
Post Помогите чайнику с инсталировать Php под Апаче

Вот наконец решил научится этому чуду, да никак не могу синсталировать... апаче вроде нормально работает, но пхп скрипты не интерпретируются почему то. Да и вообще при урл-е localhost/index.php браузер его не открывает а предлагает скачать этот .пхп файл хотя в mime settingsax я его ставил
советы типа rtfm не принимаются, я его читал и следовал каждой строке...
Может проблема в том что я все это пробую на Вин ХП?

Old 09.10.2002, 03:03   #3
Доктор
 
Pinhead's Avatar
 
Join Date: 03 2002
Location: Yerevan
Age: 43
Posts: 1,646
Rep Power: 0
Post

Ничего что могло бы помочь

Old 09.10.2002, 15:23   #4
Доктор
 
Pinhead's Avatar
 
Join Date: 03 2002
Location: Yerevan
Age: 43
Posts: 1,646
Rep Power: 0
Post

Странно, под Win2000 получилось а под XP никак...

Old 09.10.2002, 17:07   #5
Доктор
 
Pinhead's Avatar
 
Join Date: 03 2002
Location: Yerevan
Age: 43
Posts: 1,646
Rep Power: 0
Post

Получилось получилось

Old 09.10.2002, 18:19   #6
Студент
 
Join Date: 03 2002
Location: [ Surrealistical World ]
Posts: 312
Rep Power: 0
Post

Vo vsyakom sluchaye postnu readme PHP4Win32.
Mojet eshe komu-nibud' ponadobitsya.

-------

Installation Notes for IIS 4.0
------------------------------

- Install the php.ini file and the DLLs as mentioned above.
- Start the Microsoft Management Console (may appear as
'Internet Service Manager').
- Under 'ISAPI Filters', add a new ISAPI filter. Use 'PHP' as the filter name,
and supply a path to the php4isapi.dll that is included in the distribution.
- Under 'Home Directory', click on the 'Configuration' button. Add a new entry
to the Application Mappings; Use the path the php4isapi.dll as the Executable,
supply .php as the extension, leave 'Method exclusions', blank, and check
the Script engine checkbox.
- Stop IIS completely (you would have to stop the IIS Administration service for
that - stopping it through the Management Console isn't good enough; You can
do it by typing 'net stop iisadmin' on a command prompt).
- Start IIS again (you can do it by typing 'net start w3svc' on a command prompt).
- Put a .php file under your Web server's document root and check if it works!

Installation Notes for Microsoft PWS 4.0
----------------------------------------

- Install the php.ini file and the DLLs as mentioned above.
- Edit the enclosed PWS-php4.reg file to reflect the location of your
php4isapi.dll. Forward slashes should be escaped, for example:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\Script Map]
".php"="C:\\Program Files\\PHP\\php4isapi.dll"

- In the PWS Manager, right click on a given directory you want to add PHP support
to, and select Properties. Check the 'Execute' checkbox, and confirm.

At this point, PWS should have built-in PHP support.

Good luck,

Zeev <[email protected]> [13/8/1999]
Andi <[email protected]> [19/11/1999]
__________________
::Against the crowd.

Old 19.10.2002, 05:19   #7
Студент
 
Join Date: 03 2002
Location: [ Surrealistical World ]
Posts: 312
Rep Power: 0
Post

Oops... Sorry ne zametil chto vopros byl pro Apache... No vse-zhe mojet okazat'sya poleznoy informaciey...
__________________
::Against the crowd.
Reply




Реклама:
реклама
Buy text link .

All times are GMT. The time now is 10:26.
Top

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.