Auteur Topic: installatie phpDocumentor  (gelezen 5644 keer)

Offline Black Storck

  • Bedankjes
  • -Gegeven: 1
  • -Ontvangen: 0
  • Berichten: 3
installatie phpDocumentor
« Gepost op: 18 november 2015, 13:26:00 »
Ik probeer phpDocumentor via PEAR (PHP PEAR; Synology inc.; 1.9.5-0016) te installeren op een Synology DS212j. De installatie verloopt zonder foutmeldingen.

Wanneer ik als root ssh en phpdoc wil gebruiken krijg ik de foutmelding:
> phpdoc
-ash: phpdoc: not found

Ik krijg het niet opgelost, zoaken met Google helpt me ook niet verder. Hopelijk kan iemand hier mij helpen? Wordt enorm gewaardeerd!!

Hieronder de pear channel-info and pear package-info zoals geinstalleerd.



> pear channel-info phpdoc:
Channel pear.phpdoc.org Information:
====================================
Name and Server         pear.phpdoc.org
Alias                   phpdoc
Summary                 phpDocumentor channel
Validation Package Name PEAR_Validate
Validation Package      default
Version
Server Capabilities
===================
Type Version/REST type Function Name/REST base
rest REST1.0           http://pear.phpdoc.org/rest/
rest REST1.1           http://pear.phpdoc.org/rest/
rest REST1.2           http://pear.phpdoc.org/rest/
rest REST1.3           http://pear.phpdoc.org/rest/

> pear info phpdoc/phpDocumentor
About pear.phpdoc.org/phpDocumentor-2.8.5
=========================================
Release Type          PEAR-style PHP-based Package
Name                  phpDocumentor
Channel               pear.phpdoc.org
Summary               PHP 5.3 compatible API Documentation generator
                      aimed at projects of all sizes and Continuous
                      Integration
Description           phpDocumentor is a Documentation Generation
                      Application (DGA) for use with PHP applications.

                      It is capable of transforming the comments in
                      your source code into a full API reference
                      document.

                      phpDocumentor is build to be PHP 5.3 compatible,
                      fast, having a low memory consumption and easily
                      integratable into Continuous Integration.
Maintainers           Mike van Riel <mike.vanriel@naenius.com> (lead)
                      Chuck Burgess <ashnazg@php.net> (lead)
