unix下的PHP环境配置所需软件php-3.0.14-win32.zip php-3.0.14-win32.zip mysql-shareware-3.22.32-win.zip 所有软件均安装在/export/home/guoj/下,也可在其他目录。安装mysqlgzip -dc mysql-3.22.30.tar.gz | tar xvf-cd mysql-3.22.30./configure -prefix= /export/home/guoj/mysqlmakemake installscripts/mysql_install_dbcd../mysql/binbin/safe_mysqld &安装php+apachegzip -dc apache_1.3.11.tar.gz | tar xvf-gzip -dc php-3.0.11.tar.gz | tar xvf-cd apache_1.3.11./configure -prefix= /export/home/guoj/wwwcd ../php-3.0.11./configure -with-apache= /export/home/guoj/apache_1.3.11 -with-mysql= /export/home/guoj/mysql -enable-track-varsmakemake installcd ../apache_1.3.11./configure –prefix= /export/home/guoj/www –activate-module=src/modules/php3/libphp3.apmakemake installcd ../php-3.0.11cd ../php3.ini-dist php3.inivi php3.ini修改php3.ini doc_root=/export/home/guoj/www/htdocs/ extension_dir=/export/home/guoj/php-3.0.11/ extension=php3_mysql.dllcp php3.ini/usr/local/lib/php3.inivi ../www/conf/httpd.conf 加上以下几句: addtype application/x-httpd-php3 .php3 options followsymlinks allowoverride none ../www/bin/apachectl start
http://www.bkjia.com/phpjc/532050.htmlwww.bkjia.comtruehttp://www.bkjia.com/phpjc/532050.htmltecharticleunix下的PHP环境配置 所需软件php-3.0.14-win32.zip php-3.0.14-win32.zip mysql-shareware-3.22.32-win.zip 所有软件均安装在/export/home/guoj/下,也可在其他目…