NAS326 install mediawiki
All Replies
-
... no comments
Thank you
[Mon Nov 08 21:08:55.847699 2021] [mpm_prefork:notice] [pid 991] AH00163: Apache/2.4.48 (Unix) configured -- resuming normal operations[Mon Nov 08 21:08:55.848042 2021] [core:notice] [pid 991] AH00094: Command line: '/opt/sbin/apache2'Apache is running now.
______________________________
I've found the document root and copied media wiki folder to there. But the index.php is not interpreted. I see the source code of that page.
PHP7 is installed./opt # opkg install php7Package php7 (7.4.22-1a) installed in root is up to date.
But php -v is not working./ # find ./ -name "php"./opt/share/apache2/htdocs/vendor/oojs/oojs-ui/phpfind: ./proc/3440/task/3440/fd/13: No such file or directory./i-data/40a999dc/.PKG/PHP-MySQL-phpMyAdmin/php./i-data/40a999dc/.PKG/PHP-MySQL-phpMyAdmin/php/lib/php./i-data/40a999dc/.PKG/PHP-MySQL-phpMyAdmin/php/include/php./i-data/40a999dc/.PKG/PHP-MySQL-phpMyAdmin/php/php./i-data/40a999dc/.PKG/PHP-MySQL-phpMyAdmin/php/bin/php./i-data/40a999dc/opt/share/apache2/htdocs/vendor/oojs/oojs-ui/php
It seems, there is no php.
I've tried to google that issue:
https://stackoverflow.com/questions/11595830/php-not-interpreted-showing-in-view-source
There is also no LoadModule command for php in my apache2.conf file. There is also no modules folder in apaches directory.
How can I force apache to find php?0
Categories
- 8.5K All Categories
- 1.6K Nebula
- 71 Nebula Ideas
- 57 Nebula Status and Incidents
- 4.5K Security
- 226 Security Ideas
- 985 Switch
- 46 Switch Ideas
- 882 WirelessLAN
- 23 WLAN Ideas
- 5.2K Consumer Product
- 159 Service & License
- 280 News and Release
- 61 Security Advisories
- 13 Education Center
- 581 FAQ
- 263 Nebula FAQ
- 160 Security FAQ
- 76 Switch FAQ
- 75 WirelessLAN FAQ
- 7 Consumer Product FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 63 About Community
- 46 Security Highlight
Consumer Product Help Center
