آدرس فایل رو اینطوری میدم
نقل قول:http://localhost:8080/testphp.php/فایلو که اجرا میکنم این پیغام خطا رو میده .میدونید مشکلش چیه؟[table][tr][th]( ! ) Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\wamp\www\testphp.php on line 2[/th][/tr][tr][th]Call Stack[/th][/tr][tr][th]#[/th][th]Time[/th][th]Memory[/th][th]Function[/th][th]Location[/th][/tr][tr][td]1[/td][td]0.0010[/td][td]133640[/td][td]{main}( )[/td][td]..\testphp.php:0[/td][/tr][tr][td]2[/td][td]0.0010[/td][td]133824[/td][td]mysql_connect ( )[/td][td]..\testphp.php:2[/td][/tr][/table][table][tr][th]( ! ) Warning: mysql_connect(): php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\wamp\www\testphp.php on line 2[/th][/tr][tr][th]Call Stack[/th][/tr][tr][th]#[/th][th]Time[/th][th]Memory[/th][th]Function[/th][th]Location[/th][/tr][tr][td]1[/td][td]0.0010[/td][td]133640[/td][td]{main}( )[/td][td]..\testphp.php:0[/td][/tr][tr][td]2[/td][td]0.0010[/td][td]133824[/td][td]mysql_connect ( )[/td][td]..\testphp.php:2[/td][/tr][/table][table][tr][th]( ! ) Warning: mysql_connect(): php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\wamp\www\testphp.php on line 2[/th][/tr][tr][th]Call Stack[/th][/tr][tr][th]#[/th][th]Time[/th][th]Memory[/th][th]Function[/th][th]Location[/th][/tr][tr][td]1[/td][td]0.0010[/td][td]133640[/td][td]{main}( )[/td][td]..\testphp.php:0[/td][/tr][tr][td]2[/td][td]0.0010[/td][td]133824[/td][td]mysql_connect ( )[/td][td]..\testphp.php:2[/td][/tr][/table]اتصال پایگاه داده ایجاد نشد
نقل قول:php_network_getaddresses: getaddrinfo failed: No such host is known.
نقل قول:برای بار دوم که اجراش میکنم این پیغامومیده
اتصال پایگاه داده ایجاد نشد
MySQL server has gone away