Comments (5)
Hello,
What returns the function apache_get_modules
? the env_module
etc. ?
Is the values pushed on the $_SERVER ?
The .htaccess file (https://github.com/BeAPI/phpwpinfo/blob/master/.htaccess#L13) does work ?
from phpwpinfo.
Hello Nicolas ๐
The function apache_get_modules only works if PHP is running as an apache module (which is not the case anymore in most setups these days) and does not report anything when running as PHP-FPM or FastCGI. So far I could not find a reliable way to test for apache modules with PHP running on FPM/CGI.
The best option would maybe be to try to run the functions of these modules and catch the error message if they are not there.
from phpwpinfo.
Hello Maxime,
Yes this is why we have the .htaccess
file to be pushed alongside the phpwpinfo.php file that pushes the env variables in case of the Apache modules are loaded into Apache.
Can you check with the .htaccess
file ?
On my side, if I add the .htacess alongside the phpwpinfo.php file everything is fine :
from phpwpinfo.
I have created the .htaccess file, it is working. Thank you!
As the installation tells to get the PHP file, I suppose that about the htaccess that is not documented :)
from phpwpinfo.
Great, we'll update the installation process i this way ;)
from phpwpinfo.
Related Issues (20)
- Easyapache4 / cPanel HOT 1
- Add test for the max_input_nesting_level HOT 1
- WP-CLI version HOT 2
- For each setting, explain why
- Add test for Options +Indexes
- Test remote IP from server and compared then with any public API HOT 2
- Redis Test ( PHP Module & Server ) HOT 3
- Add test for xmlreader php module HOT 1
- Security issue HOT 4
- Increase max_input_vars ? HOT 2
- Add test for xdebug HOT 1
- Branding HOT 2
- max_execution_time / max_input_time tests
- Default timezone PHP HOT 1
- Check opcache config
- Check PHP extension intl HOT 1
- Fatal error procopen HOT 1
- Add test for timeout, php vs apache/nginx
- Add test for git HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpwpinfo.