apache+php+mysql не работают модули

opt1k

Новичок
apache+php+mysql не работают модули

Ставлю:
mysql-5.0.20-win32
php-5.1.2-Win32
apache_2.0.55-win32-x86-no_ssl
php-5.1.2-Win32


настройки в апаче:
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/php"
всё находится одним куском сразу после LoadModule секций.


при обращении к index.php phpmyadmina'a через браузер имею ошибку:
не могу загрузить расширение mysql,<br />проверьте конфигурацию PHP, пожалуйста - Документация


в php.ini:
extension_dir = "c:\php\ext"
раскоментировал extension=php_mysql.dll

выдаёт ту же ошибку


попробовал допустить ошибку в php.ini
extension=php_xsfdgdl.dll (не существующий модуль)
выдаёт туже ошибку, из чего делаю вывод, что не находится php.ini
прбовал пихать его и в винду и в апач, не помогает.


Что делать-то ? :)
 

tony2001

TeaM PHPClub
http://php.net/mysql

MySQL is no longer enabled by default, so the php_mysql.dll DLL must be enabled inside of php.ini. Also, PHP needs access to the MySQL client library. A file named libmysql.dll is included in the Windows PHP distribution and in order for PHP to talk to MySQL this file needs to be available to the Windows systems PATH. See the FAQ titled "How do I add my PHP directory to the PATH on Windows" for information on how to do this. Although copying libmysql.dll to the Windows system directory also works (because the system directory is by default in the system's PATH), it's not recommended.
 

opt1k

Новичок
Автор оригинала: tony2001
http://php.net/mysql

MySQL is no longer enabled by default, so the php_mysql.dll DLL must be enabled inside of php.ini. Also, PHP needs access to the MySQL client library. A file named libmysql.dll is included in the Windows PHP distribution and in order for PHP to talk to MySQL this file needs to be available to the Windows systems PATH. See the FAQ titled "How do I add my PHP directory to the PATH on Windows" for information on how to do this. Although copying libmysql.dll to the Windows system directory also works (because the system directory is by default in the system's PATH), it's not recommended.
Агромное спасибо.
 
Сверху