Adding Pear to Synology Apache:Php

Ok,  you want Pear for your webserver.

1) Using your ipkg you must install and test it with.

Now update php to use it, finding the include_path entry and making it look like  include_path = “.:/php/includes:/opt/share/pear”

Now login to your DiskStation > Web Services control panel and add the pear path to your opendir directive – can you see I have added /opt/share/pear/: to the start of the path.

screenshot_611

Now add the following to a webpage and test it returns bool(true)

About CDB 360 Articles
Self-Employed Software Developer, Spark, Property Management, Hobby Forestry, Ex-Teacher, Engineering - Wood, Metal, Electrics & Computers. Outdoors - Walk, Cycle, Kitesurf,

1 Comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.