469,270 Members | 1,011 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,270 developers. It's quick & easy.

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

Feb 2 '06 #1
2 2123
oups, php is 5.04.

Feb 2 '06 #2
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" <an**@wjh.harvard.edu> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.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

Feb 16 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by stan k. | last post: by
8 posts views Thread by wlcna | last post: by
11 posts views Thread by DJJ | last post: by
175 posts views Thread by Sai Hertz And Control Systems | last post: by
7 posts views Thread by Paul berry | last post: by
4 posts views Thread by Vanessa | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.