mysql은 인스톨러로 깔려고 했더니 안되서 그냥 바이너리만 받아서 등록해주고 끝.
php는 희안하게 mysql 관련 함수들이 정의 되지 않았다고 지랄을 해대서 열심히 웹질... 양키중에 한명이 요상한 방법으로 해결한게 있다.
http://codewalkers.com/forum/index.php?action=displaythread&realm=default&forum=phphelp&id=370&startat=30
을 보면
Hi,
I am using MySQL 5.0 and PHP 5.1.2 in WindowsXP Professional. I had this problem and solved it. The following steps I did.
1. Downloaded the php-5.1.2-installer.exe from http://www.php.net/downloads.php.
2. Downloaded the 'PHP 5.1.2 zip package' binaries from http://www.php.net/downloads.php.
3. First run the php-5.1.2-installer.exe by selecting the C:\PHP folder.[The install.txt file advices to select a target folder name without spaces in it].
4. Now unzip and copy the contents of 'PHP 5.1.2 zip package' to this C:\PHP folder overwriting all.
5. Change the following values in C:\Windows\php.ini file.
1. extension_dir = "C:\php\ext"
2. extension=php_mysql.dll
6. Now create a sample php file with the following content;
Execute this and check the 'php.ini' folder and 'extension_dir' values are correct as we set. Also check the value of 'extension' variable.
If php.ini file is not correct add a PHPRC system variable with the value C:\windows. This will tell windows from where to load the php.ini file.
Hope this will solve the problem.
Thank,
CoderIndia001@yahoo.com
I am using MySQL 5.0 and PHP 5.1.2 in WindowsXP Professional. I had this problem and solved it. The following steps I did.
1. Downloaded the php-5.1.2-installer.exe from http://www.php.net/downloads.php.
2. Downloaded the 'PHP 5.1.2 zip package' binaries from http://www.php.net/downloads.php.
3. First run the php-5.1.2-installer.exe by selecting the C:\PHP folder.[The install.txt file advices to select a target folder name without spaces in it].
4. Now unzip and copy the contents of 'PHP 5.1.2 zip package' to this C:\PHP folder overwriting all.
5. Change the following values in C:\Windows\php.ini file.
1. extension_dir = "C:\php\ext"
2. extension=php_mysql.dll
6. Now create a sample php file with the following content;
Execute this and check the 'php.ini' folder and 'extension_dir' values are correct as we set. Also check the value of 'extension' variable.
If php.ini file is not correct add a PHPRC system variable with the value C:\windows. This will tell windows from where to load the php.ini file.
Hope this will solve the problem.
Thank,
CoderIndia001@yahoo.com
이 내용.
나도 해봤더니 어쨋든 함수가 정의되지 않았다고 하는건 해결.
지금은 mysql에 접속이 안되서 고민중...
ps. 방금 찾으내용
http://dev.mysql.com/downloads/connector/php/
에서 php 확장 어쩌구리를 받을수 있는듯. 위의 방법처럼 전부다 덮어쓰지 않고 저것만 받아도 되는듯 하다.
ps2. 이거 하다가 중간에 특정 php파일이 전혀 작동을 하지 않는 경우가 있었는데 알고보니 IIS의 홈 디렉토리의 경로가 이상하게 잡혀있었다. 희안하군...




