03-05-2001
I believe that Apache uses /usr/local/apache
as its base directory by default.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am not by any means a UNIX guru if you can't already tell by the question I'm about to ask.
How do I launch Apache web server on my SOlaris 8 server without rebooting it?
Any help would be much appreciated!!!
-Thanks (5 Replies)
Discussion started by: jskillet
5 Replies
2. UNIX for Dummies Questions & Answers
HI
I want to use the apache server on my solaris 9
How do I start it??
(/etc/init.d/apache start does not work)
Where do I need to put my html archives???
thanks (2 Replies)
Discussion started by: eldiego
2 Replies
3. Solaris
ii am trying to install apache 2 on solaris 10.it is configured successfully but is giving error while make.i have pasted last lines of that error.
make: Warning: Can't find `/build/ltlib.mk': No such file or directory
Current working directory /apache/httpd-2.0.59/srclib/pcre
make: Fatal... (1 Reply)
Discussion started by: raynu.sharma
1 Replies
4. Solaris
Hello,
I have been searching on unix.com and google in general. I can't find what I am looking for. Maybe too dumb of a question.
I've downloaded and installed the sunfreeware package for PHP 5.3.6 and made sure all dependencies are satisfied.
Apache 2.2.8 is currently installed and... (2 Replies)
Discussion started by: CSLibrary
2 Replies
5. Solaris
Hi ,
I am new to the unix environment.
I need to install apache 2.2.21 on my machine.
I have tried configuring apache from /etc/apache2 directory.
But now I want to install it under a separate user.
Can anybody tell me the step by step procedure to install it under separate user,please ?... (1 Reply)
Discussion started by: bikas89
1 Replies
6. Solaris
I am trying to install apache 2.2.22 on Solaris 10 but getting below error message when starting apache:
/etc/init.d/apache2 start
Server type is set to
running /opt/apache/conf/startup.pl for groups shared mem
Starting Apache HTTPD service with SSL disabled
httpd: Syntax error on line... (2 Replies)
Discussion started by: prash358
2 Replies
7. Solaris
Hi,
I have installed apache 2.2.22 on solaris machine and trying to do some basic testing, but it is failing for one of the scenario.
Seeing below in the error logs
But noy sure why there is a need for AuthUserFile when i mentioned AuthldapURL.
Please advise
Thanks (1 Reply)
Discussion started by: prash358
1 Replies
8. Solaris
Hi all,
This is Solaris 10 OS
I received this error
on Server,
-bash-3.00$ /usr/local/apache2/bin/httpd -v
ld.so.1: httpd: fatal: libaprutil-1.so.0: open failed: No such file or directory
Killed
-bash-3.00$
How to resolve this dependencies which are not resolved?
... (0 Replies)
Discussion started by: manalisharmabe
0 Replies
9. Solaris
Hi,
I need to install php 5.5.30 as an apache (2.4.17) module on Solaris 10.
Please any help is wellcome.
Some aditional info:
/usr/sfw/bin/gcc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
bash-3.2# g++ -v
Reading specs from... (0 Replies)
Discussion started by: lbslbs
0 Replies
10. Shell Programming and Scripting
Hi,
I need to install php 5.5.30 as an apache (2.4.17) module on Solaris 10.
Please any help is wellcome.
Some aditional info:
/usr/sfw/bin/gcc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
bash-3.2# g++ -v
Reading specs from... (1 Reply)
Discussion started by: lbslbs
1 Replies
LEARN ABOUT REDHAT
dbi::profiledumper::apache
DBI::ProfileDumper::Apache(3) User Contributed Perl Documentation DBI::ProfileDumper::Apache(3)
NAME
DBI::ProfileDumper::Apache - capture DBI profiling data from Apache/mod_perl
SYNOPSIS
Add this line to your httpd.conf:
PerlSetEnv DBI_PROFILE DBI::ProfileDumper::Apache
Then restart your server. Access the code you wish to test using a web browser, then shutdown your server. This will create a set of
dbi.prof.* files in your Apache log directory. Get a profiling report with dbiprof:
dbiprof /usr/local/apache/logs/dbi.prof.*
When you're ready to perform another profiling run, delete the old files
rm /usr/local/apache/logs/dbi.prof.*
and start again.
DESCRIPTION
This module interfaces DBI::ProfileDumper to Apache/mod_perl. Using this module you can collect profiling data from mod_perl applications.
It works by creating a DBI::ProfileDumper data file for each Apache process. These files are created in your Apache log directory. You
can then use dbiprof to analyze the profile files.
USAGE
LOADING THE MODULE
The easiest way to use this module is just to set the DBI_PROFILE environment variable in your httpd.conf:
PerlSetEnv DBI_PROFILE DBI::ProfileDumper::Apache
If you want to use one of DBI::Profile's other Path settings, you can use a string like:
PerlSetEnv DBI_PROFILE 2/DBI::ProfileDumper::Apache
It's also possible to use this module by setting the Profile attribute of any DBI handle:
$dbh->{Profile} = "DBI::ProfileDumper::Apache";
See DBI::ProfileDumper for more possibilities.
GATHERING PROFILE DATA
Once you have the module loaded, use your application as you normally would. Stop the webserver when your tests are complete. Profile
data files will be produced when Apache exits and you'll see something like this in your error_log:
DBI::ProfileDumper::Apache writing to /usr/local/apache/logs/dbi.prof.2619
Now you can use dbiprof to examine the data:
dbiprof /usr/local/apache/logs/dbi.prof.*
By passing dbiprof a list of all generated files, dbiprof will automatically merge them into one result set. You can also pass dbiprof
sorting and querying options, see dbiprof for details.
CLEANING UP
Once you've made some code changes, you're ready to start again. First, delete the old profile data files:
rm /usr/local/apache/logs/dbi.prof.*
Then restart your server and get back to work.
MEMORY USAGE
DBI::Profile can use a lot of memory for very active applications. It collects profiling data in memory for each distinct query your
application runs. You can avoid this problem with a call like this:
$dbh->{Profile}->flush_to_disk() if $dbh->{Profile};
Calling "flush_to_disk()" will clear out the profile data and write it to disk. Put this someplace where it will run on every request,
like a CleanupHandler, and your memory troubles should go away. Well, at least the ones caused by DBI::Profile anyway.
AUTHOR
Sam Tregar <sam@tregar.com>
COPYRIGHT AND LICENSE
Copyright (C) 2002 Sam Tregar
This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself.
perl v5.8.0 2002-11-29 DBI::ProfileDumper::Apache(3)