From: David M. <ma...@ha...> - 2014-06-17 07:21:09
|
At Tue, 17 Jun 2014 08:19:20 +0200, Bernhard Eversberg wrote: > > Am 17.06.2014 01:13, schrieb Demian Katz: > > Please feel free to make adjustments to the wiki page if you find a > > combination that works well for you -- it's always a challenge to > > find the right balance between overly long and detailed documentation > > and too-vague-and-thus-not-useful documentation. > > While that is fully in the spirit of OpenSource, it doesn't > tell one a lot more than "go figure it out for yourself". > In my dutiful attempts, I got stuck with getting PHP5 to run > in Apache2. Even after reading the f***ing manuals. > > So, to get more specific: Has anyone succeeded in setting Apache2 > up for work with PHP5, under Win'7/64? > > First try > --------- > What I used: > > Apache2: httpd-2.4.9-win64-VC11.zip > PHP5: php-5.5.13-Win32-VC11-x86.zip > > Settings in httpd.conf: > > LoadModule php5_module "c:/php/php5apache2.dll" > AddHandler application/x-httpd-php .php > > # configure the path to php.ini > PHPIniDir "C:/php/" > > as instructed by > http://www.php.net/manual/de/install.windows.apache2.php > > Apache wouldn't start except without these lines, giving > no more than an opaque, generic error message. > You chose a 64bit Apache build and a 32bit PHP build. I succeeded with ,---- | Apache2: httpd-2.4.9-win32-VC11.zip | PHP5: php-5.5.13-Win32-VC11-x86.zip `---- And these lines in the httpd.conf ,---- | LoadModule php5_module "d:/home/tmp/apache/php/php5apache2_4.dll" | | <IfModule php5_module> | AddHandler application/x-httpd-php .php | PHPIniDir "d:/home/tmp/apache/php/" | </IfModule> `---- on a 64bit Windows7. Apache starts up fine and servers a simple PHP page. HTH, -- David > > Second try > ---------- > Now using > httpd-2.0.65-win32-x86-no_ssl.msi > php-5.3.28-Win32-VC9-x86.msi > > then the last step in the php installationf fails with > "The installer has encountered an unexpected error > installing this package. This may indicate a problem with > the package. The error code is 2356" > followed by > "PHP 5.3.28 Setup Wizard ended prematurely ..." > > and no practicable advice as to how to proceed, and no php > directory created. > > Third try > --------- > Then of course, as the .msi refused to work, I resorted to > php-5.3.28-nts-Win32-VC9-x86.zip > and dumped the content into c:\Apache2\php > Then, however, the same problem arises as in the first try: > How to get Apache to find and respect php? > > So, as of now, we are going into production using xampp? > > > > There was definitely > > a time when the Windows installation docs were adequate, but I don't > > think I've run through them in a couple of years, and I'm sure the > > available options have exploded since then. > Does that tell us we are now in a trap of complexity? > > B.Eversberg > > > ------------------------------------------------------------------------------ > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions > Find What Matters Most in Your Big Data with HPCC Systems > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. > Leverages Graph Analysis for Fast Processing & Easy Data Exploration > http://p.sf.net/sfu/hpccsystems > _______________________________________________ > VuFind-General mailing list > VuF...@li... > https://lists.sourceforge.net/lists/listinfo/vufind-general -- David Maus Herzog August Bibliothek - D-38299 Wolfenbuettel Bibliothekarische IT / Digital Humanities Phone: +49-5331-808-317 Email: ma...@ha... PGP Key 0x7B4F5A762AF6FBA6 Fingerprint DD38 8D2E 34C1 94DE 2058 69BE 7B4F 5A76 2AF6 FBA6 |