Quote:
Originally Posted by
dahlia84
php -v will give you the PHP version.
mysql -e status|grep 'Server version' will give you mysql version.
httpd -v will give you Apache version.
Which PHP/MySQL version to install is up to your need and requirement. I will always install the latest versions.
To install all the three... check out
www.lamphowto.com/
Thanks you very much for your information.
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 (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
---------- Post updated at 01:42 AM ---------- Previous update was at 01:41 AM ----------
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 (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
---------- Post updated at 02:02 AM ---------- Previous update was at 01:42 AM ----------
I m running following Apache web server version.
Quote:
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.