compile Apache & PHP - who knows?

compile Apache & PHP - who knows?

Post by boots.. » Mon, 07 Apr 2003 11:51:45



I've been trying to build Apache with static PHP but I may as well be
trying to grow wings.

Every reference I find says how easy it is, but I realize some people
will go find a document and pass it on as their own experience. So I see
the same thing repeated and I'm sure none of those people have actually
done it.

I keep getting an error saying 'LoadModule' is an invalid command when I
try to start Apache.

I'm new to this, but not to computers or the frustration they can
deliver, so I know when I need to be led like a blind man.  This is one
of those times, if somebody really knows this stuff.  I need something
better than "Get to New York? Sure... Go to Oregon and make a right.
Can't miss it!"

 
 
 

compile Apache & PHP - who knows?

Post by Juha Laih » Mon, 07 Apr 2003 16:42:00



Quote:>I've been trying to build Apache with static PHP but I may as well be
>trying to grow wings.
...
>I keep getting an error saying 'LoadModule' is an invalid command when I
>try to start Apache.

If you're trying to have php compiled in as a static module, you
shouldn't be using LoadModule or AddModule - they're for dynamic
modules. The LoadModule and AddModule directives are implemented
by the mod_so module, which is the dynamic module loader. So, I'd
guess you don't have mod_so compiled into your Apache, but if you're
not going to have any dynamic modules, only compiled-in ones, then
not having mod_so is ok.
--
Wolf  a.k.a.  Juha Laiho     Espoo, Finland

         PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)

 
 
 

compile Apache & PHP - who knows?

Post by evan.co.. » Mon, 07 Apr 2003 23:45:35




>I've been trying to build Apache with static PHP but I may as well be
>trying to grow wings.

>Every reference I find says how easy it is, but I realize some people
>will go find a document and pass it on as their own experience. So I see
>the same thing repeated and I'm sure none of those people have actually
>done it.

Try following the directions at

http://www.geocities.com/honey_jal/

I did follow exactly these instructions, using PHP 4.3.0, and Apache
2.0.4x, and it worked perfectly.

 
 
 

compile Apache & PHP - who knows?

Post by Mark » Tue, 08 Apr 2003 05:09:15


Ah...  the missing element. There must be an option during configuration to
include this.
(send my credentials to the house of detention)



> >I've been trying to build Apache with static PHP but I may as well be
> >trying to grow wings.
> ...
> >I keep getting an error saying 'LoadModule' is an invalid command when I
> >try to start Apache.

> If you're trying to have php compiled in as a static module, you
> shouldn't be using LoadModule or AddModule - they're for dynamic
> modules. The LoadModule and AddModule directives are implemented
> by the mod_so module, which is the dynamic module loader. So, I'd
> guess you don't have mod_so compiled into your Apache, but if you're
> not going to have any dynamic modules, only compiled-in ones, then
> not having mod_so is ok.
> --
> Wolf  a.k.a.  Juha Laiho     Espoo, Finland

>          PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
> "...cancel my subscription to the resurrection!" (Jim Morrison)

 
 
 

1. Apache compile & Php & mysql

Hello.
How i can to compile apache for it works with php and how to compile php for
it works with apache and mysql ?

Regards.
--
---------------------------------------------------------------------
Aix,Linux,Humor,Zoco
http://web.madritel.es/personales2/jperezm
--------------------------------------------------------------------

2. 'logins' for non-privileged users

3. Problems compiling Perl & PHP into Apache

4. Help with tin setup please!

5. How to compile Apache & Modules PHP PERL SSL Solution

6. Can Linux mount Multisession CD's?

7. Apache w/ PHP and SSL: w/ PHP OK - w/out PHP NOK

8. SIGPOLL on socket errors

9. Apache & PHP & HP-UX: Bad Mojo?

10. Apache & mysql & php not working

11. multipart mime messages && apache web server - known problems ?

12. PHP Compile failing with openssl - php news group = rubbish

13. Apache Rewrite domain.com->index.php domain.org->index2.php