public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] httpd startup problem
@ 2001-07-06  0:50 Ihsan
  2001-07-06  1:09 ` Gontran
  2001-07-06  9:07 ` Ben Lutgens
  0 siblings, 2 replies; 6+ messages in thread
From: Ihsan @ 2001-07-06  0:50 UTC (permalink / raw
  To: gentoo-dev

Hi all,

I compile php module for apache. After starting apache, it's seem php 
module did'nt work, .php file viewed as source.

I also didn't see https port open.

I did "ebuild php....ebuild config" after emerge php.ebuild file.

Please help.

TIA
Ihsan


Dapatkan email gratis di www.eramuslim.com 




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] httpd startup problem
@ 2001-07-06  1:09 Markus Hardt
  2001-07-06  9:09 ` Ben Lutgens
  0 siblings, 1 reply; 6+ messages in thread
From: Markus Hardt @ 2001-07-06  1:09 UTC (permalink / raw
  To: gentoo-dev

Hi, Ihsan!

>I compile php module for apache. After starting apache, it's seem php 
>module did'nt work, .php file viewed as source.

As I recall correctly, you have to specify a PHP option in the httpd initscript. I don't know the right variable because I haven't got a Gentoo system 
at hand right now. :-( The SSL option should be there, too.

Hope I could help...

	Markus





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] httpd startup problem
  2001-07-06  0:50 Ihsan
@ 2001-07-06  1:09 ` Gontran
  2001-07-06  9:07 ` Ben Lutgens
  1 sibling, 0 replies; 6+ messages in thread
From: Gontran @ 2001-07-06  1:09 UTC (permalink / raw
  To: gentoo-dev

* Ihsan (ies@eramuslim.com) wrote:
> Hi all,
> 
> I compile php module for apache. After starting apache, it's seem php 
> module did'nt work, .php file viewed as source.
> 
> I also didn't see https port open.
> 

Hi Ishan,

To get php module loaded you need to modify your /etc/rc.d/init.d/httpd
script at or around line 43 you need to append the " -DPHP4" string
to the options, and restart apache.

https worked outa the box here.

Gentoo!

Gontran



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] httpd startup problem
  2001-07-06  0:50 Ihsan
  2001-07-06  1:09 ` Gontran
@ 2001-07-06  9:07 ` Ben Lutgens
  1 sibling, 0 replies; 6+ messages in thread
From: Ben Lutgens @ 2001-07-06  9:07 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 735 bytes --]

On Fri, Jul 06, 2001 at 01:47:56PM +0700, Ihsan wrote:
>Hi all,
>
>I compile php module for apache. After starting apache, it's seem php 
>module did'nt work, .php file viewed as source.
>
>I also didn't see https port open.
>
>I did "ebuild php....ebuild config" after emerge php.ebuild file.

Make sure the appropriate LoadModule line is set in httpd.conf file for
apache.

>
>Please help.
>
>TIA
>Ihsan
>
>
>Dapatkan email gratis di www.eramuslim.com 
>
>
>_______________________________________________
>gentoo-dev mailing list
>gentoo-dev@cvs.gentoo.org
>http://cvs.gentoo.org/mailman/listinfo/gentoo-dev

-- 
Ben Lutgens		
Sistina Software Inc.	
Kernel panic: I have no root and I want to scream

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] httpd startup problem
  2001-07-06  1:09 [gentoo-dev] httpd startup problem Markus Hardt
@ 2001-07-06  9:09 ` Ben Lutgens
  2001-07-07  8:40   ` Achim Gottinger
  0 siblings, 1 reply; 6+ messages in thread
From: Ben Lutgens @ 2001-07-06  9:09 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 932 bytes --]

On Fri, Jul 06, 2001 at 09:07:40AM +0200, Markus Hardt wrote:
>Hi, Ihsan!
>
>>I compile php module for apache. After starting apache, it's seem php 
>>module did'nt work, .php file viewed as source.

apache is apache is apache. If you add 
LoadModule /path/to/php.so to the appropriate section of httpd.conf it
should work fine. Seems pretty stupid to edit an initscript to change the
options to me.

>
>As I recall correctly, you have to specify a PHP option in the httpd initscript. I don't know the right variable because I haven't got a Gentoo system 
>at hand right now. :-( The SSL option should be there, too.
>
>Hope I could help...
>
>	Markus
>
>
>
>_______________________________________________
>gentoo-dev mailing list
>gentoo-dev@cvs.gentoo.org
>http://cvs.gentoo.org/mailman/listinfo/gentoo-dev

-- 
Ben Lutgens		
Sistina Software Inc.	
Kernel panic: I have no root and I want to scream

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] httpd startup problem
  2001-07-06  9:09 ` Ben Lutgens
@ 2001-07-07  8:40   ` Achim Gottinger
  0 siblings, 0 replies; 6+ messages in thread
From: Achim Gottinger @ 2001-07-07  8:40 UTC (permalink / raw
  To: gentoo-dev

Ben Lutgens wrote:
> 
> On Fri, Jul 06, 2001 at 09:07:40AM +0200, Markus Hardt wrote:
> >Hi, Ihsan!
> >
> >>I compile php module for apache. After starting apache, it's seem php
> >>module did'nt work, .php file viewed as source.
> 
> apache is apache is apache. If you add
> LoadModule /path/to/php.so to the appropriate section of httpd.conf it
> should work fine. Seems pretty stupid to edit an initscript to change the
> options to me.

Heh, thanks lamer,

I'll move the config variable to basic .

achim~

> 
> >
> >As I recall correctly, you have to specify a PHP option in the httpd initscript. I don't know the right variable because I haven't got a Gentoo system
> >at hand right now. :-( The SSL option should be there, too.
> >
> >Hope I could help...
> >
> >       Markus
> >
> >
> >
> >_______________________________________________
> >gentoo-dev mailing list
> >gentoo-dev@cvs.gentoo.org
> >http://cvs.gentoo.org/mailman/listinfo/gentoo-dev
> 
> --
> Ben Lutgens
> Sistina Software Inc.
> Kernel panic: I have no root and I want to scream
> 
>   ------------------------------------------------------------------------
>    Part 1.2Type: application/pgp-signature



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-07-07 14:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-06  1:09 [gentoo-dev] httpd startup problem Markus Hardt
2001-07-06  9:09 ` Ben Lutgens
2001-07-07  8:40   ` Achim Gottinger
  -- strict thread matches above, loose matches on Subject: below --
2001-07-06  0:50 Ihsan
2001-07-06  1:09 ` Gontran
2001-07-06  9:07 ` Ben Lutgens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox