Re: PHP 4.0.6 freeBSD mysql apache2
| From: | lasse ohgren | Date: | Mon, 06 Aug 2001 06:04:45 +0000 |
| Subject: | Re: PHP 4.0.6 freeBSD mysql apache2 | ||
| References: | 1 2 3 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-3849@lists.php.net to get a copy of this message | ||
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" <nospan.php.newsgroups@frontdesign.com> wrote in message
news:20010805183629.27163.qmail@pb1.pair.com...
> 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" <joncheng2000@yahoo.com> wrote in message
> 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
> >
> >
>
>