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

Tuesday, August 30, 2022

[FIXED] Where is phpdoc's default.ini located?

 August 30, 2022     pear, php, phpdoc     No comments   

Issue

I am installing phpdocumentor on Centos/Apache. I ran the following, and all seemed to work:

pear channel-discover pear.phpdoc.org
pear install phpdoc/phpdocumentor
pear config-set data_dir /var/www/html/pear

When going to http://mydomain.com/pear/phpDocumentor/, I see the following, but nothing I can run in a browser.

Index of /pear/phpDocumentor
[ICO]   Name    Last modified   Size    Description
[DIR]   Parent Directory        -    
[ ] CHANGELOG.md    27-Apr-2014 10:30   17K  
[TXT]   CONTRIBUTING.md 27-Apr-2014 10:30   3.9K     
[ ] Vagrantfile 27-Apr-2014 10:30   643      
[ ] box.json    27-Apr-2014 10:30   4.6K     
[ ] box.phar    27-Apr-2014 10:30   877K     
[ ] composer.json   27-Apr-2014 10:30   2.7K     
[TXT]   composer.lock   27-Apr-2014 10:30   119K     
[DIR]   features/   27-Apr-2014 10:30   -    
[ ] phpmd.xml.dist  27-Apr-2014 10:30   639      
[DIR]   vendor/ 27-Apr-2014 10:30   -   

http://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutorial_phpDocumentor.howto.pkg.html#using.config-files describes the following:

There are two configuration files included in the distribution of phpDocumentor, and both are in the user/ subdirectory. ... The best way to ensure your config file matches the format expected by phpDocumentor is to copy the default.ini config file, and modify it to match your needs. Lines that begin with a semi-colon (;) are ignored, and can be used for comments.

I've searched by server using find / -name default.ini, and there is not a file of this name.

Where should phpdoc's default.ini be located?


Solution

You're mixing up phdoc2 and the phpdocumentor 1 manual.

phpdoc2's manual is at http://phpdoc.org/docs/latest/index.html



Answered By - cweiske
Answer Checked By - Clifford M. (PHPFixing Volunteer)
  • 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