Martiny Posted February 23, 2004 Report Share Posted February 23, 2004 Vēlos lietot PHP funkcijas darbam ar InterBase datubāzes serveri, bet cik saprotu, php.ini failā ši iespēja nav nodefinēta. Kā configurē to php.ini failu? Vienkārši ierakstot rindiņas? Man nepalīdzēja šī instrukcija. http://lv2.php.net/manual/en/ref.ibase.php Manam datoram OS ir WinXP. Webserveris Omni HttPd, kaut kas tamlīdzīgs. gds32.dll atrodas arii uz C:\Windows\Systems32, bet InterBase serveris ir citur, ne uz manas darbastacijas. Pateicos par paliidziibu jau iepriekš. Link to comment Share on other sites More sharing options...
рпр Posted February 24, 2004 Report Share Posted February 24, 2004 ja visas bibliotekas ir, tad vajadzeetu pietikt, ja atkomentee ;extension=php_interbase.dll Link to comment Share on other sites More sharing options...
Robis Posted February 24, 2004 Report Share Posted February 24, 2004 Hei, vispaar man ir taads jautaajums attieciibaa uz .ini failiem... Respektiivi, esmu redzeejis viena saita kodu, kur saita konfiguraacija bija saprogrammeeta config.ini.php failaa, bet nu konfiguraacijas stils bija liidziigs kaa ieksh php.ini, piemeeram: ; <?php /* DO NOT ALTER THIS LINE, IT IS HERE FOR SECURITY REASONS ; ; The driver corresponds to which database software you are using. ; Currently, only MySQL is officially supported. For a list of drivers, ; see the folder saf/lib/Database/Driver. driver = MySQL ; This is the name of the database host server. If it is the same ; as the web server, often "localhost" is fine. hostname = localhost ; This is the name of your database on the database server. database = DBNAME ; The username you must supply to the database server in order to ; connect and send queries. username = USER ; The password you must supply to the database server in order to ; connect and send queries. password = PASS Kaa tas naakas? Kaapeec ir jaataisa shaads fails, ja var nodefineet vienkaarshi php mainiigos? Link to comment Share on other sites More sharing options...
Martiny Posted February 26, 2004 Author Report Share Posted February 26, 2004 Paldies PHP, bet ja man nav interbase.dll faila? Vai pietiktu to vienkaarshi nokopeet no datora uz kura ir tas interbase serveris? Kuraa DIR tad to kopeet vai Win\Systems32 Paldies. Link to comment Share on other sites More sharing options...
рпр Posted February 26, 2004 Report Share Posted February 26, 2004 pieljauju, ka nepietiks ar to vien, par cik pats nelietoju interbase, tad es tikai pienjemu, ka kaa jau normaalai db ir gan server, gan clients, liidz ar to tev vismaz vajag uzinstaleet clientu. Link to comment Share on other sites More sharing options...
Aleksejs Posted February 26, 2004 Report Share Posted February 26, 2004 Nemācēšu pateikt par Win, jo PHP ar interbase atbalstu man strādā uz Linux (tam nācās pārkompilēt PHP). Bet tas fails droši vien jāliek PHP extensions direktorijā. Link to comment Share on other sites More sharing options...
Martiny Posted February 26, 2004 Author Report Share Posted February 26, 2004 Paldies, bet atradu atrisinajumu. Izraadaas, ka instaleejot Webserveri Omni HttPd ar PHP atbalstu uzraadiiju prieksh PHP shadu celju c:\PHP, kur instaleejot webserveri php papildus parametri neieinstaleejas. Tagad no interneta download php http://www.php.net/downloads.php, tad to atarhiveeju un visas dll biblioteekas paarkopeeju uz php.ini failaa noraadiito direktoriju. Tagad nu testeeshu kaa straadaas, jo internetaa lasiju par vairaakaam sastaptaam kluudaam interbase iekljautajaas funkcijaas. Taisniiba, veel buus jaapaarluuko vai manam kompim griezhas tas interbase (Fireberd) klients. Paldies par daliibu diskusijaa! Link to comment Share on other sites More sharing options...
Recommended Posts