pear vista

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

pear vista

Postby adamjw3 » 16. October 2007 22:32

hi i've just installed xampp on windows vista

i'm following a book called "beginning php 5 and mysql E-commerce"
in this it recommends to use pear to access the database as this way you can access other types of databases and not just mysql

what i want to know is how do i know if pear is installed on xampp?

is there a cmd i can run to see if i'm running it?

does anyone know of any issues with vista and pear?

please help
adamjw3
 
Posts: 7
Joined: 16. October 2007 22:29

Postby Wiedmann » 16. October 2007 22:36

what i want to know is how do i know if pear is installed on xampp?

This depends on your XAMPP version. (Read the content description on the XAMPP for Windows homepage.)

is there a cmd i can run to see if i'm running it?

Just look if you have a "pear.bat" in the directory "\xampp\php".
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby adamjw3 » 16. October 2007 22:43

i just ran the pear.bat and it brings up a cli error

what ever that is

any ideas
adamjw3
 
Posts: 7
Joined: 16. October 2007 22:29

Postby adamjw3 » 16. October 2007 22:50

hi i've just installed xampp on windows vista


the latest version of course and there is nothing in the documentation that i can find that says if pear is installed or not
adamjw3
 
Posts: 7
Joined: 16. October 2007 22:29

Postby Wiedmann » 16. October 2007 23:42

there is nothing in the documentation that i can find that says if pear is installed or not

Wiedmann wrote:(Read the content description on the XAMPP for Windows homepage.)
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby adamjw3 » 16. October 2007 23:55

look Wiedmann i know pear is included with the install but i want to do if it is running when i install xampp.

http://www.apachefriends.org/en/xampp-windows.html

show me where it says it is or isn't installed on this page?
adamjw3
 
Posts: 7
Joined: 16. October 2007 22:29

Postby Wiedmann » 17. October 2007 00:05

i know pear is included with the install

OK, then I have misunderstood this sentence:
adamjw3 wrote:what i want to know is how do i know if pear is installed on xampp?

- XAMPP Windows: PEAR is installed
- XAMPP Lite: PEAR is not installed

but i want to do if it is running when i install xampp.

PEAR is not "running" in this way...

Maybe you should read the PEAR documentation?
--> http://pear.php.net/manual/en/

BTW:
PEAR is just a couple of PHP scripts, which you can include in your own scripts.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby adamjw3 » 17. October 2007 00:58

i know that, i just want to use the dbmanger (i think thats what its called)
i'm using a mysql database but want to make my application or system what ever you want to call it as robust as poss. i.e i want it to be easy for people to use any other sort of database, oracle etc.

in the install of xampp there is a php folder with a pear.bat file when i run this file i get "crl stoped working".

i'm a little scared at fucking with the set up of the installation as everything else is working mysql, php, smarty etc.

just pear is the problem.

can you tell me what to do to get it working ?
adamjw3
 
Posts: 7
Joined: 16. October 2007 22:29

Postby Wiedmann » 17. October 2007 03:10

i know that, i just want to use the dbmanger (i think thats what its called)

There is no package with the name "dbmanger":
http://pear.php.net/packages.php?catpid ... e=Database

Which package want you use exactly?

in the install of xampp there is a php folder with a pear.bat file when i run this file i get "crl stoped working".

IMHO there is something about this in the forum. (I have no Vista)
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby Izzy » 17. October 2007 03:30

in the install of xampp there is a php folder with a pear.bat file when i run this file i get "crl stoped working".

Is this the actual error message?

Try and open a command prompt in the php directory instead of double clicking on the pear.bat file (it may be a Vista permission thing as I don't have Vista either) then type pear.bat at the command prompt and paste back here the actual error message please.

To get a command prompt right-click on any folder on your Windows Vista machine while holding down the shift key.
You'll see an extra context-sensitive menu item there: Open Command Prompt here.
For this and other useful Vista links go here:
http://community.apachefriends.org/f/viewtopi ... 881#108881

When I do the above I get the below info back without doing anything at all to "get pear working" and without Apache running.
Of course to use it as intended the Apache server should be running.
Code: Select all
C:\xampp\php>pear.bat
Commands:
build                  Build an Extension From C Source
bundle                 Unpacks a Pecl Package
channel-add            Add a Channel
channel-alias          Specify an alias to a channel name
channel-delete         Remove a Channel From the List
channel-discover       Initialize a Channel from its server
channel-info           Retrieve Information on a Channel
channel-update         Update an Existing Channel
clear-cache            Clear Web Services Cache
config-create          Create a Default configuration file
config-get             Show One Setting
config-help            Show Information About Setting
config-set             Change Setting
config-show            Show All Settings
convert                Convert a package.xml 1.0 to package.xml 2.0 format
cvsdiff                Run a "cvs diff" for all files in a package
cvstag                 Set CVS Release Tag
download               Download Package
download-all           Downloads each available package from the default channel
info                   Display information about a package
install                Install Package
list                   List Installed Packages In The Default Channel
list-all               List All Packages
list-channels          List Available Channels
list-files             List Files In Installed Package
list-upgrades          List Available Upgrades
login                  Connects and authenticates to remote server
logout                 Logs out from the remote server
makerpm                Builds an RPM spec file from a PEAR package
package                Build Package
package-dependencies   Show package dependencies
package-validate       Validate Package Consistency
pickle                 Build PECL Package
remote-info            Information About Remote Packages
remote-list            List Remote Packages
run-scripts            Run Post-Install Scripts bundled with a package
run-tests              Run Regression Tests
search                 Search remote package database
shell-test             Shell Script Test
sign                   Sign a package distribution file
uninstall              Un-install Package
update-channels        Update the Channel List
upgrade                Upgrade Package
upgrade-all            Upgrade All Packages
Usage: pear [options] command [command-options] <parameters>
Type "pear help options" to list all options.
Type "pear help shortcuts" to list all command shortcuts.
Type "pear help <command>" to get the help for the specified command.

C:\xampp\php>

In the php directory there are 6 pear files:
    pear.bat
    pear.ini
    peardev.bat
    pear-installall.php
    pera-installed-pkg.txt
    pearlist.txt

All installed by default with your XAMPP installation.

If all those are there then all would appear to fine with XAMPP and you would have to suspect that it is a Vista issue and unless anyone on these forums has had similar problems and reads your post then the quickest way of effecting a solution might be on the Windows forums under Vista.

Sorry if I am not much help but the above command prompt idea might be a Vista solution.
Let us know back if you find a acceptable solution please.

As a favor to me and just to help with the quality of this forum would you mind deleting or at least masking your expletive.
I can understand your frustrations with the quality of some of the replies to your posts. :wink:


===========================================
Take a look at the new DeskTopXampp launch control for XAMPP
and XAMPPlite (DTX.exe) posted by ridgewood:
http://community.apachefriends.org/f/viewtopi ... 967#103967
Available at Ridgewood's new DTX web site http://zedfiles.com/DTX/
Also available here: http://nat32.com/dtx/
I highly recommend DTX.
============================================
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Postby adamjw3 » 17. October 2007 11:16

Wiedmann - you have been the typical forum guy , you just keep posting links and no actual help, i don't even think you understand the question.

Izzy - Thanks very much,i have tried what you said and it does seem like a vista issue and not an xampp one. i ran pear.bat in cmd prompt and the same "crl has stopped" popped up but no error number was displayed in the cmd prompt. i have posted a topic on window vista forum.

as usual people are looking at it but no one is solving the issue.

come on guys show me the magic

x
adamjw3
 
Posts: 7
Joined: 16. October 2007 22:29


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 141 guests