How To Configure PHP 5 With Apache 2 On Windows in 2 Minutes php 5에서 아파치 2를 구성하는 방법을 창의 2 분
I am assuming that you have downloaded and installed Apache 2.x on your windows machine. 나는 아파치 2.x 것이라고 생각에 당신은 당신의 윈도우 머신을 다운로드하여 설치합니다. Use the latest version 2.2, if you do not have plans to run Subversion on it. 를 사용하여 최신 버전 2.2, 파괴를하지 않은 경우에 그것을 실행할 계획이다. Otherwise choose Apache 2.0.x. 그렇지 않으면 아파치를 선택 2.0.x. Install it with the defaults. 기본값으로 설치합니다. You may want to however changes the drive on which it is installed. 그러나 할 수있습니다가 설치되어있는 드라이브를 변경합니다. Anyway so you have it running. 어쨌든 그럼 여러분은 그것을 실행합니다. Then you went to php.net and have downloaded and extracted the zip file to say c:\ or d:\. 그렇다면 간 php.net하고 말을 압축 파일을 다운로드하고 압축을 푼 c : \ 또는 패 : \합니다. I am assuming you have then changed the name of php.ini-recommended to php.ini. 나는 추측이 다음의 이름을 변경 php.ini php.ini - 권장합니다. So far all the steps are straight forward and their install guide is good enough. 지금까지 곧장 앞으로 및 그들의 모든 단계는 설치 안내서이 정도면 충분합니다. Now you are feeling happy about it and want to integrate PHP with Apache, right? 자, 이제 당신은 행복에 대한 느낌에 통합하고 싶어 아파치, 맞죠? That’s when the fun begins. 그 때 재미를 시작합니다.
To cut the long story short the instructions in PHP document doesn’t work and have obviously not been updated in a long while. 길고도 짧은 이야기를 잘라의 지침을 php 문서가 작동하지 않습니다 그리고 오랜 동안에 업데이 트되지 않은이 분명합니다. So I will give you a 2 minute guide to glory. 그래서 난 영광을하면 2 분 안내합니다.
Open httpd.conf (in Drive:\Program Files\Apache Group\Apache2\conf) and search for LoadModule statements. [httpd.conf (드라이브 : \ 프로그램 파일 \ 아파치 그룹 \ apache2 \ 구성) 및 검색 / LoadModule 제표합니다. At the end add: 끝에 추가 :
LoadModule php5_module "D:/php/php5apache2.dll" / LoadModule php5_module "패 : / php/php5apache2.dll"
Then search for 다음 검색
AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps / AddType 응용 프로그램 / x - 웹서버 - php. php / AddType 응용 프로그램 / x - 웹서버 - php - 소스합니다. phps
Note: The last AddType is a nicety. 참고 사항 : 마지막 / AddType가 미묘합니다. It allows you to view .phps files (php files with extension renamed) in htmlized and colorful format from your browser. 이 옵션을 사용하면이 문서가 적용되는합니다. phps 파일 (php 파일을 확장자 이름이 변경)에서 다채로운 형식과 브라우저에서 htmlized합니다.
Now restart the server. 지금 서버를 다시 시작합니다.
Did I say you are done? 당신이 완료 말했나요? Well, you are. 자, 당신은. So go out and enjoy. 그래서 밖으로 즐긴다.
Note: If you are a wimp and you don’t need Subversion you may take the easy way out and install Xampp instead. 참고 사항 : 만약 당신이 겁쟁이인 데다 파괴를 필요하지 않습니다 아웃을하고 설치하는 쉬운 방법이 걸릴 수있습니다 부전승 대신합니다. It will do the dirty work for you. 그것은 당신을 위해 일한다는 더러운합니다.
Filed under 밑에 Headline News 헤드 라인 뉴스 , How To 하는 방법을 , Open Source Software 오픈 소스 소프트웨어 , PHP php , Tech Note 기술 참고 사항 , Web 웹 , Web Hosting 웹 호스팅 , Web Services 웹 서비스 , Windows windows | |
| |
RSS 2.0 rss 2.0 | |
Trackback 트랙백 this Article | 이 문서 |
Email this Article 전자 우편이 문서
You may also like to read 같은를 읽을 수있습니다 |





September 22nd, 2007 at 4:16 am 2007년 9월 22일에서 오전 4시 16분
Thank U very much.. u 대단히 감사합니다 ..
October 14th, 2007 at 11:28 pm 2007년 10월 14일에서 오후 11시 28분
hi 안녕
does this config works on vista? 이 설정을 비스타 작품?
i download the latest php, but font contian the php5apache2.dll but i have the php5ts, can any1 tell me what to do..please 파일을 다운로드했는데 최근 php,하지만 글꼴 php5ts이 contian the php5apache2.dll하지만 전 수있습니다 ... 제발 무엇을해야할지 말해 any1
December 18th, 2007 at 10:50 am 2007년 12월 18일에서 오전 10시 50분
Awesome, thanks! 멋졌어요, 감사합니다! this was the critical part I needed. 이것은 중요한 부분이 필요 했어요. Even book installation procedures were off base 설치 절차는 따로 자료도 예약
February 24th, 2008 at 9:39 pm 2008년 2월 24일에서 오후 9시 39분
Thanks, 감사합니다,
That worked well. 그 일을 잘합니다.
Extra step to smooth things in Vista 여분 단계를 비스타 일들을 원활
I would add that in the htdocs folder (for those lazy folks who don\’t change the root directory to be something else), that changing the permission ability for USER makes it really simple to add/edit files 나는 htdocs 폴더를 추가하는가 (예를 그 게으른 사람 누구 돈 \ 't이 다른 루트 디렉토리를 변경합니다), 사용자가이 기능의 사용 권한을 변경 정말 간단하게 추가 / 수정 파일을
go to htdocs directory htdocs 디렉토리로 이동
right click and select \”Customize This Folder\” 마우스 오른쪽 버튼으로 클릭을 선택합니다 \ "사용자 지정이 폴더의 \"
select \”Security\” tab. 선택 \ "보안 \"탭합니다.
select \”Edit\” or \”Advanced\” to change the permissions for USER 선택 \ "편집 \"또는 \ "고급 \"을 변경하는 사용자에 대한 사용 권한을
May 31st, 2008 at 7:17 am 2008년 5월 31일에서 오전 7시 17분
Hi 안녕
Thanks for the info 해당 정보를 주셔서 감사합니다
Short and good. 짧고 좋은합니다.
Well done 잘했다
I have follow you instructions but I get an error: 나는 다음과 당신 지침을하지만 전 오류 :
The specified module could not be found. 지정된 모듈을 찾을 수없습니다.
My OS is Vista home premium. 내 운영 체제가 비스타 홈 프리미엄합니다.
Must say that the file: php5apache2.dll 말할 필요가 파일 : php5apache2.dll
was not part of the PHP package. php 패키지의 일부가 아니었합니다.
instead, I have: php5ts.dll 대신에, 나는 : php5ts.dll
(Here is a good link to find that missing php5apache2.dll (여기서는 좋은 링크를 php5apache2.dll를 찾느라 시간이 누락
http://kromann.info/download.php?strFolder=php5_1-Release_TS&strIndex=PHP5_1 http://kromann.info/download.php?strfolder=php5_1-release_ts&strindex=php5_1
)
This is the code lines from my httpd.conf 이것은 내 httpd.conf의 코드를 선
I have placed the lines at the end of the LoadModule list. 나는 선의 끝에 삽입 / LoadModule 목록합니다.
This line is the last one on the list: 이 라인은 마지막 하나는 목록 :
#LoadModule vhost_alias_module modules/mod_vhost_alias.so # / LoadModule vhost_alias_module 모듈 / mod_vhost_alias.so
Then right bellow I have placed the 3 lines as you instructed: 마우스 오른쪽 우는 소리의 3 라인으로 배치 나는 당신의 지시 :
LoadModule php5_module “php/php5apache2.dll” / LoadModule php5_module "php/php5apache2.dll"
AddType application/x-httpd-php .php / AddType 응용 프로그램 / x - 웹서버 - php. php
AddType application/x-httpd-php-source .phps / AddType 응용 프로그램 / x - 웹서버 - php - 소스합니다. phps
Please advice 조언을하시기 바랍니다
Thanks for your help 당신의 도움을 주셔서 감사합니다
Amit C. c. amit