- 論壇徽章:
- 0
|
我用c寫一個(gè)連接mysql的cgi程序,cgi程序放在“/www/cgi-bin/”目錄,mysql放在“/usr/local/mysql”下,如果我的cgi程序編譯的時(shí)候不連接數(shù)據(jù)庫,就可以正常執(zhí)行,當(dāng)編譯的時(shí)候連接加
“-lmysqlclient -lz ”的時(shí)候就出錯(cuò),錯(cuò)誤如下
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, zhlynn@126.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.0.53 (Unix) PHP/5.0.1 Server at localhost Port 80 |
|