2014年12月21日

ubuntu下code::blocks无法编译 /bin/sh: 1: g++ not found 解决办法

摘要: linux下code::blocks无法编译运行提示 /bin/sh: 1: g++ not found 的解决办法今天在ubuntu 12.04 软件中心中选装了codeblocks,安装完成后却连最简单的hello world 都无法编译运行。编译时提示/bin/sh: 1: g++: not ... 阅读全文

posted @ 2014-12-21 18:01 icycity 阅读(486) 评论(0) 推荐(0) 编辑

unable to locate package gcc

摘要: 同现以上问题是需要更新源服务器,使用命令:sudo apt-get update 阅读全文

posted @ 2014-12-21 14:12 icycity 阅读(2235) 评论(0) 推荐(0) 编辑

ubuntu关机命令

摘要: 输入命令:sudo halt,即可关机 阅读全文

posted @ 2014-12-21 13:51 icycity 阅读(181) 评论(0) 推荐(0) 编辑

2014年12月8日

CGI Error-The specified CGI application misbehaved by not returning a complete set of HTTP headers.

摘要: 运行php程序时,出现如下错误CGI ErrorThe specified CGI application misbehaved by not returning a complete set of HTTP headers.出现该错误,可能是存在多个原因的,我出现该原因的问题是ZendLoader... 阅读全文

posted @ 2014-12-08 01:04 icycity 阅读(655) 评论(0) 推荐(0) 编辑

2014年12月7日

PHP Notice: Undefined index: ... 问题的解决方法:

摘要: 首先,这个不是错误,是warning。所以如果服务器不能改,每个变量使用前应当先定义。 方法1:服务器配置修改 修改php.ini配置文件,error_reporting = E_ALL & ~E_NOTICE 方法2:对变量进行初始化,规范书写(比较烦琐,因为有大量的变量)。但还没有找到好定义方法... 阅读全文

posted @ 2014-12-07 22:53 icycity 阅读(221) 评论(0) 推荐(0) 编辑

自动更新svn的内容到网站

摘要: 每次编写网站代码,都是手工复制到服务器然后看效果,现在可以通过svn自动更新网站的代码,方法如下:1、编写批处理"C:\Program Files\Subversion\bin\svn.exe" export --force --no-auth-cache --quiet svn://xxxxxx ... 阅读全文

posted @ 2014-12-07 22:00 icycity 阅读(343) 评论(0) 推荐(0) 编辑

php调用批处理方法

摘要: 使用如下命令可以调用要执行的批处理即可。exec("bin\\1.bat");如果出现如下错误,则是需要修改cmd.exe的权限update ok!PHP Warning: exec(): Unable to fork [bin\1.bat] in "xxxxx.php" on line 2在C:\... 阅读全文

posted @ 2014-12-07 21:43 icycity 阅读(705) 评论(0) 推荐(0) 编辑

导航