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
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 151 Nebula Ideas
- 98 Nebula Status and Incidents
- 5.7K Security
- 277 USG FLEX H Series
- 277 Security Ideas
- 1.4K Switch
- 74 Switch Ideas
- 1.1K Wireless
- 42 Wireless Ideas
- 6.4K Consumer Product
- 250 Service & License
- 395 News and Release
- 85 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.6K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 75 Security Highlight