On Fri, March 30, 2007 6:00 pm, Stevie wrote: > Hi all. > > anyone using FastCGI + PHP + Apache 1.3. ? > I've been trying for two days and i can't seem to configure apache > with > php fastcgi. > > i have php set with: > > ../configure --enable-fastcgi \ > --enable-discard-path \ > --enable-force-cgi-redirect \ > --with-mysql=/usr/local/mysql \ > --with-xml \ > --with-gd \ > --with-freetype-dir=/usr/lib \ > --with-jpeg-dir=/usr/lib \ > --with-png-dir=/usr/lib \ > --with-xpm --enable-magic-quotes \ > --with-pear \ > --enable-gd-native-ttf \ > --enable-memory-limit \ > --with-zlib > > that seems to be ok, php is running as (cgi-fcgi). > my problem is getting apache to run php cgi. > > anyone have any decent docs getting the config working? i guess not > many > people using FastCGI w/PHP because it's seems so complicated to setup. > btw i have already installed the fastcgi libs and mod_fastcgi. what > should an apache configure line look like when you complie php/fastcgi > with it.. am i suppose to install apache first? some people say you > have > to install apache first but if you install apache first how will it > locate the php libs? The "apache first" part is, I think, that you need the Apache headers and configure scripts from Apache's ./configure (and maybe make) for PHP to be able to find them. And FrontPage extensions, if you want those, first, because they change Apache headers, and PHP won't work if it isn't working with the changed headers. This is for sure with Apache and PHP as Module. Whether it's needed for FCGI is beyond my ken. As far as the Apache config lines for FCGI, I should think the Apache manual would have that laid out pretty well. http://apache.org/ They've got very very good docs there, once you figure out their organizational schema for docs, which is pretty clear. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php