Note: This post was created awhile back on another platform and I migrated to my current one.
Installing PEAR on WAMP
Step-by-Step Guide
1. Follow This Tutorial
I followed this tutorial to install PEAR on WAMP.
However, the tutorial misses the environment variables installation part (it only covers Vista).
2. Setting Up Environment Variables
To set up environment variables on Windows, follow these steps (source: Microsoft):
- Right-click My Computer, then click Properties.
- Click the Advanced tab.
- Click Environment Variables.
📸 Example Screenshot:
3. Editing the Path Variable
Find the System variables section and look for the Path
variable.
Edit the Path
variable and add the following (separated by a semicolon):
|
|
📌 Important: If the command line is already open, exit and reopen it for the changes to take effect.
4. Verifying the Installation
Run the following command in the terminal:
|
|
If everything is set up correctly, you should see the updated path including PEAR.
📸 Verification Screenshot:
Conclusion
Setting up PEAR on WAMP is straightforward, but you need to manually configure the environment variables for proper installation. Make sure to restart your terminal after making changes, and you should be good to go! 🚀
Credit
- Image by Anna Arzamasova from Pixabay