How can I get Apache to display the php documentation?

Linux for blind general discussion blinux-list at redhat.com
Fri Jan 25 05:12:54 UTC 2019


Hi John,
ln -s /usr/share/doc/php-doc/html /var/www/html/phpdocs
Then go to http://localhost/phpdocs
The ln command first takes the source, then the linkname.
HTH, Willem



On Thu, 24 Jan 2019, Linux for blind general discussion wrote:

> I have command-line debian and I have installed Apache2 and php5. The php documentation is a set of Web pages. i would
> like to get Apache to display it. However, the web root is /var/www/html and the php documenhtation is in
> /usr/sharee/doc/php-doc/html . I thought I could put a link in the webroot that would reach it.
> link phpdoc.html /usr/share/doc/php-doc/html/index.html
> However the link command won't accept the long file name. What would work?
>
> Thanks,
> John
>
> -- 
> John J. Boyer
> Email: john.boyer at abilitiessoft.org
> website: http://www.abilitiessoft.org
> Status: Company dissolved but website and email addresses  live.
> Location: Madison, Wisconsin, USA
> Mission: developing assistive technology software and providing STEM services
>        that are available at no cost
>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list at redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
>




More information about the Blinux-list mailing list