|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Strange Include path!
Hi,
A warning message during installing pear Go-pear.bat, tells me that pear is found at c:php4pear. I don't have a directory of that name. I'm sure that I made include path is c:phppear in php.ini. The most strange thing is after finishing the installation I find a folder named PHP4 on C: contains a file called pear.ini. So can I solve this problem. By the way, how can I know or test that pear is correctly installed? Best Regards, Said Bakr |
|
#2
|
||||
|
||||
|
RE: Strange Include path!
My first question is - are you running php4 or php5. On windows machines - I have noticed that the installer now creates a file php4 and the php file is for the php5 version. As for fixing it - sure - just make sure that you pick one spot or the other (php4 or php) and redirect everything to there (set the paths to that location) or simply copy and past the various fines into the location indicated in the php.ini file (one location for everything is the prefered method though).
As for testing that PEAR is correctly installed. I did the little tutorial for PEAR DB on the site (http://codewalkers.com/tutorials/18/1.html ). Oh - and one other thing for getting additional information out about errors... use the method getUserInfo() in conjunction with getMessage(). It took me forever to learn about it - but it has been a life saver at times. |
|
#3
|
|||
|
|||
|
RE: Strange Include path!
I have PHP 4.3.5 On Windows ME. I have not any PHP5.
The Real question is Where Pear's Installer (Go-pear.bat) is got the include path which is regarded in its warning message? By the way Thank you for the tutorial! |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PEAR Packages > Strange Include path! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|