Jump to content
php.lv forumi

InterBase configure in php.ini


Martiny

Recommended Posts

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

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

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

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

×
×
  • Create New...