answersLogoWhite

0

How run php?

User Avatar

Anonymous

12y ago
Updated: 8/20/2019

I have provided you with a two links that will take you through how to install PHP on your computer and how to setup a server so you can run your PHP code. See the relevant link below

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Can you run PHP on Linux?

Yes. Many popular websites run PHP on Linux.


Can you run PHP 3 and 4 on the same server?

Yes, you can, provided that you run PHP as CGI.


How can you run a PHP script?

A php script can only be executed within a Web server that runs php.


Does php run in Windows 7?

Php can run on windows 7, but it does not run directly on it. PHP is a server side-language that runs on Apache. So in order to use PHP on windows 7, you need to install Apache on it. You can do this by installing WAMP server on your windows 7 machine. PHP will automatically be available to you once installed.


How do you preview PHP source output?

The only true form of previewing PHP source output is to run the PHP script in question.


How can you run a php program?

To run PHP, just like any other programming/scripting language, you need to install an interpreter.If you're planning on using the PHP on a website, you can have a PHP interpreter run alongside your Apache/Nginx installation. Go ahead and look up the relevant installation information for your server's OS.


How can you run PHP files?

Use the 'include()' in your pages. Eg. include(link.php); ?> Normally PHP files are meant to be run through a web server which serves on a browser. What is outputted is the HTML of the page along with any information that is generated by php depending on the code inside the page. If you would like to run the PHP code from the command line you can using the php executable. If you are on a windows machine you can do the following: c:\php>php c:\websites\webroot\filename.php This will output the HTML that the PHP generates after being parse by PHP. You can also do this on Linux as follows: $->php /path/to/file.php


How do you run php programs?

You need to install PHP either on a pre built apache server such as xampp or download PHP directly from the website.


Can you run PHP and MySQL on Linux?

Yes.


How do you install php in window?

Download xampp or wamp and everything you need to run PHP would be installed with it


Is PHP runable in Linux?

PHP can run on any major operating system just like java as long as you have an interpreter. Try installing a LAMP (Linux, Apache, MySQL, PHP) server & you should be able to run php on your pc/server. There are some IDE's which would allow php development on linux os


Can you open php file in your PC?

Since a PHP file basically is a text file, yes. But beware - opening and running a PHP file are not the same. If you want to run a PHP file, you will need a webserver with PHP module enabled.