Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Script Creates Owner As Apache


I am using a fantastic script called Photofolio from www.billwadman.com/photofolio and everything is awesome with it except that when you call the file "buildthumbnails.php" and it builds your thumbnail folders it creates them with the owner name as "apache" and permissions at 644. The problem here that you may suspect is that I cannot go in and delete those files in any of my FTP programs of DW because I am not the "owner".

My hosting company says I will have to manually lodge a ticket each time to have the folders deleted. THis seems like a pain in the arse. could anyone offer any help into this situation? or will this really be the case that they will have to delete the files.
The only other option I see is Bill Wadman creating some sort of script that will go in and delete the fies or folder directories for you.




View Complete Forum Thread with Replies

Related Forum Messages:
Copy And Owner
Problem being that if i copy files using a php script they get the owner 99, which i suggest is something like php themselves. This is a pain because now i cannnot delete these files anymore with my ftp program.

View Replies !
Changing Owner Of A Directory?
When I create a new directory manually, it has the owner of my username, but when I get PHP to create a new directory using mkdir() and setting permissions to 777, it has the owner of "apache".

This is causing a problem as when I try to copy files, or move files into a folder that has "apache" as the owner, it won't do it. It works fine when the owner is my username.

I've been having a go with chown() but with no luck. But I'm not sure if that works on directories, as well as files. I can't seem to find much information about changing owner status on directories, so if anyone can shed and light on this or help I would be very grateful!

I really need to be able to create a new folder in PHP but have the owner as my username, but not apache, which appears to be the default!

View Replies !
How To Write A File As Owner =t Hat Folder
So far, I can only use php to write a file if the containing folder is either owned or grouped to "nobody" (which is what PHP runs as in my Linux server).

Then along comes "SquirrelMail" which I installed recently. With SquirrelMail, you log in with your Linux username and password to check mail. Anyone with a telnet account can log in. But I noticed the user and group of the files it creates. When you create say a new folder for mail, it saves a file in your username folder AS IF IT WAS YOU, instead of being "nobody".

Without tearing the program's code apart, how does it do that? The cool thing is, I never had to set permissions or anything.

This would really be a step forward in my programming, please let me know if you have the answer to it.

View Replies !
Change The Owner That Writes Files As
I'm looking for a way to make it so that when php writes a file, instead of writing it as 'nobody' it looks at who owns the parent directory and writes the file as that owner. Any ideas?

View Replies !
SuEXEC Only Allows Write Permission For The Owner
I want to run PHP on my Apache 2.2 machine with the permission of the VSite or user invoking the script. I do it via the kernel binfmt support and suEXEC, so my scripts run as CGI. This leads to some problems, like memory and CPU consumption for the PHP binary instead of a module, and problems when several users should edit a PHP file suEXEC only allows write permission for the owner.

View Replies !
Wrong Owner And Permission When An Image Is Uploaded
I have created an image upload program that uploads an image to a specified file. However, once the file is in the directory the owner reads "www" instead of my username. So any time I try to delete or rename the file I get an "Access Denied" error. As well instead of the file permissions being -rw-r--r-- like they are supposed to, the uploaded images read -rwxr-xr-x. Is there anything I can do to correct this problem? Code:

View Replies !
Sending Signals To Processes As A Different User Than Owner Using Php
i know, it seems more to be a problem according to unix but i got it while
developing software with php:
i have 2 different users on a hp-ux machine that execute php scripts. they
are both in the same group.
these php scripts start background processes, i can communicate with using
signals (sending with posix_kill, starting background processes via
pcntl_fork).
so i got severel background processes owned by my 2 users.
the problem is i want to send signals as one of my 2 users to all my php
background processes no matter who of my 2 users is the owner. is it
possible other than using external tools like sudo?
i'm using:
PHP 4.3.4 (cgi) (built: Aug 18 2004 15:37:46)
Copyright (c) 1997-2003 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies

compiled with:
../configure' '--prefix=/usr/local/php-cgi-saprfc' '--enable-calendar'
'--enable-filepro' '--with-gd' '--with-jpeg-dir=/usr/local'
'--with-zlib-dir=/usr/local' '--without-mysql' '--enable-sysvsem'
'--enable-sysvshm' '--with-pgsql=/usr/local/pgsql' '--enable-trans-sid'
'--with-cpdflib=/usr/local' '--enable-sockets' '--with-ncurses=/usr/local'
'--disable-shared' '--with-tsrm-pthreads' '--with-saprfc=/usr/local/rfcsdk'
'--enable-pcntl

