Coder Social home page Coder Social logo

Comments (6)

rabollin avatar rabollin commented on June 12, 2024

This is a bug with existing system : https://msazure.visualstudio.com/Antares/_workitems/edit/24122415; will be fixed soon.

from wordpress-linux-appservice.

dumbphoneboostcoder avatar dumbphoneboostcoder commented on June 12, 2024

Any update on this?

from wordpress-linux-appservice.

v3lli avatar v3lli commented on June 12, 2024

so far we have tried to add an ini uning PHP_INI_SCAN_DIR, this part was successful as we got the ini to be loaded in this ini we added the following settings:

log_errors = true;
error_log = "/home/site/wwwroot/errors.log"
max_file_uploads = 50

and on checking the phpinfo page we noticed that we were able to change the value for max_file_uploads from the default value of 20 to 50

Proving that this ini file was read but the change for error_log didnt take effect as the value wsas still set at
/var/log/fpm-php.www.log

and on checking this directory /var/log/fpm-php.www.log we were unable to locate the file which it points to as it does not exist.

however all this works as expected when using a php blessed image instead of the wordpress on appservice markeptplace offering

from wordpress-linux-appservice.

ZubaeyrMSFT avatar ZubaeyrMSFT commented on June 12, 2024

@emmigereb, @dumbphoneboostcoder, @v3lli
The issue has been fixed and deployed to production. Please restart your App for the changes to reflect. The logs would now be available at /var/log/php-fpm/php-fpm.www.log

Here is the documentation on how to enable debug logs with WordPress:
https://github.com/Azure/wordpress-linux-appservice/blob/main/WordPress/enabling_debug_logs_for_wordpress.md

from wordpress-linux-appservice.

v3lli avatar v3lli commented on June 12, 2024

from wordpress-linux-appservice.

emmigereb avatar emmigereb commented on June 12, 2024

Thanks for the fix. This is really needed 😊
@ZubaeyrMSFT do I understand correctly that if I want to see the log I have to go via Azure portal > App Service > SSH > Web SSH console and there paste tail -f /var/log/php-fpm/php-fpm.www.log to see the log?
Is there any other way to get to the log?

from wordpress-linux-appservice.

Related Issues (20)

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.