本专题主题收集PHP编译过程中的错误及其解决方案。
1、编译php出错
/php-5.3.2/ext/fileinfo/libmagic/apprentice.c:147:internal compiler error:Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
The bug is not reproducible,so it is likely a hardware or OS problem.
make:*** [ext/fileinfo/libmagic/apprentice.lo] Error 1
解决方法:内存大于1G即可,这是php5.3.2的一个bug
--------------------------------------------------------------------
2、重新构造configure文件出错
./buildconf --force
Forcing buildconf
buildconf:checking installation…
buildconf:autoconf version 2.59 (ok)
buildconf:Your version of autoconf likely contains buggy cache code.
Running vcsclean for you.
To avoid this,install autoconf-2.13.
Can't figure out your VCS, not cleaning.
解决方法:编译安装autoconf-2.13
再将autoconf-2.13的auotconf文件至/usr/local/autoconf

本日志由 flyinweb 于 2012-01-11 15:48:36 发表到 技术文摘 中,目前已经被浏览 159 次,评论 0 次;

作者添加了以下标签: PHP compile errors

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

How do I verify and diagnosis SSL certification installation from a Linux / UNIX shell prompt? How do I validate SSL Certificate installation and save hours of troubleshooting headaches without using a browser? How do I confirm I've the correct and working SSL certificates?

OpenSSL comes with a generic SSL/TLS client which can establish a transparent connection to a remote server speaking SSL/TLS. It’s intended for testing purposes only and provides only rudimentary interface functionality but internally uses mostly all functionality of the OpenSSL ssl library. For testing purpose I will use mail.nixcraft.net:443 SSL certificate which is issued by Go Daddy.

本日志由 flyinweb 于 2012-01-10 09:50:32 发表到 Linux 中,目前已经被浏览 121 次,评论 1 次;

作者添加了以下标签: SSL Certificate

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

Following is a step-by-step guide to creating your own CA (Certificate Authority) -- and also self-signed SSL server certificates -- with openssl on Linux. Self-signing is the simpler route to take, but making one's own CA allows the signing of multiple server certificates using the same CA and involves only a few extra steps.

After using openssl to generate the necessary files, you'll need to integrate them into Apache. This process differs between Linux distros and versions of Apache. Additional references exist at the end of this document. My instructions for Setting up SSL: Ubuntu and Apache 2 are kept most current, and will carry you through to completion.

Making a homemade CA or self-signed certificate will cause the client web browser to prompt with a message whether to trust the certificate signing authority (yourself) permanently (store it in the browser), temporarily for that session, or to reject it. The message "web site certified by an unknown authority... accept?" may be a business liability for general public usage, although it's simple enough for the client to accept the certificate permanently.

Whichever route you take, you'll save the periodic expense of paying a recognized signing authority. This is purely for name recognition -- they've paid the major browser producers to have their CA pre-loaded into them. So if you're on a budget, have a special need or small audience, this may be useful.

本日志由 flyinweb 于 2012-01-07 16:35:20 发表到 WEB服务器 中,目前已经被浏览 158 次,评论 0 次;

作者添加了以下标签: Apache SSLSSL certificates

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

 Last month we released the Beta of VS 2010 Service Pack 1 (SP1). You can learn more about the VS 2010 SP1 Beta from Jason Zander’s twoblog posts about it, and from Scott Hanselman’s blog post that covers some of the new capabilities enabled with it. You can download and install the VS 2010 SP1 Beta here.

Last week I blogged about the new Visual Studio support for IIS Express that we are adding with VS 2010 SP1. In today’s post I’m going to talk about the new VS 2010 SP1 tooling support for SQL CE, and walkthrough some of the cool scenarios it enables.

本日志由 flyinweb 于 2012-01-04 11:24:14 发表到 数据库技术 中,目前已经被浏览 153 次,评论 0 次;

作者添加了以下标签: VS 2010 SP1SQL CESQL Server Compact Edition

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

In most cases you'll want to create your database and it's schema as part of your applications first deployment. Depending on the scenario, you may create it on the client, or create it on the server, do the initial sync, then stream the file down to the client pre-populated.

Why would you create the database on the fly, rather than ship the initial database with your app?

While you could create the empty shell, and deploy it, you'll almost never want to start with a database that has data? Why? While in development, you'll have some set of data. Months later, when another user first installs your app that data may no longer be valid. Since most sync systems don't track deletes forever, you could wind up with data that is very stale, and now way to effectively update it.

本日志由 flyinweb 于 2012-01-04 11:01:27 发表到 DotNet专栏 中,目前已经被浏览 151 次,评论 0 次;

作者添加了以下标签: SQL Server Compact Edition

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

.NET Compact Framework Data Provider for SQL Server Mobile

Type.NET Framework Class Library
UsageSystem.Data.SqlServerCe.SqlCeConnection
ManufacturerMicrosoft

Standard

Data Source=MyData.sdf;Persist Security Info=False;

How to specify the location of the SDF file

Often times the .SDF database is not running in the current directory so it becomes necessary to programatically set the path to the SDF file. This is an example (.net C#) on how to do this when the SDF file is located in the same directory as the executing application.

本日志由 flyinweb 于 2012-01-04 10:55:51 发表到 数据库技术 中,目前已经被浏览 149 次,评论 0 次;

作者添加了以下标签: SQL Server Compact EditionConnection strings

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

在linux的文字窗口中,使用telnet,有时会发现输入的中文会变成乱码,
此时加入参数 -8 就可以解决,例如:

telnet -8 bbs.xxx.xxx
也可以设 ~/.telnetrc 来解决,把底下设定加入 ~/.telnetrc 就可以了,
下次telnet就不用再加参数 -8

DEFAULT set binary

本日志由 flyinweb 于 2011-12-23 17:09:23 发表到 Linux 中,目前已经被浏览 357 次,评论 0 次;

作者添加了以下标签: telnet Chinese Characters

How to build jpegsrc.v6b on 64-bit Linux machines
jpegsrc is no longer maintained and has not been updated since the Clinton administration. This is odd considering how critical this library is to so many applications.

If you are trying to build on a 64-bit Linux machine you will probably get this error during the ./configure step:

checking host system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized

本日志由 flyinweb 于 2011-12-22 09:16:56 发表到 Linux 中,目前已经被浏览 230 次,评论 0 次;

作者添加了以下标签: JpegV6x86_64-unknown-linux-gnulibtool

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

7322/92