Jump to content

PHP installation help needed.


Recommended Posts

Hi guys,

This is my first post in this forum.

Recently i come across one interesting advantage of PHP that it is the simplest yet powerful language to communicate with linux .

 

However my knowledge of PHP is very weak.

 

Can u please guide me about following queries.

1)which version of PHP should i install on my linux machine.

2)I heard sometime php get installed while installing web server(correct me if i m wrong).

If it is already install how do i check the version of PHP?

3)How do i check web server version(Most probably i will be working on Apache web server).

4)How do i check MySql version installed in my machine?

If it is not installed in my machine which version will be best suited to communicate with PHP.

 

My linux machine specification is as follows.

uname -o

GNU/Linux

lsb_release -a

LSB Version:    :core-3.0-ia32:core-3.0-noarch:graphics-3.0-ia32:graphics-3.0-noarch

Distributor ID: EnterpriseEnterpriseAS

Description:    Enterprise Linux Enterprise Linux AS release 4 (October Update 7)

Release:        4

Codename:      OctoberUpdate7

Thanks in advance.

 

 

Link to comment
Share on other sites

Hi guys,

This is my first post in this forum.

Recently i come across one interesting advantage of PHP that it is the simplest yet powerful language to communicate with linux .

 

However my knowledge of PHP is very weak.

 

Can u please guide me about following queries.

1)which version of PHP should i install on my linux machine.

2)I heard sometime php get installed while installing web server(correct me if i m wrong).

If it is already install how do i check the version of PHP?

3)How do i check web server version(Most probably i will be working on Apache web server).

4)How do i check MySql version installed in my machine?

If it is not installed in my machine which version will be best suited to communicate with PHP.

 

My linux machine specification is as follows.

uname -o

GNU/Linux

lsb_release -a

LSB Version:    :core-3.0-ia32:core-3.0-noarch:graphics-3.0-ia32:graphics-3.0-noarch

Distributor ID: EnterpriseEnterpriseAS

Description:    Enterprise Linux Enterprise Linux AS release 4 (October Update 7)

Release:        4

Codename:      OctoberUpdate7

Thanks in advance.

 

Please find the output of the given command.

 

I think the reason why i m getting error to find my sql version is because my application is using oracle xe as database .Is there any way i can connect php to oracle xe? I think i can achieve this using jsp or asp.net but i m more concern about running command through web browser.

 

httpd -v

Server version: Apache/2.0.52

Server built: Jun 11 2008 19:01:13

 

mysql -v

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

 

php -v

PHP 4.3.9 (cgi) (built: Sep 20 2007 06:44:48)

Copyright © 1997-2004 The PHP Group

Zend Engine v1.3.0, Copyright © 1998-2004 Zend Technologies

Link to comment
Share on other sites

Hi guys,

This is my first post in this forum.

Recently i come across one interesting advantage of PHP that it is the simplest yet powerful language to communicate with linux .

 

However my knowledge of PHP is very weak.

 

Can u please guide me about following queries.

1)which version of PHP should i install on my linux machine.

2)I heard sometime php get installed while installing web server(correct me if i m wrong).

If it is already install how do i check the version of PHP?

3)How do i check web server version(Most probably i will be working on Apache web server).

4)How do i check MySql version installed in my machine?

If it is not installed in my machine which version will be best suited to communicate with PHP.

 

My linux machine specification is as follows.

uname -o

GNU/Linux

lsb_release -a

LSB Version:    :core-3.0-ia32:core-3.0-noarch:graphics-3.0-ia32:graphics-3.0-noarch

Distributor ID: EnterpriseEnterpriseAS

Description:    Enterprise Linux Enterprise Linux AS release 4 (October Update 7)

Release:        4

Codename:      OctoberUpdate7

Thanks in advance.

I m running following Apache web server version.

httpd -v

Server version: Apache/2.0.52

Server built: Jun 11 2008 19:01:13

How would i find the root directory of Apache server to put my web pages.

Please help.

 

Please find the output of the given command.

 

I think the reason why i m getting error to find my sql version is because my application is using oracle xe as database .Is there any way i can connect php to oracle xe? I think i can achieve this using jsp or asp.net but i m more concern about running command through web browser.

 

httpd -v

Server version: Apache/2.0.52

Server built: Jun 11 2008 19:01:13

 

mysql -v

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

 

php -v

PHP 4.3.9 (cgi) (built: Sep 20 2007 06:44:48)

Copyright © 1997-2004 The PHP Group

Zend Engine v1.3.0, Copyright © 1998-2004 Zend Technologies

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.