PDA

View Full Version : نصب کامل PHP بر روی winXP



faramarz_s
پنج شنبه 06 فروردین 1383, 18:51 عصر
نصب کامل PHP بر روی IIS :
http://doost.europe.webmatrixhosting.net/php/p01.gif

http://doost.europe.webmatrixhosting.net/php/p02.gif

http://doost.europe.webmatrixhosting.net/php/p03.gif

http://doost.europe.webmatrixhosting.net/php/p04.gif

http://doost.europe.webmatrixhosting.net/php/ms01.gif


با تشکر از کمک شما قدم بعدی چیست؟ :oops: :oops:

1-You will need to change the 'extension_dir' setting to
point to your php-install-dir, or where you have placed
your 'php_*.dll' files. ex: c:\php

PHP.INI:
; Directory in which the loadable extensions (modules) reside.
extension_dir = "./c:\php"

2-Choose which extensions you would like to load when PHP
starts, noting that several extensions are already built
into the Windows release, see the section about
Windows extensions for details of the built-in extensions.
You can uncomment the: 'extension=php_*.dll' lines
in php.ini to load these extensions.

Note that on a new installation it is advisable to first get
PHP working and tested without any extensions before enabling
them in php.ini.

PHP.ini:
I did Nothing

3-On PWS and IIS, you can set the browscap.ini
to point to: 'c:\windows\system\inetsrv\browscap.ini' on
Windows 9x/Me and 'c:\winnt\system32\inetsrv\browscap.ini'

on NT/2000/XP Server.

PHP.ini:
I did nothing

----------------------------------------------------------

Installing PHP on Windows with IIS/PWS
* Windows NT/2000/XP and IIS 4 or newer and PWS 4 on NT Workstation or W2K non server editions

1-مراجعه به تصاویر

oxygenws
پنج شنبه 06 فروردین 1383, 21:25 عصر
سلام،
اول اینکه فایل php4isapi.dll و به شاخهء سیستم ویندوز منتقل کن.....
دوم اینکه فکر کنم شما ntfs دارید، من خودم تا حالا رو ntfs نصب نکردم ولی شنیدم یک سری ملاحظات دیگه ای داره.... بد نیست یه بررسی سر این موضوع بکنی....

یه چیز دیگه..... الان فقط هدفت این باشه که اون فلش قرمزه رو سبزش کنی :) با 180 درجه اختلاف زاویه!!!!

موفق باشید، امید

faramarz_s
پنج شنبه 06 فروردین 1383, 23:51 عصر
اول : را درست کردم.
دوم:

NTFS:
You must repeat from 'Click Add...' for each extension you
want associated with PHP scripts.
(.php is recommended. although .phtml and .php3 may be
required for legacy applications.)

Set up the appropriate security. (This is done in Internet
Service Manager), and if your NT Server uses NTFS file system,
add execute rights for I_USR_ to the directory that contains
php.exe

!NOTE!: Since 4.1.2, the php.ini setting cgi.force_redirect defaults to '1'
which effectively prevents the cgi from working within IIS. You need to set
up at least a minimal php.ini file with the following directive:

cgi.force_redirect = 0

If it doesn't work immidiately, make sure you have the php.ini file in the
right place (%SYSTEMROOT%\php.ini).

سوم :
http://doost.europe.webmatrixhosting.net/php/red01.gif
خب مشکل چیه؟چه تغییراتی باید بدهم؟ :?

oxygenws
جمعه 07 فروردین 1383, 00:08 صبح
عزیز جان..... مرحلهء 3 و 1 رو به هم مربوط کن!!! یعنی آدرس فایل رو تو مرحلهء 3 عوض کن..... امیدوارم فلشتون سبز بشه :)
در مورد ntfs هم من تجربه ای ندارم..... خودت زحمتش رو بکش.
موفق باشید، امید