@@Pakiti Server
@Encounter problem:
PHP Fatal error: Unable to select db in /var/www/pakiti2/include/mysql_connect.php on line 66
@Troubleshooting steps
## edit test.php
<?php $host = 'localhost'; $user = 'user'; $pass = 'password'; $db = 'pakiti2'; $conn = mysql_connect($host,$user,$pass) or die('Unable to connect to host '); mysql_select_db($db,$conn) or die('database select error .'.mysql_error());
?>
## manually execute php script
#php test.php
@@Pakiti Client:
Manually script for verify pakiti client
#curl -s -v -F host='client ip' -F version="5" https://server ip: 443/feed/
沒有留言:
張貼留言