Sponsored Content
Full Discussion: Setting up LAMP environment
Operating Systems Linux Red Hat Setting up LAMP environment Post 302897268 by videsh77 on Saturday 12th of April 2014 03:04:36 PM
Old 04-12-2014
Setting up LAMP environment

I wish to setup LAMP environment. Amongst, I have successfully installed Linux 6.1. I am looking fwd to install - Apace Web Server, My Sql Database & PHP environment.

Say if I look for MySql, could see downloadable available in rpm format. But this must be copied over to Linux machine.

As installable be copied from Windows env to CD & the same CD is expected to be read by Linux, wouldnt it there be any incompatibility expected ?

If there is incompatibility, how it should be mitigated ?

Thanks & regards.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

setting environment variables ???

Hello, I want to set some environment variables with this script: ip=$@ echo Remote Computer: $ip PERLDB_OPTS="CallKomodo=$ip:9000 RemotePort=$ip:9010 PrintRet=0" export PERLDB_OPTS PERL5LIB=/opt/komodo export PERL5LIB echo PERLDB_OPTS: $PERLDB_OPTS echo PERL5LIB: $PERL5LIB But it... (5 Replies)
Discussion started by: Gargamel
5 Replies

2. Shell Programming and Scripting

Setting up Environment Variables

Hi all, I am trying to set up some variables in a shell script. The variables contain values of various paths needed to run a java module. The problem is the variables dont seem to be setting at all. here is what i am trying to do : JAR_HOME=/home/was5/bdcms/scheduledjobs/lib export... (6 Replies)
Discussion started by: rpandey
6 Replies

3. Programming

Setting Environment variable..!

Hi, I already have one CPP program which invokes the C program.And the C program contains whole function definitions..!This is a working program..I have to enable the logs in both CPP as well as in the C program ..!So I am reading the enviornmental variable log path from the CPP and doing the... (2 Replies)
Discussion started by: Kattoor
2 Replies

4. Shell Programming and Scripting

Problem setting environment...

Hi All I'm attempting to automate the process of setting the DISPLAY environment variable when logging on (sourcing the .cshrc). I have a mixture of linux and solaris servers and this comnand: who -m | awk '{ print $6}' | tr -d '()' seems to work on all the servers. I want... (2 Replies)
Discussion started by: huskie69
2 Replies

5. UNIX for Dummies Questions & Answers

Setting up your environment

Hi I am new to Solaris and was just given my id and need to setup my environment, what do i need to do to run certain commands without putting in the complete path. How do I create my .profile, I do not see under my login? Any help would be greatly appreciated. (5 Replies)
Discussion started by: sa_ken
5 Replies

6. UNIX for Dummies Questions & Answers

Need help with setting up environment variables

hi all, I would appreciate if some one could explain me the difference between setting up the variables as shown below HOME=${HOME:-"/home/user1"} HOME=/home/user1 (1 Reply)
Discussion started by: SSSB
1 Replies

7. UNIX for Dummies Questions & Answers

Setting Environment Variables

#!/bin/bash if ; then ASS1_DATA_DIR=./ echo $ASS1_DATA_DIR export ASS1_DATA_DIR echo "data dir" fi if ; then ASS1_OUTPUT_DIR=./ export ASS1_OUTPUT_DIR fi I want to create a new environment variable ASS1_DATA_DIR and ASS1_OUTPUT_DIR in bash and set them to the current... (4 Replies)
Discussion started by: bigubosu
4 Replies

8. UNIX for Dummies Questions & Answers

Setting up environment variables

Hi all, This is my first post here. I need to set up a few environment variables with a shell script. Some are hard-coded, but some should come from other commands or as input from the user. How do I do that? For example, I need to export a variable as such: export DISPLAY=127.0.0.1:8.0 ... (2 Replies)
Discussion started by: exchequer598
2 Replies

9. Web Development

Building LAMP server from scratch (build a server with compiled LAMP from CentOS mini)

