PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, August 30, 2022

[FIXED] How to tell PEAR where to extract the downloaded files?

 August 30, 2022     deployment, extract, packages, pear     No comments   

Issue

I set up a local pear repository/client, however you call it. I discovered a channel and already downloaded a package, which worked fine. As far as I know pear separates the php and data files in two folders, after it extracted the files. But I want ALL files being together in one directory which I can specify. How can I do this?

I already tried:

pear config-set data_dir my-specified-directory

pear config-set php_dir my-specified-directory

But that does not work because it expects directories called data and php. Is there any way to do this? Background: I use pear to deploy packages on a test server and I need everything in one directory to run the application.


Solution

So finally I found it:

pear config-set www_dir my-specified-directory



Answered By - tester
Answer Checked By - Robin (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing