Hello Tomás, On 18-ago-09, at 23:48, Tomás Senart wrote:
> I'm having trouble compiling (correctly) Cherokee on my mac. > The problem is that I can't compile it with PHP5 support out of the > box. > I am a user of Macports so my php-cgi is /opt/local/bin/php-cgi and > yes it has the (cgi-fcgi) banner. > I did the following: > export PHPCGI=/opt/local/bin/php-cgi > ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var -- > with-mysql=/usr/local/mysql/bin/mysql_config > make -j4 > sudo make install > sudo cherokee-admin It seems alright to me. > And then I went to the web admin interface and had no php5 information > source. Technically, Cherokee doesn't support PHP but FastCGI, but that doesn't matter actually. You'll have to run the PHP Wizard in order of getting it configured, up and running. Once in cherokee-admin, go to the Virtual Servers list, pick the vserver you wanna configure, then select the Behavior tab, click the "Wizards" bottom, and run the PHP wizard. It'll configure everything for you. > Another question is that of how can I specify ffmpeg and geoip libs on > configure. They were installed with macports. The configure script will find them as long as your $PATH and $LD_LIBRARY_PATH contain references to the MacPorts ‘bin’ and ‘lib’ directories respectively. Cheers! -- Octality http://www.octality.com/ _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
