Jump to content

PEAR (php) Install on Vista thru EasyPHP

myMichael's Photo
Posted Feb 27 2010 08:20 AM
6012 Views

Following book instructions (PHP, MySQL & Javascript). Navigated to \EasyPHP5.3.0\php sub-directory. Am administrator. Entered command go-pear. Got message:

phar "C:\Program Files\EasyPHP5.3.0\php\PEAR\go-pear.phar" does not have
a signature
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:\Program Files\EasyPHP5.3.0\php\PEAR\go-pear.phar on line
1236 Press any key to continue . . .

Looks like a Vista signature glitch to me. Any clues? Thanks

Tags:
0 Subscribe


2 Replies

-1
  Romantik@'s Photo
Posted Apr 27 2010 07:18 AM

Hi!
If you have any problems with php try to learn this php tutorial.
0
  Robin Nixon's Photo
Posted Apr 28 2010 12:50 AM

According to this website this is a known issue which you can fix, as follows:

  • Locate the php.ini file and find the following line:

    ;phar.require_hash = On

  • Uncomment the line by removing the semi-colon, and change "On" to "Off", so that it looks like this:

    phar.require_hash = Off

  • Save the file.


Cover of Learning PHP, MySQL, and Javascript
Learn more about this topic from Learning PHP, MySQL, and Javascript. 

With this simple, streamlined guide, non-programmers will quickly learn how to create responsive, data-driven websites with PHP, MySQL, and Javascript. Discover how the powerful combination of PHP and MySQL provides an easy way to build modern websites complete with dynamic data and user interaction. You'll also learn how to add Javascript to create rich Internet applications and websites.

Learn More Read Now on Safari