php学习笔记

安装

./configure --with-apxs2=/home/chandler/local/apache/bin/apxs  --with-zlib=/usr/ –with-mysql=/usr/local/mysql

 

Apache编译安装php错误 libphp5.so : No such file or directory apxs:Error: Command failed with rc=65536
把apache 目录build下面的libtool拷贝到了php编译安装的目录下,重新make clean 和make  ,make install,就行了。

 

 

1,连接字符串用 .

<?php
$txt1="Hello World!";
$txt2="What a nice day!";
echo $txt1 . " " . $txt2;
?>

 

2,

 

作者: welkinwalker   发布时间: 2011-06-15