Release Date          2015-07-28 18:40:43
Release Version       2.8.5 (stable)
API Version           2.8.5 (stable)
License               MIT
                      (http://www.opensource.org/licenses/mit-license.html)
Release Notes         Please see the CHANGELOG in the root of the
                      application for the latest changes
Required Dependencies PHP version 5.3.3
                      PEAR installer version 1.4.0 or newer
package.xml version   2.0
Last Modified         2015-11-18 11:46
Previous Installed    - None -
Version
  • Mijn Synology: DS212j
  • HDD's: 2 x HDS5C3020BLE630

Offline Birdy

  • Global Moderator
  • MVP
  • *
  • Bedankjes
  • -Gegeven: 1342
  • -Ontvangen: 7815
  • Berichten: 43.231
  • FIFO / LIFO
    • Truebase
Re: installatie phpDocumentor
« Reactie #1 Gepost op: 18 november 2015, 13:42:59 »
Misschien een open deur, maar de melding die je krijgt "phpdoc: not found", is meestal het geval dat het programma, in dit geval phpdoc, niet in het pad staat, dus $PATH.


CS406      DSM 2.0-0731    DS508      DSM 4.0-2265      DS411+II  DSM 6.2.4-25556-7   DS115J    DSM 7.1.1-42962-5   DS918+    DSM 6.2.4-25556-7
DS107+     DSM 3.1-1639    DS411slim  DSM 6.2.4-25556   DS213J    DSM 6.2.3-25426-2   DS1515+   DSM 6.2.4-25556-7   DS220+    DSM 7.2.1-69057-5
DS107+     DSM 3.1-1639    DS111      DSM 5.2-5967-9    DS413J    DSM 6.2.3-25426-2   DS716+II  DSM 6.2.4-25556-7   RT2600ac  SRM 1.2.5-8227-11
BeeDrive   1TB             BeeServer  BSM 1.0-65162                                                                 MR2200ac  SRM 1.2.5-8227-11

Offline Black Storck

  • Bedankjes
  • -Gegeven: 1
  • -Ontvangen: 0
  • Berichten: 3
Re: installatie phpDocumentor
« Reactie #2 Gepost op: 18 november 2015, 15:21:55 »
Bedankt voor je snelle reactie!

Ik had $PATH al willen checken:
> echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin

Maar er staat geen phpdoc bestand op de nas. Zoeken levert alleen het volgende op:
> find . -name "phpdoc"
./volume1/@appstore/PEAR/bin/phpdoc
./volume1/@appstore/PEAR/phpDocumentor/data/templates/new-black/css/phpdoc
./volume1/@appstore/PEAR/phpDocumentor/data/templates/zend/css/phpdoc
./volume1/@appstore/PEAR/phpDocumentor/docs/references/phpdoc
> find . -name "phpdoc.php" -type f
./volume1/@appstore/PEAR/phpDocumentor/bin/phpdoc.php

phpdoc blijkt een 'socket' in plaats van een file, tenminste dat blijkt uit de * achter phpdoc*. Maar hier stopt mijn Linux kennis :(
> ls ./volume1/@appstore/PEAR/bin -F
pear*    peardev* phpdoc*

Uitvoeren van phpdoc.php geeft een dependency foutmelding:> php /volume1/@appstore/PEAR/phpDocumentor/bin/phpdoc.php
PHP Deprecated:  phpDocumentor2 should be run from the phpdoc file, not phpdoc.php in /volume1/@appstore/PEAR/phpDocumentor/bin/phpdoc.php on line 13

Deprecated: phpDocumentor2 should be run from the phpdoc file, not phpdoc.php in /volume1/@appstore/PEAR/phpDocumentor/bin/phpdoc.php on line 13
PHP Warning:  require_once(/volume1/@appstore/PEAR/phpDocumentor/bin/phpdoc): failed to open stream: No such file or directory in /volume1/@appstore/PEAR/phpDocumentor/bin/phpdoc.php on line 14

Warning: require_once(/volume1/@appstore/PEAR/phpDocumentor/bin/phpdoc): failed to open stream: No such file or directory in /volume1/@appstore/PEAR/phpDocumentor/bin/phpdoc.php on line 14
PHP Fatal error:  require_once(): Failed opening required '/volume1/@appstore/PEAR/phpDocumentor/bin/phpdoc' (include_path='.:/var/packages/PEAR/target') in /volume1/@appstore/PEAR/phpDocumentor/bin/phpdoc.php on line 14

Fatal error: require_once(): Failed opening required '/volume1/@appstore/PEAR/phpDocumentor/bin/phpdoc' (include_path='.:/var/packages/PEAR/target') in /volume1/@appstore/PEAR/phpDocumentor/bin/phpdoc.php on line 14

Het lijkt met dat phpdoc hier hoort te staan: /volume1/@appstore/PEAR/phpDocumentor/bin/phpdoc

> ls -F ./volume1/@appstore/PEAR/phpDocumentor/bin
jsonlint       phpdoc.php     validate-json

En hier loop ik vast... Hopelijk heeft iemand tips?
  • Mijn Synology: DS212j
  • HDD's: 2 x HDS5C3020BLE630

Offline Birdy

  • Global Moderator
  • MVP
  • *
  • Bedankjes
  • -Gegeven: 1342
  • -Ontvangen: 7815
  • Berichten: 43.231
  • FIFO / LIFO
    • Truebase
Re: installatie phpDocumentor
« Reactie #3 Gepost op: 18 november 2015, 16:46:58 »
Zet "/volume1/@appstore/PEAR/phpDocumentor/bin" in $PATH.
Dus: /sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin:/volume1/@appstore/PEAR/phpDocumentor/bin
Reboot is misschien nodig.

PS: ik heb verder niets met phpDocumentor, reageer alleen op de meldingen ;)


CS406      DSM 2.0-0731    DS508      DSM 4.0-2265      DS411+II  DSM 6.2.4-25556-7   DS115J    DSM 7.1.1-42962-5   DS918+    DSM 6.2.4-25556-7
DS107+     DSM 3.1-1639    DS411slim  DSM 6.2.4-25556   DS213J    DSM 6.2.3-25426-2   DS1515+   DSM 6.2.4-25556-7   DS220+    DSM 7.2.1-69057-5
DS107+     DSM 3.1-1639    DS111      DSM 5.2-5967-9    DS413J    DSM 6.2.3-25426-2   DS716+II  DSM 6.2.4-25556-7   RT2600ac  SRM 1.2.5-8227-11
BeeDrive   1TB             BeeServer  BSM 1.0-65162                                                                 MR2200ac  SRM 1.2.5-8227-11

Offline Black Storck

  • Bedankjes
  • -Gegeven: 1
  • -Ontvangen: 0
  • Berichten: 3
Re: installatie phpDocumentor
« Reactie #4 Gepost op: 18 november 2015, 18:48:54 »
Bedankt voor de suggestie. Ik heb $PATH aangepast  maar helaas blijft de foutmelding hetzelfde:

> phpdoc
-ash: phpdoc: not found
> echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin:/volume1/@appstore/PEAR/phpDocumentor/bin

  • Mijn Synology: DS212j
  • HDD's: 2 x HDS5C3020BLE630

Offline Birdy

  • Global Moderator
  • MVP
  • *
  • Bedankjes
  • -Gegeven: 1342
  • -Ontvangen: 7815
  • Berichten: 43.231
  • FIFO / LIFO
    • Truebase
Re: installatie phpDocumentor
« Reactie #5 Gepost op: 18 november 2015, 20:03:24 »
Dan kan ik je alleen nog maar doorverwijzen naar phpDocumentor site zelf echter, ik denk dat je die zelf al gevonden hebt ;)


