mus3na 5 Report post Posted April 12, 2005 kita mulakan ngan PHP sak, hokhokhohko.....OK cita cam ni, aku nak try install PHP and link ngan MySQL aku. MySQL aku pakai Version 4.1.11 and fully working.mula2 aku install PHP 4.3.11, tapi bila nak read MySQL aku dapat error ni "mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in"aku try macam2 trick yg ade kat internet termasuk edit php.ini and include line apo aku tak ingat tapi ade la pasal "old password" pun tak solve. than aku uninstall PHP 4.3.11 and aku install PHP 5.0.4. dapat masalah lain lak "Call to undefined function mysql_connect() ".serabut dah kepala aku, dah dekat 11 jam aku mengadap benda ni. so adekah PHP ni lepas install nak kena configure, sak tul....cara aku install;1) aku download PHP 5.0.4.exe for Windows x86 from www.myphp.net2) aku double click and run la dia3) pilih location (aku install kat D:\) (wwwroot aku kat E:\)4) aku masukkan smtp info (Serber = smtp.streamyx.com)5) Finish, IIS5.1 dia auto edit aku rasa sebab aku tengok PHP dah di registerkan dalam CGI IIS5.1 so aku tak de buat apo2 lai. aku terus execute code PHP yg aku download tu.PHP application yg aku gunakan ialah Invision Power Board 2.0.3 and phpBB. 999 Help Call Quote Share this post Link to post Share on other sites
1kHz 0 Report post Posted April 12, 2005 PHP 5 no longer bundles MySQL client librarieshttp://my2.php.net/manual/en/faq.databases...ases.mysql.php5 Quote Share this post Link to post Share on other sites
mus3na 5 Report post Posted April 12, 2005 aku try trick dalam web tu. first uncoment extension=php_mysql.dll;extension=php_mssql.dll ;extension=php_msql.dll extension=php_mysql.dll ;extension=php_oci8.dll ;extension=php_openssl.dlllepastu add path ke libmysql.dll dalam system PATH aku and restart computer. still tak lepas, IPS bagi error ni.address http://mus3na/forum/install/index.phpFatal error: Call to undefined function mysql_connect() in E:\Inetpub\wwwroot\forum\ips_kernel\class_db_mysql.php on line 117PHP Warning: PHP Startup: Unable to load dynamic library './php_mysql.dll' - The specified module could not be found. in Unknown on line 0sebelum ni aku try install MySQL 4.0.x tapi bila nak link dia kata password for user root@localhost invalid. sedangkan dalam My.ini memang username = root Quote Share this post Link to post Share on other sites
mus3na 5 Report post Posted April 12, 2005 ok aku try uninstall all MySQL ngan PHP. than aku install MySQL 4.0.24. lepas tu create user = root, password = pass_aku. lepastu aku install PHP 4.3.11-installer. kedua2 beruk ni aku install using default option/recommendation, so dia duduk kat C:\ (C:\mysql & C:\php).than aku copy upload content dari IPS 2.0.3 ke dalam folder forum IIS 5.1 aku. set permission all file = read + write + execute (aku kasi semua permission sebab dah pening dah).than aku call install page dari IE6.1. masukkan semua required data, eg database name = test (aku tengok dalam MySQL ni ade ni je, kalau MySQL 4.1.x dia pakai ibdata1 tah la). than lepas fill all info aku dapat error ni.Warning: mysql_connect(): Access denied for user: 'root@localhost' (Using password: YES) in E:\Inetpub\wwwroot\forum\ips_kernel\class_db_mysql.php on line 120 Quote Share this post Link to post Share on other sites
psychoX 6 Report post Posted April 12, 2005 langkah paling senang aa.. rerasa aku .. install bundle (cadangan aku : apachefriends.xammp ) dulu . pah tu tgk cara dia org setting cam mana.... owk ... tgk cara dia org setting httpd.conf ngan php.ini ... ok .. bro.. ? Quote Share this post Link to post Share on other sites
mus3na 5 Report post Posted April 12, 2005 ni content my.ini aku as shown by MuSQL tools.******************************************************#This File was made using the WinMySQLAdmin 1.4 Tool#12/04/2005 03:44:19 #Uncomment or Add only the keys that you know how works.#Read the MySQL Manual for instructions[mysqld]basedir=C:/mysql#bind-address=192.168.1.3datadir=C:/mysql/data#language=C:/mysql/share/your language directory#slow query log#=#tmpdir#=#port=3306#set-variable=key_buffer=16M[WinMySQLadmin]Server=C:/mysql/bin/mysqld-nt.exeuser=rootpassword=******* Quote Share this post Link to post Share on other sites
mus3na 5 Report post Posted April 12, 2005 Apache aku kena elakkan seboleh2nye sebab takkan nak run IIS ngan Apache. aku still running ASP ngan ASPX dari IIS ni. Quote Share this post Link to post Share on other sites
mus3na 5 Report post Posted April 12, 2005 bosan....bosan....bosan..... kenapa la open source product tak leh match ngan style aku.... oleh itu aku telah perun semua buku asp aku and marilah kita pakai asp utk buat board. lagi sempoi. Quote Share this post Link to post Share on other sites
TonikCapGajah2013 175 Report post Posted April 12, 2005 Aku guna 2 jenis webserver dalam satu PC.IIS dan Apache.Masa nak run IIS kena Off Apache. Dan begitulah sebaliknya.Mungkin mereka guna port yang sama kut? Quote Share this post Link to post Share on other sites
psychoX 6 Report post Posted April 13, 2005 buat dua port la.. satu 80 . satu lagi 8080 Quote Share this post Link to post Share on other sites
mus3na 5 Report post Posted April 13, 2005 bosan tul la, aku baru abis up kan windows 2003 enterprise server. ingat nak runkan asp code aku dalam ni, sekali tak lepas! huh, kena setting lagi, pesal la default setting semua sak...... away, mata pun dah pedih, sehari mengadap server. Quote Share this post Link to post Share on other sites
DarkWan 3 Report post Posted April 13, 2005 tak silap aku, win2K3 secara default mmg takleh nk run asp. tak silap la .. Quote Share this post Link to post Share on other sites
mus3na 5 Report post Posted April 13, 2005 yup, and aku dah dapat solution dia. IIS6 kau kena on kan je ASP.net, tapi aku ade error dalam script dia. ruponye IIS6 default dia turn off parent path apo tah, aku on kan setting tu, terus jalan. ni dah online dah, utk di pandu uji...... jangan wat bandwidth test or security test dah la, aku pakai default setting lagi tu, aku balik dari kelantang minggu depan aku sambung. Quote Share this post Link to post Share on other sites