answersLogoWhite

0


Best Answer

The easiest way is to create a file with a name ending in .php (such as info.php), containing only these 3 lines: <?

phpinfo();

?> Upload this file to your web space and access it using your browser. It will show a lot of information about your webserver and the php version running on it.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you find version of PHP in uniform server?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Will php 4.4.7 server support php 5 files?

Yes php 4.4.7 server support php 5 files. But most of the php 5 features are not supported by php 4.4.7 version


How can I know what PHP version my site is running on?

Set up a PHP file and put the following in it. &lt;?php phpinfo(); ?&gt; Then run it on the server, it will have all the information you will need including what version you are running.


What is the server used to run PHP in Windows?

One of the Windows Server operating systems. PHP can be installed with Microsoft's IIS web server as an ISAPI filter, or you can install the WAMP server under Windows that contains the Apache web server, the PHP interpreter, and mySQL. There are others as well, such as the Xitami web server, etc., that work equally well with PHP under windows.


How do you find the PHP version in Linux?

In terminal use the following command. php -ver


Why does PHP built-in web server not serve file called é.txt in windows OS?

The file may not actually be named that, but rather an encoded version of it. You can use scandir() to find the actual file name as fetch-able by PHP.


What does phpinfo do?

phpinfo() is a PHP function that displays detailed information about the PHP environment, including configuration settings, extensions, and server information. It is often used for debugging and troubleshooting purposes to gather information about the PHP setup on a server.


Why does your browser try to save rather than open your PHP scripts?

PHP is a server-side scripting language, which means that scripts are interpreted and executed by the server before PHP pages are sent to the client (the browser). The server replaces PHP scripts with the output it obtains from their execution and then transmits to the client the output thus obtained. Hence, your browser cannot execute PHP scripts, but it can only request PHP pages from a server which runs the scripts. Because the server is what processes the script, PHP needs to be installed on the server for the server to be able to process PHP scripts. If PHP isn't installed, the server has no idea that "foo.php" is a PHP script so just sends it to the browser as an executable - in a way that forces the browser to prompt to download it. Consult your hosting provider's help for installing, setting up or enabling PHP. Alternatively, you can install it yourself if your host provides the permissions to (See the related questions for installation help). If your host does not provide PHP support, find another host.


How do you run php file?

Either you could download latest version of php, mysql &amp; apache server or better you just need to install xampp. Versions of it are available for all OS


What is next version of PHP?

The next version is PHP 6.


How can you put PHP into your product details pages?

&lt;?php // your php code goes here ?&gt; If your product pages are created in PHP (have the .php extension) then you can simply add the php start/end tag. There is a way to have the server recognize PHP inside of HTML files but that would require some work on the server, better left to the server manager.


Which is the latest stable version of PHP?

The lastest stable versions of PHP (as of March 3, 2012): PHP 5.4: Version 5.4.1 PHP 5.3: Version 5.3.11


What is a good server for PHP language?

The best server yet for php serving is Apache, as PHP and Apache work closely together. The MySQL community database is a good server for PHP applications, this is why we talk about w/xamp servers, Windows/Linux Apache MySQL PHP servers.