Posted June 8th, 2009 by Juergen
Hi, I am new to Visual PHP and have a question about PEAR.
I found that my environment variables are set to the path
C:\Program Files\Jcx.Software\VS.Php\2008\2.6\php5\PHP\
but this path does not exist.
In fact it is C:\Program Files\Jcx.Software\VS.Php\2008\2.6\php 5\
Do I something wrong? How can I use the PEAR modules in my PHP projects?
The included help is not very helpful.
Regards
Juergen
juanc says:
What environment variable are you referring to?
ampetry says:
If he's having the same trouble that I am, I'd guess that he's referring to this error message:
PHP_PEAR_INSTALL_DIR is not set correctly.Please fix it using your environment variable or modify
the default value in pear.bat
The current value is:
C:\Program Files\Jcx.Software\VS.Php\2008\2.6\php5\PHP\PEAR
The environment variable in question would probably be PHP_PEAR_INSTALL_DIR. I've fiddled with it some, but made no headway.
juanc says:
I believe I fixed the path issue in 2.7
danspam says:
I have the latest version of 2.7 installed and this is still not fixed:
PHP_PEAR_INSTALL_DIR is not set correctly.
Please fix it using your environment variable or modify
the default value in pear.bat
The current value is:
C:\Program Files\Jcx.Software\VS.Php\2008\php5\PHP\pear