PEAR Headache

He has: 83 posts

Joined: Feb 2005

Im trying to install pear and something is right.

I'm following along with the book from Apress "Beginning PHP5 and MySQL E-Commerce"
The book is a tutorial of sort that builds a site from beginning to end called T-Shirt Shop. So when ever that name is referenced you will know why Smiling

This is what it says to do.

Use web browser to navigate to Http://pear.php.net/go-pear.php. This page contains the source code for a page. Save that code as a file named go-pear.php in your tshirtshop/libs folder, and then run it by loading it (http://localhost/tshirtshop/libs/go-pear.php) into a web browser.

I cannot get past that point. For some reason my browser is not finding my go-pear.php file and I'm getting the ole "page cannot be found". I've restarted the server and still cant get it to go. Does anyone have any idea what I should do? I've read the Pear Manual but that doesn't help.

Greg K's picture

He has: 2,145 posts

Joined: Nov 2003

Well since the link comes up with a 404 error (the http://pear.php.net/go-pear.php link), I would say that there is either a typo in the book, or it is just an outdated link. Try going to the website for the book and see if they have an update.

Ok, as I had a minute, I looked for your. See http://www.apress.com/book/errataDisplay.html?bID=356&sID=2620 for all the corrrections they have to the book. However, this bad link is not one of them.

If the link they tell you to go to is a bad page, what exactly did you save to your server? The more I'm thinking about it, I'm really hoping you posted a bad URL here. To be quite honest (and not trying to be mean), but if that is the correct URL, and you got a 404 error, and continued on thinking it would work, I'm hoping this is purely for hobby then.

-Greg

He has: 83 posts

Joined: Feb 2005

Sorry you might have misunderstood me.

I got the source code for pear. Saved it in the Libs folder as go-pear.php but I cannot pull up the file that I saved to install pear.

I should have said that better in my first post.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.