Re: Need help getting started
| From: | Mark Murphy | Date: | Thu, 22 May 2008 01:23:22 +0000 |
| Subject: | Re: Need help getting started | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-28946@lists.php.net to get a copy of this message | ||
I have a go-pear script that installed with PHP5. My problem is that go-pear gives the error listed below. Is there some sort of configuration I need to make it work?
Jean-Lou Dupont wrote:
Of course, you have to install PEAR first... get the install script at http://pear.php.net/go-pear and just do 'php go-pear.php' On Wed, May 21, 2008 at 8:07 AM, Mark Murphy <mmurph@cinci.rr.com <mailto:mmurph@cinci.rr.com>> wrote:I am completely new to PHP and PEAR, so please excuse me if I ask a stupid question or two. I am trying to learn PHP, and would like to do that inside a framework. Anyway, I have Apache 2.0.63 installed with PHP 5.2.6, and both appear to be running successfully with default configurations. I can make basic examples from tutorials work properly.Here is my problem. I want to install the Symfony framework, and the installation instructions are this:$ pear install symfony/symfonyI am running on windows and don't know how to translate this.I tried: c:\PHP5>pear install symfony/symfonyI got: 'pear' is not recognized as an internal or external command, operable program or batch fileTurns out Pear was not installed with PHP5, so I added Pear to the PHP installation using the PHP5 installer. Now I have a go-pear batch file in my PHP5 directory, but it gives me an error as well.Here is the error I am stuck on: (go-pear) phar "C\PHP5\PEAR\go-pear.phar" does not have a signaturePHP Warning: require_once(phar://go-pear.phar/index.php):failed to open stream: phar error: invalid url or non-existent phar "phar://go-pear.phar/index.php" in C:\PHP5\PEAR\go-pear.phar on line 1236 PHP Fatal error: require_once(): Failed opening required 'phar://go-pear.phar/index.php' (include_path='.;c:\php5\pear') in C:\PHP5\PEAR\go-pear.phar on line 1236-- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php-- http://jldupont.com http://blog.jldupont.com http://photos.jldupont.com http://news.jldupont.com