I'm trying to set ORACLE_HOME so that PHP will connect to Oracle.
I first tried to stick the following into /etc/bashrc
ORACLE_HOME=/home/oracle/oracle/product/10.2.0/client_1
export ORACLE_HOME
That works fine for everyone on the box who has a shell, but the
apache user doesn't have a shell so
On 3/29/06, Joshua Slive [EMAIL PROTECTED] wrote:
On 3/29/06, Tom Cat [EMAIL PROTECTED] wrote:
I'm trying to set ORACLE_HOME so that PHP will connect to Oracle.
I first tried to stick the following into /etc/bashrc
ORACLE_HOME=/home/oracle/oracle/product/10.2.0/client_1
export
I've set up one directory to be password protected.
Alias /work /work1/
Directory /work1
Options Indexes MultiViews
AllowOverride None
Order allow,deny
AuthUserFile /etc/httpd/htpasswords
AuthType Basic
AuthName Work1
require user strycat
All of my perl scripts generate this error when I try to have Apache
serve them. I'm on RHEL with Apache 2.0.52.
The simplest script I have is:
#!/usr/bin/perl
print Hello;
In the error log I'm told:
[Tue Feb 21 08:57:48 2006] [error] [client 10.33.1.32] Premature end
of script headers:
On 2/21/06, Matt Weston [EMAIL PROTECTED] wrote:
Try changing it to hello.pl
Thanks. Just tried that doesn't seem to care what what the file is
name or what extension it has, it just keeps giving the Premature end
of script headers error.
I also tried just now adding
use CGI::Carp
On 2/21/06, Boyle Owen [EMAIL PROTECTED] wrote:
To clear up some of the confusing advice you've been getting:
- the extension is not important, .cgi is fine.
- you don't need the CGI:Carp module (don't complicate life unnecessarily)
Thanks! When I removed this line, it all of a sudden
For one subdirectory in our document root, I want to change
LimitRequestBody to a much higher number. The catch is I don't want
to allowoverride, so using an htaccess file is not possible.
What I did was create an alias and then did an directory tag for the
alias. Is this the best way? Is there
I use two. The first is webalizer (http://www.mrunix.net/webalizer/).
The reports are usually enough for most small websites. However it
does segfault on RHEL 3 and despite posting questions for help on
their mailing the problem has not been resolved (I keep an RH9 box
around for a number of
Check out
http://www.linux-sottises.net/en_apache_install.php
Using both PHP and mod_perl together has caused problems in the past
(http://slashdot.org/article.pl?sid=00/11/21/1720242), but I think
they will play nicely now.
FYI, I ditched mod_perl in favor of a PHP a while ago. If I really
This is really a PHP question not an Apache question.
Check out:
http://us2.php.net/manual/en/ref.imap.php
To get these functions to work, you have to compile PHP with
--with-imap[=DIR], where DIR is the c-client install prefix. From our
example above, you would use
On 9/16/05, Eric Wagar [EMAIL PROTECTED] wrote:
But, after the make|make install, I receive these errors:
Starting Apache Server for ewm-test.corp.sgi.com
/engr/apache/site_conf/ewm-test.corp.sgi.com/start :
ewm-test.corp.sgi.com::httpd could not be started
Syntax error on line 230 of
11 matches
Mail list logo