linux下不需要启动php的,你做个测试放到web根目录下就可以了,
命名为phpinfo.php<?  phpinfo(); ?> 放到web目录下
在地址栏输入 http:\\localhost\phpinfo.php

解决方案 »

  1.   

    apache中的配置不对  查看httpd.conf文件中是非有AddType application/x-httpd-php .php# For PHP 4
    Action application/x-httpd-php "/php/php.exe"DirectoryIndex  index.htm index.html index.php停止apache  
    /etc/rc.d/init.d/httpd stop启动apache  
    /etc/rc.d/init.d/httpd start
      

  2.   

    按理说.APACHE+PHP+MYSQL是系统自代的话!
    都已经配置好了.
    只要放在根目录下.并启动APACHE.访问就应该可以了.