Niall Mullen's WeblogNiall Mullen's Weblog |
|
Friday Feb 03, 2006
specweb 2005 configuration : PHP
This blog entry forms one part of a larger guide to specweb2005 which PHP Compilation Specbweb2005 provides two different options for the server side script implementation, Secondly the compiled PHP module must be installed on the webserver. php.net contains a perfectly good guide on howto build php , the only thing which I feel needs to be added here is specifically what arguments need to be The php compile will require your webserver of choice to be installed already so that it can Sun Java Webserver - /opt/SUNWwbsvr Of course your only going to need one of these, which ever you prefer. To build the nsapi module use the following command: ./configure --with-nsapi=/opt/SUNWwbsvr --enable-libgcc --enable-libxml For isapi: ./configure --with-isapi=/opt/zeus --enable-libgcc --enable-libxml And for fastgi / apache2 ./configure --enable-libgcc --enable-libxml --enable-fastcgi --with-apxs2filter=/usr/apache2/bin/apxs The follow this with: make This will build your php distribution. The module you need to deploy in your webserver -rwxr-xr-x 1 root root 6249892 Jan 13 15:03 libphp5.so Deployment in Webserver This is already covered in as much detail as I could on php.net For Sun Java Webserver the guide is here. Adding the specweb dynamic php scripts Once php is up and running a final simple step that must be taken, chown -R nobody:nobody /export/bench/specweb2005-102/scripts/php The final thing to do is to make sure the specweb configuration files are setup Posted at 09:31AM Feb 03, 2006 by nmullen in Performance | Comments:
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||