View Replies !
Fopen/fwrite And Owner/group Settings
I Have a problem with some file writeing.

I Use fopen to create a new file, but that file gets the owner and group the same as the apache owner and group.

How can i change it so that the file gets the same owner/group as the files i upload with FTP?

View Replies !
My Insert Creates
I cannot figure how to fix it. That snippet should be used to grab an ID which it does fine Then insert that ID in a col named "member_web_address" As mentioned it does get the ID and insert it But not on the row where from the ID was taken . It does insert it on a new row created by the insert action Which due to the auto increment creates a new ID etc... How can I keep the original row and pass its ID # to the "member_web_address" col in the very same row
<?

$query = "select id from templates where username= '$username' and page= '$page' ";
$result= mysql_query ($query);
while($query_data=mysql_fetch_array($result))
{
$member_web_address=($query_data["id"]);
}
$query = "select id from templates where username= '$username' and page= '$page' ";
$result= mysql_query("insert INTO phplates (member_web_address) values ('$member_web_address')");
?>

View Replies !
Creates The Session
i have a field in a database called Password. It is based on 'password' that a query on the rest of the database is run. The query uses sesions. I attempt to login to thru a login page with my 'email' and 'password'.

This is the page which checks that the login details are correct and it creates the session Code:

View Replies !
Dynamically Creates Varibles
i have this script for that uses 7 pulldowns for the time of an event each day of the week that gets inserted in to a db. Instead of writing the script 7 times for taking the data from the pulldowns, creating a time based on the hour, minute and AM/PM -can i create something that dynamically creates varibles. Basically takes something like $hour1, $minute1 and automatically creates $hour2, $minute2 and so on. This is kinda difficult to explain, heres a snippit of code which i want to duplicate.

View Replies !
Fopen Creates Files?
According to the PHP documentation fopen will create a file that it is directed to open with write access if it doesn't exist... It may be my current host, or I may be doing it wrong, but it doesn't work. Code:

View Replies !
CURL Creates New Session
I currently have a curl session that can access hundreds of different pages on a site. One thing I noticed with it is that it is initiating a new session of the server that is accessing. I don't want it to create a million sessions, just use the one it currently has. I am going to guess that if curl_close($ch) is called, then it is is reinitiated curl_init, it restarts the session correct.

View Replies !
Cron Job Creates Php Files
I have a cron job that is running on my server. Its set to run every half hour. It works great, but it has an annoying little quirk. Everytime the cron job is run, it creates a php file in the root directory of my server. Since its running every 1/2 hour, I get a bucnh of files on my root directory and I have to manually delete them everyday. I've posted the code for my cron job below.

View Replies !
Looking For Script That Creates List Of Referrers
I've been looking for a script that will create a real-time list of
'top referrers', similar to the links to sites you see on the left of
the page at http://www.linkswarm.com. They also have a page
http://www.linkswarm.com/referrers/referrers.php which shows all
referrers.

I'm assuming you'd be able to set filters. There is no signup
required, you just link to the site and your site appears in the
referrers list, but as a webmaster, you wouldn't want to include
search engines for example.

View Replies !
Creates A Database On Any Server Via A Web Page.
I have basically an install script that creates a database and all the tables and fields.
This works great on the local IIS I have on this machine, but that's because I have 1 password for all databases. THe database cannot be created when I run this on the server that hosts my websites (which is a remote server that I rent space on, it's not in my control).

I'm trying to figure out if what I want to do is possible. I want to have a script that creates a database on any server via a web page.

View Replies !
Netscape Creates 2 Files For My Sessions
I am having a problem with Netscape when I try to create session variables on two different pages. Netscape produces two separate session temp files ... one with the Redirect.php session variables... one with the Results.php session variables... both have an unique sessionID. IE works fine (in that it creates one session temp file for all variables). Here is the code I am using: PHP Code:

View Replies !
Mysqldump Creates 0 Bytes File!?
i found some simple code for dumping mysql database but whatever i do (change path to mysqldump, change arguments, change functions) it generates 0 bytes file every time! why is this happening? how could i debug my code? Code:

View Replies !
Mysqldump Creates Empty File
I have the following code running on a Windows PC (it actually needs to work in a Linux environment on live but still developing it). It seems to create the a.sql file but there is nothing in the a.sql file even though there is data in the database....

