Hi,
I want to install PEAR, I go to usr/php, open go-pear.bat file, but there appears an error:
"Unable to initialize module. Module compiled with module API=......0debug=0, thread-safety=1. These options need to match."
The problem could be the location of php.ini. I have two of them, one in C:/Windows/, the other in C:/usr/
It looks like the one in C:/Windows is correct, though the rest php files are in C:/usr/php.
phpinfo() function shows the location of php.ini in /usr/local/lib/php.ini (but usr/local does not exist).
Do you know what could be the reason? Maybe someone have had similar problems...Thanks for any help.
Installing PEAR
Started by Ivenius, Sep 03 2010 09:46 AM
4 replies to this topic
#1
Posted 03 September 2010 - 09:46 AM
|
|
|
#2
Posted 03 September 2010 - 11:07 PM
It is for to test install pear, can to view all install modules:
The file php.ini need write:
extension=go-pear.bat
After reset web-server.
<?php phpinfo(INFO_MODULES); ?>The file "php.ini" valid that, what to locate in folder php.
The file php.ini need write:
extension=go-pear.bat
After reset web-server.
#3
Posted 04 September 2010 - 02:12 AM
I guess I have to move this go-pear.bat file into php/extensions, but it no says: "Can't find a proper directory". Launching it from php/ still shows an error.
#4
Posted 05 September 2010 - 04:46 AM
Any ideas?
#5
Posted 05 September 2010 - 07:03 AM
to copy all file pear in folder with some extension dll (After reset web-server)
or
to write in file "php.ini" extension=C:/path/to/pear/go-pear.bat (After reset web-server)
or
remove web-server =)
and install pack Denwer ДжентльменÑкий Ðабор Web-Разработчика (PHP 5.3.1, MySQL 5.1, PostgreSQL 8.4 etc.) « Denwer
and install add modules (is pear): PHP 5:
Or manual Manual :: Installation of a local PEAR copy on a shared host
or
to write in file "php.ini" extension=C:/path/to/pear/go-pear.bat (After reset web-server)
or
remove web-server =)
and install pack Denwer ДжентльменÑкий Ðабор Web-Разработчика (PHP 5.3.1, MySQL 5.1, PostgreSQL 8.4 etc.) « Denwer
and install add modules (is pear): PHP 5:
Or manual Manual :: Installation of a local PEAR copy on a shared host


Sign In
Create Account

Back to top