Hello everyone, I would like to setup a lamp server from a minimal distro and to compile PHP, MySQL and Apache myself. I have chosen CentOS minimal for the OS and I am trying to build the stack by hand... But well, it appears I need some help! First: I am looking for good and recent... (3 Replies)
Discussion started by: freddie50
3 Replies
PHPINFO(3)								 1								PHPINFO(3)

phpinfo - Outputs information about PHP's configuration

SYNOPSIS
bool phpinfo ([int $what = INFO_ALL]) DESCRIPTION
Outputs a large amount of information about the current state of PHP. This includes information about PHP compilation options and exten- sions, the PHP version, server information and environment (if compiled as a module), the PHP environment, OS version information, paths, master and local values of configuration options, HTTP headers, and the PHP License. Because every system is setup differently, phpinfo(3) is commonly used to check configuration settings and for available predefined vari- ables on a given system. phpinfo(3) is also a valuable debugging tool as it contains all EGPCS (Environment, GET, POST, Cookie, Server) data. PARAMETERS
o $what - The output may be customized by passing one or more of the following constants bitwise values summed together in the optional $what parameter. One can also combine the respective constants or bitwise values together with the or operator. phpinfo(3) options +-------------------+--------------------------------------+---+ | Name (constant) | | | | | | | | | Value | | | | | | | | Description | | | | | | +-------------------+--------------------------------------+---+ | INFO_GENERAL | | | | | | | | | 1 | | | | | | | | The configuration line, php.ini | | | | location, build date, Web Server, | | | | System and more. | | | | | | | INFO_CREDITS | | | | | | | | | 2 | | | | | | | | PHP Credits. See also phpcred- | | | | its(3). | | | | | | |INFO_CONFIGURATION | | | | | | | | | 4 | | | | | | | | Current Local and Master values for | | | | PHP directives. See also ini_get(3). | | | | | | | INFO_MODULES | | | | | | | | | 8 | | | | | | | | Loaded modules and their respective | | | | settings. See also get_loaded_exten- | | | | sions(3). | | | | | | | INFO_ENVIRONMENT | | | | | | | | | 16 | | | | | | | | Environment Variable information | | | | that's also available in $_ENV. | | | | | | | INFO_VARIABLES | | | | | | | | | 32 | | | | | | | | Shows all predefined variables | | | | from EGPCS (Environment, GET, POST, | | | | Cookie, Server). | | | | | | | INFO_LICENSE | | | | | | | | | 64 | | | | | | | | PHP License information. See also | | | | the license FAQ. | | | | | | | INFO_ALL | | | | | | | | | -1 | | | | | | | | Shows all of the above. | | | | | | +-------------------+--------------------------------------+---+ RETURN VALUES
Returns TRUE on success or FALSE on failure. CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 5.5.0 | | | | | | | Logo GUIDs were replaced with data URIs, and so | | | turning off expose_php now has no effect on the | | | result of phpinfo(). Credits are also now embed- | | | ded within the output itself instead of linked. | | | | | 5.2.2 | | | | | | | The "Loaded Configuration File" information was | | | added, when before only "Configuration File | | | (php.ini) Path" existed. | | | | +--------+---------------------------------------------------+ EXAMPLES
Example #1 phpinfo(3) Example <?php // Show all information, defaults to INFO_ALL phpinfo(); // Show just the module information. // phpinfo(8) yields identical results. phpinfo(INFO_MODULES); ?> NOTES
Note In versions of PHP before 5.5, parts of the information displayed are disabled when the expose_php configuration setting is set to off. This includes the PHP and Zend logos, and the credits. Note phpinfo(3) outputs plain text instead of HTML when using the CLI mode. SEE ALSO
phpversion(3), phpcredits(3), php_logo_guid(3), ini_get(3), ini_set(3), get_loaded_extensions(3), Predefined Variables. PHP Documentation Group PHPINFO(3)
All times are GMT -4. The time now is 04:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy