Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linuxÖÐÉý¼¶phpºÍGD¿â±Ê¼Ç


linuxÖÐÉý¼¶phpºÍGD¿â±Ê¼Ç
php-5.1.2.tar.gz
°²×°phpËùÐèµÄÈí¼þ°ü
£¨ÆäÖÐlibxml2ÊÇ°²×°php5±ØÐëµÄ£¬ÎªÊ²Ã´»¹ÐèÒªperl´ô»á˵Ã÷Ô­Òò¡££©
libxml2-2.6.19.tar.gz
libxslt-1.1.15.tar.gz
ActivePerl-5.8.8.817-i686-linux-2.2.17-gcc-257965.rpm
curl-7.15.0.tar.gz
GD¿âËùÐèÒªÈí¼þ°ü
£¨ÓÐÈË˵PHPÔ´Âë°üÀï×Ô´øÁËGD2.0.28ºÍzlib£¬
Ö»Òª°²×°GDµÄÈý¸öÖ§³Ö°ü£ºjpg,pngºÍfreetype£¬µ«ÊÇÎÒÃÇ»¹ÊÇÏÂÔØ£©
gd-2.0.33.tar.gz
freetype-2.1.10.tar.gz
jpegsrc.v6b.tar.gz
libpng-1.2.8.tar.gz
zlib-1.2.3.tar.gz
//°²×°jpeg
[root@as4 local]# mkdir -p /home/servers/jpeg6
[root@as4 local]# mkdir -p /home/servers/jpeg6/bin
[root@as4 local]# mkdir -p /home/servers/jpeg6/lib
[root@as4 local]# mkdir -p /home/servers/jpeg6/include
[root@as4 local]# mkdir -p /home/servers/jpeg6/man
[root@as4 local]# mkdir -p /home/servers/jpeg6/man1
[root@as4 local]# mkdir -p /home/servers/jpeg6/man/man1
# tar -zvxf jpegsrc.v6b.tar.gz
# cd jpeg-6b
# ./configure --prefix=/home/servers/jpeg6/ --enable-shared --enable-static
# make; make install
b.°²×°libpng
# cd ..
# tar -zvxf libpng-1.2.8.tar.gz
# cd libpng-1.2.8
# cp scripts/makefile.std makefile
# make; make install
c.°²×° freetype
# cd ..
# tar -zvxf freetype-2.1.10.tar.gz
# cd freetype-2.1.10
# mkdir -p /home/servers/freetype
# ./configure --prefix=/home/servers/freetype
# make;make install
d.:°²×°zlib
# cd ..
#tar -zxvf zlib-1.2.3.tar.gz
#cd zlib.1.2.3
# ./configure
# make;make install
e.°²×°GD¿â
# cd ..
# tar -zvxf gd-2.0.33.tar.gz
# mkdir -p /home/servers/gd2
# cd gd-2.0.33
# ./configure --prefix=/home/servers/gd2 --with-jpeg=/home/servers/jpeg6/ --with-png=/usr/local/lib/ --with-zlib=/usr/local/lib/ --with-freetype=/home/servers/freetype/
# make; make install
e.°²×°Curl¿â
# cd ..
# tar -zxvf curl-7.15.0.tar.gz
# mkdir -p /home/servers/curl
# ./configure --prefix=/home/servers/curl
# make; make install
Î壺°²×°php5£¬php5±ØÐëÓÐlibxml2Ö§³Ö£¡
a.°²×°libxml2
# cd ..
# tar


Ïà¹ØÎĵµ£º

×öºÃLinuxµÄ¹ÜÀíÔ±£º21ÎÊ

misc.php?action=viewratings&tid=586737&pid=4784587
70.ÈçºÎ¼ì²éLinuxÓ²ÅÌʹÓÃÇé¿ö£¿
ÔÚLinux»·¾³Ï£¬Äã¿ÉÒÔʹÓÃdfÃüÁîÀ´²é¿´Ó²Å̵ÄʹÓÃÇé¿ö¡£ÏÂÃæ¾ÍÊÇÒ»¸ödf –T –h(-T²ÎÊý£ºÏÔʾÎļþϵͳÀàÐÍ£¬-h²ÎÊýÓÿɶÁÐԽϸߵķ½Ê½À´ÏÔʾÐÅÏ¢)ÃüÁîµÄÊäÈëʵÀý£º
Filesystem Type Size Used Avail Use% Moun ......

¾Å¿îLinuxÎı¾±à¼­Æ÷

ÔªÀϼ¶µÄ¹¤¾ß
Emacs
KVIM
ÓÃÏÖ´úµÄ·½Ê½±àд´úÂë
Arachnophilia¡¡¡¡
Bluefish£ºBluefish±ê°ñÆä×ÔÉíÊÇ“Ò»¿îΪÊìÁ·µÄWebÉè¼ÆÔ±ºÍ³ÌÐòÔ±¶øÉèµÄ±à¼­Æ÷”¡£
Komodo Edit
NEdit
×Ö´¦ÀíµÄһЩѡÔñ
Gedit£ºÊÇLinux GNOME×ÀÃæÉÏÒ»¿îСÇɵÄÎı¾±à¼­Æ÷¡£
Kate
¼¯³ÉµÄ¹¤¾ß
Quanta Plus
Quanta Plus±ê°ñ×ÔÉíΪһ¸ ......

phpÖмòµ¥µÄ·ÖÒ³

<%
rs.pagesize=14
page=cint(Request.QueryString("page"))
if page<1 then
page=1
elseif page>rs.pagecount then
page=rs.pagecount
end if
rs.AbsolutePage=page
IF rs.BOF and rs.eof then
Response.Write("<br><br>±¾Õ¾ÔÝÎÞÈÕÖ¾¼Ç¼£¡£¡<br><br>")
response.end
end if ......

¹ØÓÚPHPµÄcall_user_funcµÄ·ÖÎö

·Ö±ðÏÂÔØÁËphp5.2.10ºÍ5.3.0°æ±¾µÄÔ´Â룬²éÕÒµ½ÀïÃæcall_user_function(ÔÚext/standard/basic_functions.c)µÄ·½·¨¡£
ÔÚ5.2.10°æ±¾Àcall_user_functionÓõÄÊDZê×¼µÄphp º¯ÊýµÄд·¨£¬ÓÃzvalÀàÐÍÀ´´æ´¢½ÓÊյIJÎÊý£¬µ÷ÓÃcall_user_function_exÀ´Ö´ÐÐÓû§µÄ·½·¨¡£Èç¹ûµ÷Óò»³É¹¦Ôò·ÖÎöÊDz»ÊǽÓÊÕµ½µÄ²ÎÊýÀïÓÐʲô´íÎó¡£
µ«Ô ......

php±í¸ñÊä³ö

<?
//ÐÂÎÅÀà±ð
$query_cat="select * from $dbtable1";
$result_cat=mysql_query($query_cat) or die("<mce:script type="text/javascript"><!--
alert('Ìáʾ£º²éÑ°ÐÂÎÅÀà±ðʧ°Ü£¬Çë¸ú¹ÜÀíÔ±ÁªÏµ')
// --></mce:script>");
if(!$resul ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