CS406      DSM 2.0-0731    DS508      DSM 4.0-2265      DS411+II  DSM 6.2.4-25556-7   DS115J    DSM 7.1.1-42962-5   DS918+    DSM 6.2.4-25556-7
DS107+     DSM 3.1-1639    DS411slim  DSM 6.2.4-25556   DS213J    DSM 6.2.3-25426-2   DS1515+   DSM 6.2.4-25556-7   DS220+    DSM 7.2.1-69057-5
DS107+     DSM 3.1-1639    DS111      DSM 5.2-5967-9    DS413J    DSM 6.2.3-25426-2   DS716+II  DSM 6.2.4-25556-7   RT2600ac  SRM 1.2.5-8227-11
BeeDrive   1TB             BeeServer  BSM 1.0-65162                                                                 MR2200ac  SRM 1.2.5-8227-11


 

Installatie, gelukt of toch niet?

Gestart door KnorrBoard Logitech Media Server

Reacties: 2
Gelezen: 4765
Laatste bericht 20 oktober 2008, 20:41:23
door Knorr
installatie probleem Ds213j

Gestart door baco1963Board NAS hardware vragen

Reacties: 23
Gelezen: 7147
Laatste bericht 25 september 2013, 12:54:02
door baco1963
installatie schijven

Gestart door wvrennesBoard Synology DSM algemeen

Reacties: 5
Gelezen: 3452
Laatste bericht 01 november 2010, 21:24:02
door dirkovision
DS209 herinstalleren zonder installatie-cd

Gestart door gusditzBoard Synology DSM 5.1 en eerder

Reacties: 4
Gelezen: 1458
Laatste bericht 09 april 2021, 12:35:41
door gusditz
Installatie gaat niet verder dan 66%

Gestart door NeighbrsBoard Synology DSM 5.1 en eerder

Reacties: 5
Gelezen: 2292
Laatste bericht 21 januari 2012, 17:30:05
door zandhaas