d/l:ed latest binarys of apache and php.
compiled apache with
./configure --enanable-module=so
make
make install
then php with
./configure --with-apxs=/path/to/apxs --with-mysql
make
make install
then edited httpd.conf
added the php4 lines;
LoadModule php4_module /path/to/libphp4.so
AddType application/x-httpd-php .php
restarted httpd with apachectl restart.
voila.
(i have not tested connecting to mysql yet... hoping...)
"Lasse Ohgren" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hey
>
> yeah thanks, i was planning on using apache2 but i tested it your way
> although, still having problems.
> after running make install in /usr/ports/www/apache13
> and trying to run apachectl start . it won't. just gives me
> # apachectl start
> /usr/local/sbin/apachectl start: httpd could not be started
> #
>
> when running httpd -l i get:
> # httpd -l
> Compiled-in modules:
> http_core.c
> mod_so.c
> suexec: disabled; invalid wrapper /usr/local/sbin/suexec
> #
> (and i don't even know what suexec does... the file is not in
> /usr/local/sbin/ can't find suexec on my whole system)
> following that problem, the make install in /usr/ports/www/mod_php4
> will not succeed, because it tries to start/restart httpd.
>
> I'm not sure this is appropriate to this list.
> But, anyhow:
> Ideas?
>
> regards
> lasse öhgren
> "Jon Cheng" <[EMAIL PROTECTED]> wrote in message
> 006801c11d19$a7627500$0200a8c0@joncheng">news:006801c11d19$a7627500$0200a8c0@joncheng...
> > If you are installing on Freebsd, why not just make use of things in
> > /usr/ports/www/?
> >
> > apache is located:
> > /usr/ports/www/apache13
> >
> > php4
> > /usr/ports/www/mod_php4
> >
> > mysql:
> > /usr/ports/database/mysql323-server
> >
> > change directory into the list above and run an "make install" on each.
Do
> > them in order one at a time.
> > That's it
> >
> > -Jon
> >
> >
>
>
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]