Re: Apache && libphp4.so

2002-05-21 Thread Keith Robinson
On Mon, Apr 15, 2002 at 11:41:35PM -0700, Roy Pluschke wrote:
 > Hi there,
 > 
 > I am having a hard time loading the php4 module into apache.
 > 

 

 >   # LoadModule eaccess_module /usr/lib/apache/1.3/mod_eaccess.so  
 >   LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
 >   # LoadModule roaming_module /usr/lib/apache/1.3/mod_roaming.so
 > 
 > I have confirmed that libphp4.so exists in this location however,
 > when I run apacheconfig, part of the output looks like this
 > 
 >   # LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
 > 
 >   Pondering done.
 > 
 >   Save these changes to the configuration files? [Y/n] 
 > 

 Did you resolve this problem? I recently upgraded to woody from potato and 
when I did an apacheconfig it broke php - exactly as you've described.

 Everything *seems* to be correct, though obviously it is not.  So, if you did 
resolve this, I would be grateful to hear what you did.  I've been banging my 
head against this for half a day.

Thanks in advance,

Keith 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



RE: Apache && libphp4.so

2002-04-17 Thread justin cunningham
I may be coming into the middle of this thread-- if so; sorry.  Did you
try editing httpd.conf manually then apachectl configtest, restart and
if you get the pondering changes choose 'no' and apache and php should
be happy.  also make sure the install script gave you a default php.ini
in /etc/php4/apache.  

-Original Message-
From: Roy Pluschke [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 16, 2002 12:01 PM
To: debian-user@lists.debian.org
Subject: Re: Apache && libphp4.so

On Tue, 16 Apr 2002 08:19:57 -0400
"Kurc, Marcin A." <[EMAIL PROTECTED]> wrote:

> why don't you just uncomment the line an restart apache?
> 
> Marcin Kurc
> CAD Systems Administrator
> Cooper-Standard Automotive 
> 

That was the first thing that I tried but when it didn't work
I thought you may have to use apacheconfig.
Note that I am running woody and also have the following lines
uncommented in httpd.conf

# And for PHP 4.x, use:
#
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

Plain html files render fine from my public_html directory
but the following doesn't work



Example


  



Is the a way to query apache as to what modules are loaded??
perhaps a permissions problem or something else which must
be configured ?

Thanks in advance,
Roy Pluschke <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Apache && libphp4.so

2002-04-17 Thread Patrick Lane
Did you give that file a .php extension? And if you did, did you point
your browser directly at the file? Apache won't recognize index.php
unless you tell it to. 

On Tue, 2002-04-16 at 12:00, Roy Pluschke wrote: 
> On Tue, 16 Apr 2002 08:19:57 -0400
> "Kurc, Marcin A." <[EMAIL PROTECTED]> wrote:
> 
> > why don't you just uncomment the line an restart apache?
> > 
> > Marcin Kurc
> > CAD Systems Administrator
> > Cooper-Standard Automotive 
> > 
> 
> That was the first thing that I tried but when it didn't work
> I thought you may have to use apacheconfig.
> Note that I am running woody and also have the following lines
> uncommented in httpd.conf
> 
> # And for PHP 4.x, use:
> #
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php-source .phps
> 
> Plain html files render fine from my public_html directory
> but the following doesn't work
> 
> 
> 
> Example
> 
> 
>  echo "Hi, I'm a PHP script!"; 
>?>
> 
> 
> 
> Is the a way to query apache as to what modules are loaded??
> perhaps a permissions problem or something else which must
> be configured ?
> 
> Thanks in advance,
> Roy Pluschke <[EMAIL PROTECTED]>
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Apache && libphp4.so

2002-04-16 Thread Roy Pluschke
On Tue, 16 Apr 2002 08:19:57 -0400
"Kurc, Marcin A." <[EMAIL PROTECTED]> wrote:

> why don't you just uncomment the line an restart apache?
> 
> Marcin Kurc
> CAD Systems Administrator
> Cooper-Standard Automotive 
> 

That was the first thing that I tried but when it didn't work
I thought you may have to use apacheconfig.
Note that I am running woody and also have the following lines
uncommented in httpd.conf

# And for PHP 4.x, use:
#
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

Plain html files render fine from my public_html directory
but the following doesn't work



Example


  



Is the a way to query apache as to what modules are loaded??
perhaps a permissions problem or something else which must
be configured ?

Thanks in advance,
Roy Pluschke <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]