|
|
How to compile php with mysql and fast-cgi?
I think I have php 4.4, mysql 5 and fast-cgi from curl -O
http://fastcgi.com/dist/fcgi-2.4.0.tar.gz
tar xvzf fcgi-2.4.0.tar.gz
Here are the instructions I am trying to follow.
Compile php as a fast-cgi binary The main thing here is the following
configure options. You can add whatever else you like to your php
binary but these are needed for fast-cgi support.
$ ./configure \
--enable-fastcgi \
--enable-discard-path \
--enable-force-cgi-redirect \
I think I have php from a package, and it is working with mysql. If I
compile php, I think I need to compile it with mysql also. I am afraid
that if I do a compile, I will mess things up. I don't know if I need
to do something in the config file also
What do I need to do?
thanks
|
|
0
|
|
|
|
Reply
|
anne (264)
|
2/2/2006 1:38:59 PM |
|
oups, php is 5.04.
|
|
0
|
|
|
|
Reply
|
anne (264)
|
2/2/2006 3:53:00 PM
|
|
I am not sure here, but I *think* including MySQL is only including it as an
extension in php.ini.
since all the DLLs are in the ext subdirectory,
extension=ext/php_mysql.dll
extension=ext/php_mysqli.dll
And if you think you need it,
extension=ext/php_pdo.dll
extension=ext/php_pdo_mysql.dll
"anne001" <anne@wjh.harvard.edu> wrote in message
news:1138887539.147425.229010@z14g2000cwz.googlegroups.com...
>
> I think I have php 4.4, mysql 5 and fast-cgi from curl -O
> http://fastcgi.com/dist/fcgi-2.4.0.tar.gz
> tar xvzf fcgi-2.4.0.tar.gz
>
> Here are the instructions I am trying to follow.
>
> Compile php as a fast-cgi binary The main thing here is the following
> configure options. You can add whatever else you like to your php
> binary but these are needed for fast-cgi support.
>
> $ ./configure \
> --enable-fastcgi \
> --enable-discard-path \
> --enable-force-cgi-redirect \
>
> I think I have php from a package, and it is working with mysql. If I
> compile php, I think I need to compile it with mysql also. I am afraid
> that if I do a compile, I will mess things up. I don't know if I need
> to do something in the config file also
>
> What do I need to do?
>
> thanks
>
|
|
0
|
|
|
|
Reply
|
jmichae31 (131)
|
2/16/2006 12:17:23 AM
|
|
|
2 Replies
30 Views
(page loaded in 0.278 seconds)
|
|
|
|
|
|
|
|
|