 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
Relative0
Joined: 18 Aug 2009 Posts: 2
|
Posted: Tue Aug 18, 2009 4:33 am Post subject: Problem Installing PEAR, PHP Works but not PEAR calls |
|
|
I am having difficulty as I have PHP running fine, but I am doing something wrong with installing PEAR. Honestly I am suprised PHP is running since I had tried it several times and finally got it working and don't quite remember what I did. However when I run phpinfo(), I get the following information:
Configuration File (php.ini) Path C:\WINDOWS
Loaded Configuration File C:\Program Files\php\php.ini
however there is no php.ini in C:\WINDOWS, furthermore I have the following information:
include_path C:\Program Files\php\ext
and another:
include_path .;C:\php5\pear
I have tried placing the PEAR directory all over the place, (in each of the different places and tried several combinations in the php.ini file in the Program Files\php, but to no avail. here is one example.
;include_path = ".;c:\Program Files\php\includes"
include_path = ".;c:\Program Files\php\PEAR"
Things are obviously all over the place and I don't know how to localize it, I think that I can figure out, but for the time being, does anyone know how to get the PEAR module working? What happens when I try to run a php script in htdocs is that I just get a blank screen and when I do a view source, sometimes there is just a title tag for the page. The PHP scripts themselves work ok.
Thanks,
Brian |
|
| Back to top |
|
 |
Relative0
Joined: 18 Aug 2009 Posts: 2
|
Posted: Thu Aug 20, 2009 5:34 am Post subject: Fixed the problem |
|
|
| I just decided to remove everything and run the php msi installer since the newer versions have one. Then I ran the go-pear executable in the PHP directory. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|