Re: Web Install Trouble

From: Date: Mon, 16 Aug 2004 13:25:46 +0000
Subject: Re: Web Install Trouble
References: 1 2 3 4 5 6  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-14129@lists.php.net to get a copy of this message
No, decided to chuck all that & just start from scratch, as you intimated. At first I used EasyPHP v1.7 (which bundles more stable production versions), but this time didn't mind individually downloading newer, perhaps less stable releases and configuring them myself: Apache 2.050 PHP 5.0.1 MySQL 5.0.1 Perl 5.8.4 So far I've got Apache running with PHP, and though MySQL is up I haven't quite talked it into being friends with the web server (yet). Got Perl as when I first loaded Apache it seemed miffed that it wasn't on the system. Am using binaries for everything, though I got the source too just in case I wanted to compile anything differently. Haven't even tried Pear, figured I'd do that after MySQL. There still does seem to be a problem with PHP finding it's .ini file. I had it in the same folder as the php apache dll, but it couldn't find it. Placing it in the windows root (c:\winnt for me) got it to read. Haven't found anywhere yet, just how to specify the location of the ini file. This time I centrally located all the apps under a 'bin' folder (bin\apache, bin\php, bin\mysql, etc.), rather than letting them place directories off the root. Need to do a little research & determine how to specify the locations of the various ini & conf files (my.ini, php.ini, httpd.conf, etc.). Would like to keep them all handy in the same folder. What have I really gleaned from all this? That I should have paid more attention to Linux. Have played with it off and on for eight or nine years, kept putting it back down because I had all this time invested in MicroSloth. Have giving serious thought to just building another spare box & making that my testing server, but how many learning curves should one take on simultaneously? ;) Will let you know if I get anywhere with the Pear problem. -- There's a pizza place near where I live that sells only slices. In the back you can see a guy tossing a triangle in the air. -- Steven Wright ____________________________________________________________________ Carl Pearson ~ www.jman.org ~ jman@jman.org "James Nunnerley" <webmaster@jnsolutions.co.uk> wrote in message news:1092644112.41206d1041ebe@jnsolutions.co.uk... > Hi Carl, > > I've been having the same problem, without any luck in fixing it for a few > months now. > > I've got absolutely no where in working around a fix... apart from installing > the whole thing manually.... > > Have you managed to get anywhere? > > Cheers > Nunners > > > > Quoting Carl Pearson <jman@jman.org>: > > > Hi, Greg, > > > > Thanks for the tip, but this is happening from go-pear.php which overwrites > > all the install files each time it's run, so no chance to alter the script > > as each time I click "install" it just downloads pear.php again. > > > > So, I've yet to get the web version to install. > > > > My original post said I didn't think go-pear.php was even looking at the > > include path: > > > > Fatal error: main() [function.require]: Failed opening required 'PEAR.php' > > (include_path='/C:\DOCUME~1\Jman\LOCALS~1\Temp\gopDF.tmp') in c:\program > > files\easyphp1-7\www\go-pear\Archive\Tar.php on line 21 > > > > I opened up gopDF.tmp and it was empty. Yes, the currently logged in user > > has complete and unfettered access to the hard drive, so permissions > > shouldn't be the problem. > > > > It still sounds like the web installer is not reading php.ini. > > Unfortunately I don't know enough about how PHP searches for things to > > hazard a guess as to where the trouble might be. > > > > Will have to keep slogging away as you suggested. ;) > > > > > > > > "Greg Beaver" <cellog@php.net> wrote in message > > news:411E266B.9050103@php.net... > > > Carl Pearson wrote: > > > > > > > Hi, Justin, > > > > > > > > Sorry, not sure what you mean by "put phpinfo in one of your scripts". > > > > Running it through the browser reports: > > > > > > > > Configuration File (php.ini) Path > > > > c:\program files\easyphp1-7\apache\php.ini > > > > > > > > > > > > Further on down we see: > > > > > > > > include_path .;C:\Program Files\EasyPHP1-7\www\go-pear;C:\Program > > > > Files\EasyPHP1-7\php;C:\Program Files\EasyPHP1-7\php\pear;C:\Program > > > > Files\EasyPHP1-7\php\pear\pear;C:\Program > > > > Files\EasyPHP1-7\www\pear;C:\Program > > Files\EasyPHP1-7\www\pear\pear;c:\winnt > > > > .;C:\Program Files\EasyPHP1-7\www\go-pear;C:\Program > > > > Files\EasyPHP1-7\php;C:\Program Files\EasyPHP1-7\php\pear;C:\Program > > > > Files\EasyPHP1-7\php\pear\pear;C:\Program > > > > Files\EasyPHP1-7\www\pear;C:\Program > > Files\EasyPHP1-7\www\pear\pear;c:\winnt > > > > > > > > > > > > It looks to me that you are trying to set your include_path to > > > [prefixstuff]/pear/pear when it should be [prefixstuff]/pear. The > > > /pear/PEAR subdirectory is for the PEAR installer package. So, you > > > should be doing > > > > > > require_once 'PEAR.php'; > > > > > > not > > > > > > require_once 'pear/PEAR.php'; > > > > > > in your scripts. That might fix your problem (or not, as it were - but > > > once you get it, you'll never need to fix it again, so keep plugging away) > > > > > > :) > > > Greg > > > > -- > > PEAR General Mailing List (http://pear.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > >

« previous php.pear.general (#14129) next »