由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
BuildingWeb版 - questions about php
相关主题
有成功集合过Apache2和PHP4的大侠吗?关于php的问题
PHP apache 配置问题[转载] apache mod_jk.so 问题
[转载] start apache server , httpd? apachectl?apache问题请教
SSI support of Apache Server under NT4.0?为啥显示的是页面源码?
APACHE里如何设置下载文件而不是自动打开http server question
a question about Apache Server, Thank you tommyproblem: apache web server
密码窗口一问请教大牛:如何可以不重启apache, 就直接修改httpd.conf里面的初始配置
关于apache的新手问题急问,大侠请看!
相关话题的讨论汇总
话题: php话题: file话题: apache话题: do话题: installed
进入BuildingWeb版参与讨论
1 (共1页)
c***g
发帖数: 224
1
i have installed php and apache and apache is running ok. but when i tried to
run some php script. the web browser prompted me to save or open the file.
Does that mean php is not installed correctly? Do I still need MVC++ to build
php file?
t*****g
发帖数: 6
2
Your PHPserver i snot install correctly
write a new .php file, and put in:
info();
?>
if you see the server specification, (a long page), then u are ok. Otherwise
ur server is not working.

【在 c***g 的大作中提到】
: i have installed php and apache and apache is running ok. but when i tried to
: run some php script. the web browser prompted me to save or open the file.
: Does that mean php is not installed correctly? Do I still need MVC++ to build
: php file?

m*******e
发帖数: 119
3
Do you have this line in your apache configuration file?
AddType application/x-httpd-php .php
You need to tell apache to treat your file as a php file, not a unknown file
format. For example, if you file has extension as index.phtml, that you should
tell apache:
AddType application/x-httpd-php .phtml

to
build

【在 c***g 的大作中提到】
: i have installed php and apache and apache is running ok. but when i tried to
: run some php script. the web browser prompted me to save or open the file.
: Does that mean php is not installed correctly? Do I still need MVC++ to build
: php file?

c***g
发帖数: 224
4

should
tried
file.

【在 m*******e 的大作中提到】
: Do you have this line in your apache configuration file?
: AddType application/x-httpd-php .php
: You need to tell apache to treat your file as a php file, not a unknown file
: format. For example, if you file has extension as index.phtml, that you should
: tell apache:
: AddType application/x-httpd-php .phtml
:
: to
: build

1 (共1页)
进入BuildingWeb版参与讨论
相关主题
急问,大侠请看!APACHE里如何设置下载文件而不是自动打开
Re: Install JServ on Apache/Redhata question about Apache Server, Thank you tommy
my /cgi-bin/ don't work!? help!密码窗口一问
Apache and PHP4.0关于apache的新手问题
有成功集合过Apache2和PHP4的大侠吗?关于php的问题
PHP apache 配置问题[转载] apache mod_jk.so 问题
[转载] start apache server , httpd? apachectl?apache问题请教
SSI support of Apache Server under NT4.0?为啥显示的是页面源码?
相关话题的讨论汇总
话题: php话题: file话题: apache话题: do话题: installed