[linux] REDHAT Enterprise Linux 3.0 a databazy
Pavol Lajciak
Pavol.Lajciak na fedu.ku.sk
Pondělí Srpen 30 13:32:27 CEST 2004
Ahojte,
mam problem s pristupom do databazy cez web rozhranie.
Snazim sa rozbehat moodle.org.
mysql aj postgresql mi bezi aj php aj apache.
Podla manualu k moodle som vytvoril databazy no, skusal
som k databaze pristupovat cez phpMyAdmin (phpMyAdmin.sf.net),
no ked som ho spustil, tak sa mi objavila nasledujuca chyba.
cannot load MySQL extension,
please check PHP Configuration.
V manuale pisu.
[1.20] I receive the error "cannot load MySQL extension, please check
PHP Configuration".
To connect to a MySQL server, PHP needs a set of MySQL functions called
"MySQL extension". This extension may be part of the PHP distribution
(compiled-in), otherwise it needs to be loaded dynamically. Its name is
probably mysql.so or php_mysql.dll. phpMyAdmin tried to load the
extension but failed.
pozeral som /etc/php.ini
Viete poradit?
Dakujem.
---------------------- php.ini --------------------------
; is used as cookie name
session.auto_start = 0 ; initialize session on request startup
session.cookie_lifetime = 0 ; lifetime in seconds of cookie
; or if 0, until browser is restarted
session.cookie_path = / ; the path the cookie is valid for
session.cookie_domain = ; the domain the cookie is valid for
session.serialize_handler = php ; handler used to serialize data
; php is the standard serializer of PHP
session.gc_probability = 1 ; percentual probability that the
; 'garbage collection' process is
started
; on every session initialization
session.gc_maxlifetime = 1440 ; after this number of seconds, stored
; data will be seen as 'garbage' and
; cleaned up by the gc process
session.referer_check = ; check HTTP Referer to invalidate
; externally stored URLs containing ids
session.entropy_length = 0 ; how many bytes to read from the file
session.entropy_file = ; specified here to create the
session id
; session.entropy_length = 16
; session.entropy_file = /dev/urandom
session.cache_limiter = nocache ; set to {nocache,private,public} to
; determine HTTP caching aspects
session.cache_expire = 180 ; document expires after n minutes
session.use_trans_sid = 1 ; use transient sid support if enabled
; by compiling with --enable-trans-sid
url_rewriter.tags =
"a=href,area=href,frame=src,input=src,form=fakeentry"
[MSSQL]
mssql.allow_persistent = On ; allow or prevent
persistent link
mssql.max_persistent = -1 ; maximum number of
persistent links. -1 means no limit
mssql.max_links = -1 ; maximum number
of links (persistent+non persistent). -1 means no limit
mssql.min_error_severity = 10 ; minimum error severity
to display
mssql.min_message_severity = 10 ; minimum message
severity to display
mssql.compatability_mode = Off ; compatability mode with old
versions of PHP 3.0.
;mssql.textlimit = 4096 ; valid range 0 -
2147483647 default = 4096
;mssql.textsize = 4096 ; valid range 0 -
2147483647 default = 4096
;mssql.batchsize = 0 ; limits the number
of records in each bach. 0 = all records in one batch.
[Assertion]
;assert.active = On ; assert(expr);
active by default
;assert.warning = On ; issue a PHP
warning for each failed assertion.
;assert.bail = Off ; don't bail out
by default.
;assert.callback = 0 ; user-function
to be called if an assertion fails.
;assert.quiet_eval = 0 ; eval the
expression with current error_reporting(). set to true if you want
error_reporting(0) around the eval().
[Ingres II]
ingres.allow_persistent = On ; allow or prevent
persistent link
ingres.max_persistent = -1 ; maximum number of
persistent links. (-1 means no limit)
ingres.max_links = -1 ; maximum number
of links, including persistents (-1 means no limit)
ingres.default_database = ; default database
(format : [node_id::]dbname[/srv_class]
ingres.default_user = ; default user
ingres.default_password = ; default password
[Verisign Payflow Pro]
pfpro.defaulthost = "test.signio.com"
; default Signio server
pfpro.defaultport = 443 ; default port
to connect to
pfpro.defaulttimeout = 30 ; default timeout in seconds
; pfpro.proxyaddress = ; default proxy IP
address (if required)
; pfpro.proxyport = ; default proxy port
; pfpro.proxylogon = ; default proxy
logon
; pfpro.proxypassword = ; default proxy password
[Sockets]
sockets.use_system_read = On ; Use the system read()
function instead of
; the php_read() wrapper.
; Local Variables:
; tab-width: 4
; End:
--
S uctou
Pavol Lajciak
Pedagogicka fakulta
Katolicka Univerzita
Katedra informatiky a manazmentu
Namestie Andreja Hlinku 56
034 01 Ruzomberok
tel: +421 44 4320 961 kl. 333
Pavol (dot) Lajciak (at) fedu (dot) ku (dot) sk
http://pf.ku.sk/lajciak/
Další informace o konferenci linux