Sponsored Content
Operating Systems BSD Setting up Apache/mySQL/PHP in Jail Post 302343103 by Dark Severance on Tuesday 11th of August 2009 03:04:42 PM
Old 08-11-2009
Setting up Apache/mySQL/PHP in Jail

Server: FreeBSD 7.2-Release

Previously I admin a website that uses IP.Board as a forum. It was on a FreeBSD server but there were some issues with some other people on the server so the whole server has been resetup. It is has been set up as a Unix Jail and I was given root access. Apache has been installed I've been told but I'm not sure how to configure it so that it points to the domain but I'm waiting to hear back from him on that.

Right now I'm trying to install mySQL. However the base commands like groupadd and useradd that I would use to set up my mysql user aren't working. I'm not sure if that is because of the Unix Jail or something else.

Can anyone direct me on what I need to do to set up mySQL?
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

PHP & Apache & MySQL install how-to ?

how do i install php & mysql with apache on suse linux ??? apache was installed and configured when i installed linux. all its files are in different folders. e.g http files in usr/local/httpd/htdocs/ and its configs are in etc/httpd/ so how do i install php and get it to work with apache and... (4 Replies)
Discussion started by: perleo
4 Replies

2. UNIX for Dummies Questions & Answers

Apache and MySQL as services?

What is the best way to run Apache2 and MySQL as daemons that run on startup? Can anyone give me some scenarios/examples. Thanks in advance! (3 Replies)
Discussion started by: ezekiel61
3 Replies

3. UNIX for Dummies Questions & Answers

Setting Last-Modified Bit in Apache

Hi, I have a co-worker that uses javascript code to generate the last-modified date on a file. The problem is our server does not properly send this date so javascript can display it. I know that it is better to use server-side scripting to generate this but she has already put it on multiple... (1 Reply)
Discussion started by: robbieg
1 Replies

4. UNIX for Dummies Questions & Answers

setting up ACL in Apache

Folks; How can i setup ACL in Apache so i can give a group of users (defined by their emails (all users under *@red.com) access to a web page? (10 Replies)
Discussion started by: moe2266
10 Replies

5. Web Development

Problem setting up apache

Hello there, I installed Ajaxterm on my Ubuntu 9.04 machine, and it's running ok if I use : http://localhost:8022/ in my browser. The problem is that I wanted to be able to acces it from somewere else through the internet. I read some instruction and help sites related to this problem, like :... (2 Replies)
Discussion started by: spiriad
2 Replies

6. Red Hat

Wordpress + Apache,PHP,MySQL = blankpage

Hi, This is my problem: - I install and configure apache,php,mysql-server - configure database on mysql and wp-config od Wordpress - upload files wordpress in to public_html and... i see results "blank page". What is it? Where is problem? (PS. I install and configure wordpress few... (1 Reply)
Discussion started by: gripek
1 Replies

7. Red Hat

Apache,php,mysql, and jdk 1.6 update 20 installation on RHEL 5.5

I want to install Apache (version 2.2.X), php (version 5.3.X),mysql (version 5.5.X) on RHEL 5.5. Guide re. site address for download all rpm. X = latest version. Thanks in advance. (1 Reply)
Discussion started by: vasdaax
1 Replies

8. UNIX for Dummies Questions & Answers

Setting up HTTPS in Apache with Linux

I have recently setup a HTTP server using Apache. This was my first install of Apache, so I am very new to it. What I would now like to do is setup HTTPS for my server. Unfortunately, the official Apache 2.2 manual doesn't cover setting up HTTPS, and using Google search engine I have found... (2 Replies)
Discussion started by: SSL
2 Replies

9. Ubuntu

Mysql apache installation

on ubuntu lamp server how to install mysql and apache? any instructions? (1 Reply)
Discussion started by: srinathk
1 Replies
APACHE_SETENV(3)							 1							  APACHE_SETENV(3)

apache_setenv - Set an Apache subprocess_env variable

SYNOPSIS
bool apache_setenv (string $variable, string $value, [bool $walk_to_top = false]) DESCRIPTION
apache_setenv(3) sets the value of the Apache environment variable specified by $variable. Note When setting an Apache environment variable, the corresponding $_SERVER variable is not changed. PARAMETERS
o $variable - The environment variable that's being set. o $value - The new $variable value. o $walk_to_top - Whether to set the top-level variable available to all Apache layers. RETURN VALUES
Returns TRUE on success or FALSE on failure. EXAMPLES
Example #1 Setting an Apache environment variable using apache_setenv(3) <?php apache_setenv("EXAMPLE_VAR", "Example Value"); ?> NOTES
Note apache_setenv(3) can be paired up with apache_getenv(3) across separate pages or for setting variables to pass to Server Side Includes (.shtml) that have been included in PHP scripts. SEE ALSO
apache_getenv(3). PHP Documentation Group APACHE_SETENV(3)
All times are GMT -4. The time now is 12:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy