Tag Archives: php

debian sarge的PHP4的编译参数

debian中默认的PHP4编译参数,太长了,导致MAPSERVER的MAPSCRIPT无法编译。 ‘./configure’ ‘–prefix=/usr’ ‘–with-apxs2=/usr/bin/apxs2′ ‘–with-regex=system’ ‘–with-config-file-path=/etc/php4/apache2′ ‘–disable-rpath’ ‘–enable-memory-limit’ ‘–disable-debug’ ‘–with-layout=GNU’ ‘–with-pear=/usr/share/php’ ‘–enable-calendar’ ‘–enable-sysvsem’ ‘–enable-sysvshm’ ‘–enable-sysvmsg’ ‘–enable-track-vars’ ‘–enable-trans-sid’ ‘–enable-bcmath’ ‘–with-bz2′ ‘–enable-ctype’ ‘–with-db4′ ‘–with-iconv’ ‘–enable-exif’ ‘–enable-filepro’ ‘–enable-ftp’ ‘–with-gettext’ ‘–enable-mbstring’ ‘–with-pcre-regex=/usr’ ‘–enable-shmop’ ‘–enable-sockets’ ‘–enable-wddx’ ‘–disable-xml’ ‘–with-expat-dir=/usr’ ‘–with-xmlrpc’ ‘–enable-yp’ ‘–with-zlib’ ‘–with-pgsql’ ‘–with-kerberos=/usr’ ‘–with-openssl=/usr’ ‘–enable-dbx’ … Continue reading

Posted in Linux | Tagged , , | 1 Comment

php的http类

一个好用的http类,只有一个文件,适合很小的程序使用,可以用来模拟POST,支持文件上传和Cookie。 若以后要实现EDD的跨平台PHP方案,可能会使用此类. http://new21.mirrors.phpclasses.org/browse/package/576.html

Posted in Program | Tagged , , | 评论关闭

apache/php/mysql的安装

虽然已经安装过多次了,还是记录一下这次安装的过程。 cd ~ wget http://apache.freelamp.com/httpd/httpd-2.0.52.tar.gz tar xzf httpd-2.0.52.tar.gz wget http://cn.php.net/get/php-4.3.10.tar.gz/from/this/mirror tar xzf php-4.3.10.tar.gz cd ~/httpd-2.0.52 #make clean ./configure –enable-rewrite –enable-so make make install cd ~/php-4.3.10 #make clean ./configure –with-apxs2=/usr/local/apache2/bin/apxs make make install cd ~ wget http://dev.mysql.com/get/Downloads/\ MySQL-4.0/mysql-standard-4.0.23-pc-linux-i686.tar.gz/\ from/http://mysql.zawodny.com/

Posted in Linux | Tagged , , | Leave a comment