Can you use this option if the php library hasn't been compiled yet?

When I install/compile mod_php, it had to install/compile Apache first.  I
guess I can rebuild Apache, and look for this option in the ebuild script.
I'll take a look at this later tonight.  Thanks.

Shawn

-----Original Message-----
From: Jacob C [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 19, 2003 1:44 PM
To: [EMAIL PROTECTED]
Subject: RE: (clug-talk) Apache 2 and PHP


one thing that caused the same problem you are describing for me once was
that 
i accidently forgot --activate-module=src/modules/php4/libphp4.a when 
compiling apache.

just a thought


Quoting Shawn Grover <[EMAIL PROTECTED]>:

> The proplem is consistent with .php files, no matter where they are.  I
have
> a /learning/php/php1.php file, and an /index.php - both exhibit the same
> behavior.
> 
> When mod_php and Apache2 got compiled, it would have been with the default
> options specified in the ebuild script.  I didn't have to change any of
the
> options.
> 
> If it helps, I can post the various config files tonight.  
> 
> Thanks for all the responses.
> 
> -----Original Message-----
> From: Trevor Lauder [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 19, 2003 12:54 PM
> To: [EMAIL PROTECTED]
> Subject: Re: (clug-talk) Apache 2 and PHP
> 
> 
> Is this just a problem with index.php/index.php3/index.php4 files or all
> files?  Can you try to load a <something>.php file (Not index.php) and see
> what it does?  Also, are these files in the DirectoryRoot or are they in a
> subdirectory under it?
> 
> Cheers,
> 
> -- 
> Trevor Lauder
> Web: http://www.thelauders.net
> E-Mail: [EMAIL PROTECTED]
> Resume: http://www.thelauders.net/resume/
> Gentoo Linux Powered
> 
> "Any intelligent fool can make things bigger and more complex... It takes
> a touch of genius -- and a lot of courage to move in the opposite
> direction."  -- Albert Einstein
> 
> Shawn Grover said:
> > I've spent the past couple of nights trying to get mod_php running with
> > Apache 2 with no luck.  I'm using Apache 2.0.46 and mod_php 4.3.2r2 and
> > it's
> > on a Gentoo system (though I'm not sure if that matters in this case).
> > When
> > I try to open a php file in a browser I get prompted to save it to disk.
> >
> > I have found a number of references to this problem, and have tried out
> > the
> > various fixes they suggest.  Specifically, I've added "-D PHP" to
> > /etc/conf.d/apache2 and added the LoadModule and AddType lines in the
> > Apache
> > config files.  From what I've seen that should be enough.
> >
> > For the Gentoo specific stuff, I have "apache2" in my USE variable, and
> > arch="~x86".  I have cleaned out the installation of Apache2 and mod_php
> > (and apache from an earlier attempt), removed the config files (after
> > backing them up), and reinstalled mod_php (which has Apache as a
> > dependancy,
> > so Apache 2 was installed as well).  I left the config files in their
> > default state, except for adding the "-D PHP" bit again. Apache is
working
> > (serving pages), but still prompting to save the php file.
> >
> > Any tips?  Thanks.
> >
> >
> > Shawn
> >
> >
> 


-- 
Sending all process the TERM signal
Vs.
Windows is shutting down...

Which one sounds smarter?

Reply via email to