View Replies !
MySqldump Creates Empty File?
I am Trying to create a one click backup database script so non-geek office staff can do this, but so far I can only output empty files

$db_user = "root";
$db_password = "";
$db_database = "or";
$db_server = "localhost";
$backup_path = "C:xampphtdocsopenrealadminackup";
$path_to_mysqldump = "C:xamppmysqlin";
$filename = "backup".date("YmdHis").".sql";

shell_exec ("mysqldump $db_database > $path_to_mysqldump.$filename --user=$db_user --password=$db_password");

I have tried various forms of this syntax with no content output?

View Replies !
Securing Code That Creates Images
I have a pretty nice php web site, that's also reasonably secure.
However, I wrote some php code to create some dynamic images based on
database data, but I can't figure out how to secure this script?

when I reference the php code via img src="myimage.php", none of my
session variables are available for use in the script. So, without my
session variables, how am I suppose to ensure that the script is only
run by a valid user, rather than just anyone who can blindly type in
random parameters to my image creation script?

View Replies !
'exec' Creates Popup Windows
I'm running php under apache (I'm using the uniserv distribution) on Windows XP. Every time I execute an external command using backticks or exec or system, I get a cmd windows that pops up for the 1/4 second the command executes. This would all be fine, except that I'm deploying the server to run locally on the user's box, and needless to say, the popups are annoying.

I've search everything I'm clever enough to understand and
can't find a way to get the external commands to run in the 'background'. All of the input and output of the commands have been redirected, any shell command causes this behavious, and in all other respects it all seems to work great.

View Replies !
Verify Page Which Creates A Session
I am new to sessions and php and have been playing around with them -
and would like to know why this is happening?

Firstly I have a login page and it goes to a verify page which creates
a session like so:

View Replies !
Creates A Cookie And Redirects It Automatically
i am migrating my ASP code to PHP and I have a problem with redirection i have a code here that creates a cookie and redirects it automatically but the problem is that...

on the first event that a user visits the page... the cookie is created but it does not redirect automatically. on the second event that a user visited that page, it redirects the user to another page. Code:

View Replies !
PHP Exec Calls A C Program That Creates A File
I'm using exec to call a compiled C program that creates/writes to a
file...However this doesn't seem to be working....
I tried setting all the permissions to 777 but still nothing...?

View Replies !
Creates Some Session Variables After Validating The User
I'm new to PHP...

I wrote a php script for login page, which creates some session
variables after validating the user... But it's not working...

When i compile it... The compiler is giving me the following
Warnings...

----------------------------------------------------------------------------------
PHP Warning: session_start():
open(/var/lib/php/session/sess_f207f20079897ad6f830fc632fa5e0c0,
O_RDWR) failed: Permission denied (13)

PHP Warning: session_start(): Cannot send session cookie - headers
already sent by (output started at /home/gana/public_html/login.php:4)

PHP Warning: session_start(): Cannot send session cache limiter -
headers already sent

PHP Warning: Unknown():
open(/var/lib/php/session/sess_f207f20079897ad6f830fc632fa5e0c0,
O_RDWR) failed: Permission denied (13)

PHP Warning: Unknown(): Failed to write session data (files).

(/var/lib/php/session)

View Replies !
Script That Creates A Smaller Version Of Image.
I have a dynamic image. i.e it keeps on changing. What i want to do i make a script that creates a smaller version of this image. like 50% width and 50% height. i want to place it elsewhere. But the thing is this smaller image should change when the original image changes too.

View Replies !
A System Automatically Creates A Copy Of A Php Page.
What I want to do is for people to put information into a form and after they hit "submit" a system automatically creates a copy of a php page. Then, it inserts the inputted info from the form in the new php page.

The pages would be numberically named and accessed easily like this. Everything is set up on the php page where only variables are needed to be changed. How do I take the submitted variables and write it into a newly created numbered page and insert the variables?

View Replies !
$_SESSION Problem - Page Reload Creates New Session ID
I am having trouble using the session vars in
PHP 4.3.9
OS: Win XP Prof
Web Server IIS (is local and there are no links to other servers from
the web pages I work on)
Browser: IE 6.0

The problem I am having is that each time I reload the same PHP page, I get
a different
Session ID (and thus all session vars are lost from one page to another).

let's say in firstpage.php I set
$_SESSION["firstvar"] = "someval";
$_SESSION["secvar"] = "otherval";

