Date: Wed, 12 Jan 2011 14:42:04 +0000 From: four.harrisons@googlemail.com To: kline@thought.org Cc: freebsd-questions@freebsd.org Subject: Re: Which php?? Message-ID: <4d2ef158.017b0e0a.2151.01d2@mx.google.com>
next in thread | raw e-mail | index | archive | help
On 11/01/2011 16:46, Gary Kline wrote:=0D=0A>=0D=0A>=0D=0A> =09So:: are t= here other ways of installing this stuff? Should I=0D=0A> =09cp -rp this= wordpress directory in [e.g.]=0D=0A> =09/usr/local/www/journey?=0D=0A>=0D= =0A> =09Thanks for any clues,=0D=0A>=0D=0A> =09gary=0D=0A>=0D=0A=0D=0A=0D= =0AIt looks like you have a workign apache2 already.=0D=0A=0D=0A*For PHP=0D= =0A*cd /usr/ports/lang/php5=0D=0Amake config ( choose apache module)=0D=0A= make install clean=0D=0A=0D=0A=0D=0A*PHP5 Extensions=0D=0A*(lots to choos= e from but make sure you have mysql at least selected (=20=0D=0Ayou'll ne= ed this installed obv for wordpress too )=0D=0Acd /usr/ports/lang/php5-ex= tensions=0D=0Amake config=0D=0Amake install clean=0D=0A=0D=0Ain your apac= he httpd.conf in the "AddType" section add=0D=0A=0D=0A AddType = application/x-httpd-php .php=0D=0A AddType application/x-httpd-ph= p-source .phps=0D=0A=0D=0AIn the DirectoryIndex section (or on a new line= after it)=0D=0AAdd this line=0D=0ADirectoryIndex index.php index.html in= dex.htm=0D=0A=0D=0A*Checks=0D=0A*On shell do php-v=0D=0A=0D=0Aon a webpag= e in your webroot (e.g test.php)=0D=0A=0D=0Aadd this php code=0D=0A<?php= =0D=0Aphpinfo();=0D=0A?>=0D=0A=0D=0Ahttp://localhost/test.php=0D=0AIf tha= t shows you a nice php page then you should be good to go with the=20=0D=0A= wordpress installer=0D=0A=0D=0AGood luck!=0D=0APaul.=0D=0A=0D=0A=0D=0A--=20= =0D=0A-------------------------=0D=0APaul Macdonald=0D=0AIFDNRG Ltd=0D=0A= Web and video hosting=0D=0A-------------------------=0D=0At: 0131 5548070= =0D=0Am: 07534206249=0D=0Ae: paul@ifdnrg.com=0D=0Aw: http://www.ifdnrg.co= m=0D=0A-------------------------=0D=0AIFDNRG=0D=0A40 Maritime Street=0D=0A= Edinburgh=0D=0AEH6 6SA=0D=0A-------------------------=0D=0A=0D=0A=0D=0A__= _____________________________________________=0D=0Afreebsd-questions@free= bsd.org mailing list=0D=0Ahttp://lists.freebsd.org/mailman/listinfo/freeb= sd-questions=0D=0ATo unsubscribe, send any mail to "freebsd-questions-uns= ubscribe@freebsd.org"=0D=0A
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4d2ef158.017b0e0a.2151.01d2>