我想請教各位先進 因為我第一次在linux安裝東西 實在弄不懂一些安裝的問題 我將過程寫下來 煩請先進幫我看一下到底出了什麼狀況 謝謝 1.cd apache_1.3.41 /configure --prefix=/usr/local/apache 2.cd php-5.2.4 /configure --with-mysql --with-apache=../apache_1.3.41 make make install **** 出現 Wrote PEAR system config file at: /usr/local/etc/pear.conf You may want to add: /usr/local/lib/php to your php.ini include_path Installing PDO headers: /usr/local/include/php/ext/pdo/ **** 3.cd apache_1.3.41 /configure --prefix=usr/local/apache --activate-module=src/modules/php5 /libphp5.a make **** 出現 make[2]: Leaving directory `/tmp/apache_1.3.41/src/support' <=== src/support make[1]: Leaving directory `/tmp/apache_1.3.41' <=== src **** make install +--------------------------------------------------------+ | You now have successfully built and installed the | | Apache 1.3 HTTP server. To verify that Apache actually | | works correctly you now should first check the | | (initially created or preserved) configuration files | | | | /usr/local/apache/conf/httpd.conf | | | and then you should be able to immediately fire up | | Apache the first time by running: | | | | /usr/local/apache/bin/apachectl start | | | /usr/local/apache/bin/apachectl start | | | Thanks for using Apache. The Apache Group | | http://www.apache.org/ | +--------------------------------------------------------+ cd php-5.2.4 cp php.ini-dist /usr/local/lib/php.ini 修改 /usr/local/apache/conf 中http.conf AddType application/x-httpd-php .php AddType application/x-httpd-php .php3 AddType application/x-httpd-php .phtml /usr/local/apache/bin/apache1 start 結果我用一個測試檔測試 <?phponfo()?> 不能成功 請問各位大大知道為什麼嗎 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.56.11.124