and in secpage.php I try to retrieve $_SESSION["firstvar"] , it gives me
"Undefined Index error"
I did not know what is happening and when printing out the session id (echo
SID;) I found out
that the ID is changing every time page is reloaded or when moving to
another page.

The problem is that I don't know what might reset the session since I use
"session_auto_start"
and have not played with session_start, session_destroy or anything else.

View Replies !
Creates A Dropdown List Of Information Belonging To That User.
I have a page that uses php to look up specific fields in a specific table of a specific database based on the username. Using this, it creates a dropdown list of information belonging to that user. The fields in question each have 13 pieces of data. Based on what they click in the dropdown box, I need that specific data to pass onto hidden fields on the page. Code:

View Replies !
Unable To Write A File In A Directory That My PHP Script Creates
I've a problem of being able to create and remove a directory but
unable to write a file inside the created directory for some strange
reason. I suspect that this problem could be vaguely linked to Safe
mode being set to On since my site is using shared server hosting and
probably insufficient/incorrect Unix file permission.

Below is my test script that helps me narrow down the problem.
--------------------------------------------------------------------------------------------
<html>
<head>
<title>File IO Test</title>
</head>
<body>
<pre>

<?php
define("TEST_DIR", "./newsletter/2005_11");
define("TEST_FILE", "./newsletter/2005_11/file_io_test.txt");

echo "Make Directory";
if(mkdir(TEST_DIR, 0777)){
echo "<font color="green">OK</font>
";
}
else{
echo "<font color="red">Fail</font>
";
}

if(file_exists(TEST_DIR) && is_dir(TEST_DIR)){
echo TEST_DIR . " exists.
";
}
else{
echo TEST_DIR . " does not exists.
";
}
echo "<hr>
";

// TEST FILE WRITE
echo "Write Open File";
$file_handle = fopen(TEST_FILE, "w");
if($file_handle){
echo "OK";
}
else{
echo "Fail";
}
fwrite($file_handle, "This file is written at " . date("Y/m/d H:i:s") .
"
");
echo "Write Close File";
if(fclose($file_handle)){
echo "<font color="green">OK</font>
";
}
else{
echo "<font color="red">Fail</font>
";
}
echo "--- START FILE DUMP ---
";
readfile(TEST_FILE);
echo "--- END FILE DUMP ---
";
echo "<hr>";
?>
</body>
</html>
--------------------------------------------------------------------------------------------
This script will report a success with the creation of the directory on
my server, but fails to write a file inside the newly created
directory.

Originally, I only call mkdir without specifying any permission and it
doesn't work. Thus I explicitly instruct mkdir to use 0777 to allow all
write operation by everybody, in case PHP and Apache try to write files
using "nobody" or "www" user account, instead of my shell login user
account. Still it doesn't work. The owner of the created directory is
called "www". When I login via SSH and check the permission, strangely,
the permission is 775 instead, with Write permission for Others
disabled, although I told mkdir to use 0777 instead.

Is there any workaround, and what am I doing wrong here? Thanks for
sharing with me any insight into this problem. I'm not quite sure what
exactly is wrong here, whether because of PHP Safe mode, incorrect
directory permission, incorrect file permission or the case of
different UID or owner.

View Replies !
Creates A Simple Text Box For The User To Enter Details In.
I'm using a Mambo component (Remository) to output details about files for download. The code below shows what's there at the moment. PHP Code:

$this->fileOutputBox(_CUSTOM_4,'custom_4',$file->custom_4,25);

This creates a simple text box for the user to enter details in. However, in some fields I want to limit the options available by having a select drop down box. In other fields I may want to supply the values in the select drop down from other fields in the db.

View Replies !
Creates Generates A Download Link Which Is Active For One Hour Only
I'm making a system which creates generates a download link which is active for one hour only. I wanted to make it cookie based, but I'm having troubles setting the expiry time of the cookie correctly:


$timestamp = time();
$expires = $timestamp + 3600;
setcookie("DOWNLOAD_ID", $hash, $expires);

In Firefox the cookie is set correctly to expire in one hour from the current local time.
In IE and Opera it sets the expiry time to one hour in GMT. The server is in the same timezone as the client machine (for now). How to I make sure that the expiry time of the cookie is set to 1 hour in local time ?

View Replies !
Mp3 Force Download - Creates A Single Mp3 That Plays The Song Twice
Ok so my Mp3 download plays the same song twice : merges the Mp3 into a single, double-sized file. I am baffled.

<?php
if ($_GET[download] == 1) {
header("Content-type: application/MP3");
header("Content-disposition: attachment;filename="$_GET[name].mp3"");
}

session_start(); ....

View Replies !
Xml Parsing Issue - See Some Extra Information Which Creates Problem
I am using for web service client and been able to get correct results. Now i have problem in parsing it, I have methods available for this either get data form array which in user debug or i can parse the xml.

When i put the who xml in file and try to parse it it works file, but when i try to parse it directly you can see some extra information which creates problem, please check this issue and help me out. Code:

View Replies !
Function That Reads The Content Of The Images Folder And Creates Hyperlinks Of The Subfolders
I have a folder "images" in which different other folders are stored. Like "party" or "car" or "holiday". In those folders are JPG's stored.

I am looking for a function that reads the content of the images folder and creates hyperlinks of the subfolders (with the same name as the folder) when i click a hyperlink I want the pictures in that folder to be loaded and shown as tumbnails.

So when i add an new folder with new pictures i want to have a new hyperlink which shows the new pictures.

View Replies !
Set Php_admin_flag With Apache Env Var In Apache Config
SetEnvIf Server_Addr 192.168.1.10 HTTP_X_PHP_ERRORS_DISPLAY=on
php_admin_flag display_errors HTTP_X_PHP_ERRORS_DISPLAY

is something like this possible? In other words, can I set a php ini var in apache config from an apache env var?

View Replies !
Creates A Temporary Folder And A File Within The Folder.
I have a PHP script which creates a temporary folder and a file within the folder.

I have a problem when trying to remove the file and folder using my FTP program. The ownership and group are set to NOBODY. I cannot change the permissions on either the file or the folder.

I have tried chmod and chgrp and chown but for some reason I cannot change permissions.

View Replies !
Apache 2.0 And Php
I was wondering if anyone has had any luck getting php to compile and work with apache 2.0. i use apache tool box to compile it but they dont have support for it yet. if anyone has compiled and tested it with the previouse beta's or rc's any info would be awesome!!!

View Replies !
CGI Vs Apache
Is there any difference on how PHP is wrote based on the server type? I have been using PHP on an Apache module and I just started using a CGI module but I am getting a lot of errors, mainly "Variable undefined" and when I tried to add records to a MYSQL database, I received this error: "CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.

View Replies !
Trying To Run A .bat (w2k, Php, Apache)
I'm trying to execute this code:

<?php
$run = "c:Program FilesApache GroupApachelogswebalizer
unStatistics.bat";
exec ($run);
}
?>

