Stran 1 od 1 1
Možnosti teme
#16627 - 16.12.05. 20:51 Mambo install
grube386 Odsoten
pionirček

Registriran: 06.03.05.
Sporočil: 98
Telefon: SE Z1010
Živjo!
Rad bi si namestil Mambo 4.5.3. Uporabljam pa IIS 5.1, PHP 5.0.3 in MySQL 4.1.9. Ko pa zaženem installer za Mambo mi javi da je MySQL Unavailable. Poskusil sem že miljonkrat z različnimi nastavitvami itd. pa nič ne pomaga. Ima kdo kako idejo?
_________________________
Čuden je ta svet

Na vrh
#16628 - 16.12.05. 21:08 Re: Mambo install
Jest Administrator Odsoten
iPhone guru

Registriran: 21.02.05.
Sporočil: 9231
Telefon: Apple iPhone 5 64GB
Ocitno pot do mySQLa ni prava... ali pa baza ni startana...
_________________________
Lp
Thomas
__________________________________________
Jabuk.si | Alter.si


Na vrh
#16629 - 16.12.05. 21:12 Re: Mambo install
Jest Administrator Odsoten
iPhone guru

Registriran: 21.02.05.
Sporočil: 9231
Telefon: Apple iPhone 5 64GB
Ali imas v php.ini aktiviran MySQL?

Shrani tole scripto v eno datoteko (npr. testsql.php) in jo daj na root tvojega weba, ter zazeni v brskalniku

Code:
  
<?php
$dbhost = "localhost";
$dbuser = "username";
$dbpasswort = "password";
$dbdatenbank = "Ime baze";

if( mysql_connect( $dbhost, $dbuser, $dbpasswort ) or die ("Ni povezave do baze") ) {
if( mysql_select_db( $dbdatenbank ) or die ("Baza ne obstoja") ) {
echo "Vse je OK!";
}
}
?>

_________________________
Lp
Thomas
__________________________________________
Jabuk.si | Alter.si


Na vrh
#16630 - 16.12.05. 21:16 Re: Mambo install
Jest Administrator Odsoten
iPhone guru

Registriran: 21.02.05.
Sporočil: 9231
Telefon: Apple iPhone 5 64GB
Pa poskusi se tole:

v php.ini popravi naslednje (odstrani narekovaje):

extension_dir = "c:\php\ext" ( This is false )
extension_dir = c:\php\ext (This is true )


I've seen alot of newbies getting frustrated over the extenstions not being installed initially, so heres a quick tut for Windows.

It's ok to use the php5 installer. Just be sure to also grab the .zip or "manual" version of php5.

Install it like any other app. It's pretty straight forward. Don't forget to set the securities mentioned in the last message box at the end of the install. Next, If you installed php to c:\php then you will need to add this to your PATH environment variable. This is a very important step.

Now open up the .zip manual version of php5 and extract the ext folder, and "libmysql.dll" to "c:\php\".

You *MUST* set your security permissions on libmysql.dll and the ext folder to READ/READ&EXECUTE for IUSR_"MACHINE_NAME". like my machine is called master<acct = IUSR_MASTER>. If you don't do this you will recieve an ******.dll - Access Denied. type message.

Next edit your php.ini file usually located in c:\windows\.
Find the line for extension_dir variable and make it say
extension_dir = "c:\php\ext\"

Then scroll down a little bit and find the lines that say
;extension=php_mbstring.dll
;extension=php_bz2.dll
;extension=php_curl.dll
;extension=php_dba.dll
;extension=php_dbase.dll
;extension=php_exif.dll
;extension=php_fdf.dll
;extension=php_filepro.dll
;extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_ifx.dll

just remove the semicolin for each extension you would like loaded. Such as
extention=php_mysql.dll
and so on.

Now just reboot and all should be well. Query away. you basically only need to reboot to update the PATH environment variable. Hope this helps at least 1 person.:)
_________________________
Lp
Thomas
__________________________________________
Jabuk.si | Alter.si


Na vrh
#16631 - 16.12.05. 21:18 Re: Mambo install
grube386 Odsoten
pionirček

Registriran: 06.03.05.
Sporočil: 98
Telefon: SE Z1010
Tole dobim nazaj
Code:
 Fatal error: Call to undefined function mysql_connect() in d:\Inetpub\wwwroot\testphp.php on line 7 

_________________________
Čuden je ta svet

Na vrh
#16632 - 16.12.05. 21:25 Re: Mambo install
Jest Administrator Odsoten
iPhone guru

Registriran: 21.02.05.
Sporočil: 9231
Telefon: Apple iPhone 5 64GB
Potem mas ocitno problem s php.ini... glej uni naslednji post, pa odstrani narekovaje...

Naprej pa jest nevem... Mogoce bo strucko za php, masterblaster kaj prisel naokoli
_________________________
Lp
Thomas
__________________________________________
Jabuk.si | Alter.si


Na vrh
#16633 - 16.12.05. 22:59 Re: Mambo install
grube386 Odsoten
pionirček

Registriran: 06.03.05.
Sporočil: 98
Telefon: SE Z1010
Ja sej sem tudi sam opazil da bo nekaj narobe. Ko sem probaval različne nastavitve pa sem stvari reinštaliral n-krat, je bila opazna razlika ko sem naložil php. Bomo še kej probal pa bo.
_________________________
Čuden je ta svet

Na vrh
#16634 - 19.12.05. 22:17 Re: Mambo install
grube386 Odsoten
pionirček

Registriran: 06.03.05.
Sporočil: 98
Telefon: SE Z1010
Problem je bil v PHP-ju ko sem naložil 4-ko, je bilo takoj vse OK
_________________________
Čuden je ta svet

Na vrh
Stran 1 od 1 1


Skoči v:
Iskanje po tabli
november
Ne Po To Sr Če Pe So
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
Rojstni dnevi naših uporabnikov
Danes nima nihče rojstnega dne
Facebook
Kdo je na tabli
0 registriranih in 84 anonimnih uporabnikov.
Novi uporabniki
štirica, dimce1, Jablan, TanjaJuran, uporabnik123
2359 Registrirani uporabniki
Statistika table
2359 uporabnikov
30 forumov
3859 tem
38089 sporočil

Največ uporabnikov hkrati je bilo: 1099 @ 02.10.25. 02:37