[問題] 請教不知道是不是PHP的問題
發表於 : 2005-10-25 14:48
我裝好php的套件後...進行測試
test.php
------------
<?php
phpinfo( ); \r
?>
當我連http://myip/test.php
卻會顯示出檔案內容
連執行http://myip/phpMyAdmin
也是出現檔案內容
---------------<?php
/* $Id: index.php,v 2.14 2004/10/19 17:23:09 nijel Exp $ */
// vim: expandtab sw=4 ts=4 sts=4:
/**
* Gets core libraries and defines some variables
*/
require_once('./libraries/grab_globals.lib.php');
require_once('./libraries/common.lib.php');
/**
* Includes the ThemeManager if it hasn't been included yet
*/
require_once('./libraries/select_theme.lib.php');
....................
.............
..........
小弟是新手
請問各位大大為什麼會不能執行呢?
我的環境 Fedora C4
httpd-2.0.54-10.2
system-config-httpd-1.3.2-2
httpd-manual-2.0.54-10.2
hp-5.0.4-10.4
php-devel-5.0.4-10.4
php-mysql-5.0.4-10.4
php-gd-5.0.4-10.4
php-pear-5.0.4-10.4
test.php
------------
<?php
phpinfo( ); \r
?>
當我連http://myip/test.php
卻會顯示出檔案內容
連執行http://myip/phpMyAdmin
也是出現檔案內容
---------------<?php
/* $Id: index.php,v 2.14 2004/10/19 17:23:09 nijel Exp $ */
// vim: expandtab sw=4 ts=4 sts=4:
/**
* Gets core libraries and defines some variables
*/
require_once('./libraries/grab_globals.lib.php');
require_once('./libraries/common.lib.php');
/**
* Includes the ThemeManager if it hasn't been included yet
*/
require_once('./libraries/select_theme.lib.php');
....................
.............
..........
小弟是新手
請問各位大大為什麼會不能執行呢?
我的環境 Fedora C4
httpd-2.0.54-10.2
system-config-httpd-1.3.2-2
httpd-manual-2.0.54-10.2
hp-5.0.4-10.4
php-devel-5.0.4-10.4
php-mysql-5.0.4-10.4
php-gd-5.0.4-10.4
php-pear-5.0.4-10.4