Jackal Posted January 27, 2007 Report Posted January 27, 2007 Uzinstalēju Apache 2.2.4 un uzliku php 4.4.4, un ierakstiju httpd faila beigās šadas rindas: LoadModule php4_module "e:/Server/PHP/sapi/php4apache2.dll" AddType application/x-httpd-php .php bet kad slēdzu apachi iekšā parāda erroru: httpd.exe: Syntax error on line 487 of E:/Server/PHP/sapi/php4apache2.dll into server: The specified module could not be found. Kāpēc viņš to failu neatrod? php4apache2.dll fails atrodas iekš direktorijas E:/Server/PHP/sapi/
andrisp Posted January 27, 2007 Report Posted January 27, 2007 http://www.google.lv/search?hl=lv&q=%2...ot+be+found.%22
bubu Posted January 28, 2007 Report Posted January 28, 2007 Manuprāt php4 un apache2.2 īsti labi kopā nesader.
Jackal Posted January 28, 2007 Author Report Posted January 28, 2007 Jā php un apache versijas nesaderēja, bet tagad uzinstalēju apache 2.0, php 5.2 un mysql 5, bet kad mēģinu pieslēgties datubāzei rāda erroru: Fatal error: Call to undefined function mysqli_connect() in E:\Server\www\index.php on line 4 Kur varētu būt problēma?
Grey_Wolf Posted January 28, 2007 Report Posted January 28, 2007 php.ini failaa.. atkomentee ne tik extension=php_mysql.dll Bet arii... extension=php_mysqli.dll
Val Posted January 28, 2007 Report Posted January 28, 2007 mysqli extensions ir atkomenteets ieksh php.ini
Jackal Posted January 28, 2007 Author Report Posted January 28, 2007 Atkomentēju arī php_mysqli.dll, bet nedarbojas. Arī ar mysql_connect(); rāda to pašu erroru.
andrisp Posted January 28, 2007 Report Posted January 28, 2007 Uztaisi echo php_info() un pārbaudi vai vispār modulis ir ielādējies. Ja nav, tad paskaties, ko saka apache error logs.
Jackal Posted January 28, 2007 Author Report Posted January 28, 2007 (edited) Nu tur rāda, ka ir ielād�“jies mod_php5 Edited January 28, 2007 by Jackal
bubu Posted January 28, 2007 Report Posted January 28, 2007 Ar vārdu modulis tika domāts MySQL vai MySQL Improved moduļi. Un ja nav, tad andrisp pateica, kur skatīties.
Analgiins Posted January 30, 2007 Report Posted January 30, 2007 cik saprotu, tad ir windows, zo... environment variablis PATH mosh nav uzlikts (celjs līdz tam php)?
andrisp Posted January 30, 2007 Report Posted January 30, 2007 Analgiins, ja nemaldos, tad php vispār neielādētos. Jackal, pārbaudi arī vai extensions_dir ir pareizā.
Recommended Posts