PHP Code Showing Instead of Running

2007-11-07 19:37 来源: web 作者:phpma 网友评论 0 条 浏览次数 1

PHP Code Showing Instead of Running phpma.com

Why does your PHP code show as text instead of running?

You've gone through our tutorial and written your first PHP program, but when you go to run it all you see in your browser is the code, the program doesn't actually run. What went wrong? Well the most common reason for this is that you are trying to run it somewhere that doesn't support PHP. phpma.com

If you are running PHP on a web server, make sure you have a host who is setup to run PHP. If you aren't sure, the bests way to find out is to simply e-mail them and ask. phpma.com

If you are running your PHP script on a Windows computer, you need to manually install PHP. phpma.com

Once it is installed your browser should run your PHP programs directly from your computer.

If you are on an Apple, you already have PHP on your computer, you just need to activate it to get things working.

上一篇:Cache it! Solve ..    下一篇:Why aren't my co..

相关主题:

网友评论