but don´t run. Any idea?

View Replies !
Php 4.2.0 And Apache 1.3.24
Why can't I run apps like phpnuke, postnuke, xoops, phpwebsite, etc.? I have tried them all seriously and always get the same effects. When I try to install either of them the pages never change even with register_globals On.

Was I suppose to upgrade apache to 2.0.35 for compatibility issues?

View Replies !
Php 5.04 With Apache 2.0.54
I can build php 5.04 with apache 1.33 statically
with the apache configuration option: --activate-module=src/modules/php5

How can I build php 5.04 with apache 2.0.54 statically?
It seems that the information I have only shows how to build php as a
dynamical module of apache.

View Replies !
PHP And Apache 2.0
I am installing Apache 2.0 with PHP. On top of PHP I plan on installing
netjuke.

I am having problems and have a strange issue:

the following works:

<? phpinfo(); ?>

but the following does not worl. the source code appears on the page as
if it is not being processed.

<?php phpinfo(); ?>

View Replies !
Apache In Win Xp
I already installed Apache, Mysql and PHP (last version for each one) into my system running Win Xp. “All running ok” When I run scrip “A” my data lost; it didn’t print. Code:

View Replies !
Apache + PHP
I have installed Apache apache_2.0.52-win32-x86-no_ssl.msi and
PHP php-4.3.10-Win32 on windows 2000 professional . I also get success
in installeing both of them , but when i am trying to run apache
C:/localhost on my mozilla or internet explorer browser , i am not able
to get the default page, i don't know why its not working. I am a new
learner of PHP and for the learning process i want to download it as
soon as possible.

View Replies !
Anyone Using HP-UX With Apache, PHP And OCI?
I'm searching for someone who's using HP-UX 11.x with Apache and PHP
with the OCI8 extension (for accessing Oracle).

I'm having some issues while running this and would like to exchange
some information.

