How to reïnstall PEAR? (Win7U 64) 1.7.7 [SOLVED]

Problems with the Windows version of XAMPP, questions, comments, and anything related.

How to reïnstall PEAR? (Win7U 64) 1.7.7 [SOLVED]

Postby Marcoevich » 18. December 2011 18:27

Dear Community,

Somehow my PEAR folder used by XAMPP got corrupted. Now I want to completely reïnstall PEAR without having to reïnstall XAMPP itself.

Is there any way I can easily achieve this?

I'm using XAMPP 1.7.7

Best regards,
Marcoevich
Marcoevich
 
Posts: 12
Joined: 18. December 2011 18:21
Operating System: Windows 7 Ultimate X64

Re: How to reïnstall PEAR?

Postby Sharley » 18. December 2011 23:20

Download the zip archive version and drag the required PEAR folder into your current installation overwriting any existing PEAR files and folders.

Good luck. :)
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: How to reïnstall PEAR?

Postby Marcoevich » 19. December 2011 15:02

Thank you Sharley :)

I've done that, and PEAR is working again.
However, I get an error I've not seen before:

"Strict Standards: Non-static method System::tmpdir() should not be called statically in C:\xampp\php\PEAR\PEAR\Config.php on line 163 Strict "

Do you have any idea how to solve this?
Marcoevich
 
Posts: 12
Joined: 18. December 2011 18:21
Operating System: Windows 7 Ultimate X64

Re: How to reïnstall PEAR?

Postby Altrea » 19. December 2011 16:23

Hi Marcoevich,

You have to change the error_reporting level in your php.ini to a little lower level:

- open your \xampp\php\php.ini file
- search the line
Code: Select all
error_reporting = E_ALL | E_STRICT

- change that line to
Code: Select all
error_reporting = E_ALL

- save the file and restart your Apache.

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: How to reïnstall PEAR?

Postby Marcoevich » 19. December 2011 21:22

This works :) Thx Altrea!
Marcoevich
 
Posts: 12
Joined: 18. December 2011 18:21
Operating System: Windows 7 Ultimate X64

Re: How to reïnstall PEAR?

Postby Sharley » 20. December 2011 00:59

Thanks for the feedback. 8)

Best wishes. :)
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 105 guests