Code Monkey home page Code Monkey logo

phpwpinfo's Introduction

Be API Github Banner

phpwpinfo

phpwpinfo provides an equivalent to the phpinfo() function but with more WordPress requirements details about the PHP/MySQL/Apache environment and also offers suggestions for improvement.

This tool allows you to quickly test environment server where you want to install WordPress. It is written in full PHP and use Bootstrap for HTML/CSS/JS purpose, provided by CDN.

How ?

Installation

Note

You'll need the .htaccess file included for the PHP-FPM/FastCGI implementations

Total

Just run :

git clone https://github.com/BeAPI/phpwpinfo.git

Partial

Talking about the main file (phpwpinfo.php), copy it's content, download the raw file or even better "wget" it directly on your server :

wget https://raw.githubusercontent.com/BeAPI/phpwpinfo/master/phpwpinfo.php

Usage

Then simply reach the my-site.com/phpwpinfo.php url on your site to get the results, which are protected with the following credentials :

  • Login : wordpress
  • Password : wordpress

What ?

1. Self deletion

This tool can, if your server allow it, delete itself.

2. What it checks for

It tests various elements such as :

  • PHP & MySQL Version
  • Apache modules
  • PHP Extensions
  • PHP Configuration
  • MySQL Configuration
  • Mail server feature

3. Display phpinfo and more

It also allows you to quickly view phpinfo() and MySQL variables.

4. Quick install

Finally, it allows (if you server allows it) to quickly install :

Contributing

Please refer to the contributing guidelines to increase the chance of your pull request to be merged and/or receive the best support for your issue.

Issues & features request / proposal

If you identify any errors or have an idea for improving this tool, feel free to open an issue. Please provide as much info as needed in order to help us resolving / approve your request.

Who ?

Created by Be API, the French WordPress leader agency since 2009. Based in Paris, we are more than 30 people and always hiring some fun and talented guys. So we will be pleased to work with you.

This tool is only maintained, which means we do not guarantee some free support. Consider reporting an issue and be patient.

If you really like what we do or want to thank us for our quick work, feel free to donate as much as you want / can, even 1โ‚ฌ is a great gift for buying cofee :)

License

phpwpinfo is licensed under the GPLv3 or later.

phpwpinfo's People

Contributors

asadowski10 avatar herewithme avatar maximeculea avatar msieurpafi avatar rahe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

phpwpinfo's Issues

Increase max_input_vars ?

It seems that Google Maps Builder Pro generate a huge array which is not saved by $_POST when max_input_vars is too low.

We have one project on which we had to switch to 10000. Let's wait the feedback from the second one and see.

Fatal error procopen

Hello,

If function proc_open is not available, the tool is failing and furthers tests not launched.

Nicolas,

Add test for xdebug

Check xdebug is not activated for the server, this is a performance issue for the server if activated on production

mysql suggestions?

It would be really great if the script could show suggestions for all the mysql settings.

While my WordPress site is running properly, it cannot handle any type of real load, and that is probably because I have not optimized mysql at all. Your script was great in that it showed me everything I could ever want to know about my mysql setup, but it doesn't tell me what I should change to make it better.

Just suggesting, that it would be a nice feature addon someday, especially considering most people like myself, don't understand mysql all that well.

Remove SQL Query Cache

Version information

  • Tool version :

Steps to reproduce

What was expected

What happened instead

Branding

  • Github cover
  • Changelog
  • Detailled readme
  • License

Check opcache config

This can be uselfull to check the opcache configuration options :

  1. opcache.enable_file_override 1 to optimise the imports
  2. opcache.max_accelerated_files >= 15000
  3. opcache.interned_strings_buffer > 8
  4. opcache.memory_consumption au moins 128MB
  5. opcache.enable_cli 1 to optimize event on WP-CLI
  6. opcache.validate_timestamps and opcache.revalidate_freq rightly configurer
  7. opcache.save_comments 0
  8. opcache.load_comments 0

For performance optimisations

Easyapache4 / cPanel

Please update your script or make it clear it's not fully compatible with cpanel hosting, the only Opcode caching currently compatible with cPanel release is OpCache which your script doesn't test for.

Apache Modules not recognized

Hello there ๐Ÿ‘‹
For the Apache Modules the Script states that there are some missing modules, however, they are loaded. They just have a different name, which can vary across distributions:

root [~] # apachectl -M |egrep -i 'deflate|env|expires|headers|filter|mime|rewrite|setenvif'
 deflate_module (shared)
 env_module (shared)
 filter_module (shared)
 headers_module (shared)
 rewrite_module (shared)
 setenvif_module (shared)
 mime_module (shared) 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.