my environment is:

HP-UX 11.11
Apache/2.0.49 from the hpuxwsApache package
PHP 4.3.4 as included in that package
OCI8 as included in that package

(I also tried Apache 2.0.52 with PHP 4.3.8 but that didn't make a
difference)

when I'm enabling OCI8, Apache works fine, but the commandline PHP fails
(and I need that as I have background processes, generating some
reports). The error is:

PHP Warning: Unknown(): Unable to load dynamic library
'/opt/hpws/apache/php/lib/php/extensions/oci8.sl' - Can't find path for
shared library: libclntsh.sl.8.0 in Unknown on line 0

after finding http://bugs.php.net/bug.php?id=13151 I managed to solve
this by setting:
export LD_PRELOAD=$ORACLE_HOME/JRE/lib/PA_RISC/native_threads/libjava.sl

and now also PHP from the commandline works fine as well. but I've no
clue if this is a good solution or there's a better way.

but now I'm running into an issue with LDAP: ldap_bind() fails from a
PHP script run from the commandline, while exactly the same code works
perfectly fine through Apache - and it also works fine from the
commandline when removing the LD_PRELOAD setting - but that removes the
OCI8 functionality again...

so I'm feeling stuck having the choice between LDAP and OCI8 - but my
scripts uses both...

(FUP to comp.sys.hp.hpux)

View Replies !
Apache For Win
Can any one tellme how to configure Apache on win nt to run PHP i already have PHP running on IIS.

View Replies !
Apache 2.0.48 And PHP 4.3.4?
I'm currently running Apache 1.3.27 on Debian Woody with a PHP backport
(version 4.3.4), together with Apache-SSL 1.3.27.

I have been considering upgrading to Apache 2.0.48 which I now believe is
recommended for production. However what is the status of the
interoperability with PHP? I have read on the PHP site that it is not
recommended to run Apache 2.0 with PHP but does this refer to the latest
revisions or the initial release?

View Replies !
Help With PHP And APACHE
I'm using PHP and Apache. How do you configure Apache so that it
allows the use of php and session data. I get the following error:

Warning: session_start():
open(/tmpsess_ed0b0c6b9b2d32d64172373bd8a6bcaf, O_RDWR) failed: No
such file or directory (2) in
c:orcl_asapacheapachehtdocsforumuserauth.php on line 5

On my php.ini file, i specifiy that location of for the session data to
session.save_path = "C:/temp"

View Replies !
PHP And Apache
I am trying to set up a Web site I am building so that it works like
this:

When someone goes to: www.runningback.com/reg

The "reg" get's passed into index.php as an argument and index.php is
executed.

I can pick up "reg" in index.php using $_SERVER['PATH_INFO'].

But right now what happens is the url is not recognized by Apache 1.3
and so gives me an error.

If I call www.runningback.com it calls index.php just fine, but not
when I want to pass in an augument. I'm trying to make user friendly
urls.

View Replies !
Apache 1.3 + PHP 4.x + SSL
I've never implemented a secure server before - and I now have a project
for it - It will be an Apache 1.3 environment tuned with PHP and MySQL
- and I'd appreciate any comments/advice/note from folk who have done
similar. I have my application working fine in a non-SSL environment
and believe the switch-over should not be too difficult. But...

Can someone confirm the following:

My LAMP (Linux, Apache, MySQL and PHP) sit all on the same server - I
only require SSL between client and server therefore I believe I do not
need to tune PHP/MySQL - true/false?

I have the following modules compiled in my Apache httpd
Compiled-in modules:
http_core.c
mod_vhost_alias.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_include.c
mod_dir.c
mod_cgi.c
mod_actions.c
mod_alias.c
mod_access.c
mod_auth.c
mod_unique_id.c
mod_so.c
mod_setenvif.c
mod_ssl.c
mod_php4.c
suexec: enabled; valid wrapper /opt/apache/bin/suexec

I believe I have everything I need already compiled in - true/false?

Is it sufficient for me just to edit the my httpd.conf file under the
heading 'SSL Virtual Host Context' and tune accordingly?

Since my server sits behind an external firewall, and since the only
services will be ssh and apache listening, would one consider that
reasonably secure? Can anyone recommend any other steps I might consider?

Since Apache/PHP sit on the same server as MySQL I plan on having them
use sockets (pipes?) and not tcp/ip port 3306 - I've not done this
before either but believe it gives added security and performance
benifits -

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved