Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Linux Help, version information of php
maheep
post Jun 6 2004, 05:47 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 6-June 04
Member No.: 3,102



i want to know the coman by which we can find the version of php on linux
Go to the top of the page
 
+Quote Post
Robert83
post Jun 6 2004, 04:27 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,439
Joined: 3-January 04
From: Germany
Member No.: 2,069



Hi,

if you use a rpm based distro (Mandrake,Red Hat,Whitebox,Fedora Core,Suse etc...)

then the command would be

CODE
rpm -q  package_name


this will display the information about that package if it's installed

for example to check the version of apache (and if it's installed)

CODE
rpm -q httpd


to remove a package
CODE
rpm -e package_name_displayed_by_rpm-q_httpd


Sincerely
Robert B


--------------------
Robert Becskei
robert83@linuxhelp.net
--------------------
May the source be with us!
--------------------
AMD X2-3800 @ 2400Mhz
2048MB DDR 400Mhz
DFI Lanparty UT4 NF4 ULTRA-D
GeForce 7800GT
250GB+250GB
Pioneer DVD-RW
17inch Samsung Syncmaster 757NF
WinXP Pro (SP2)/ CentOS 4.3
--------------------
Go to the top of the page
 
+Quote Post
mchclay
post Jun 8 2004, 09:10 AM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 8-June 04
Member No.: 3,118



Put the following into a php script file in your web servers document root (just make sure you delete it when you are done). Open a browser and go to it. This will give you all the information about your php installation.

<?php phpinfo(); ?>

Good luck!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th October 2017 - 08:41 PM