PHP stores error logs in /var/log/apache2
if PHP is an apache2 module. Shared hosts are often storing log files in your root directory /log
subfolder. But…if you have access to a php.ini
file you can do this:
error_log = /var/log/php-scripts.log
According to rinogo‘s comment: If you’re using cPanel, the master log file you’re probably looking for is stored (by default) at
/usr/local/apache/logs/error_log
If all else fails you can check the location of the log file using
<?php phpinfo(); ?>
Related Posts:
- Warning: filemtime(): stat failed for wp_
- Upgrade WordPress core programmatically with PHP?
- How to transfer session after being redirected to other page
- Modify meta data before saving to database
- Keep users logged in Without Remember Me
- PHP block changed to comment by WordPress?
- How to create a container in php then customise it in CSS
- Add any username as link prefix and show data from that specific user’s profile on wordpress pages – with no login required
- How to use js variable to php in wordpress functions.php
- Disable single posts, but keep archive
- Display total count of products in orders of a specific order status
- why is kses removing semicolon from inline style?
- Replace the image of a product with its video in the shop page
- Import js variables loaded via wp_localize_script() into js module without global scope connection
- Too few arguments to function woocommerce_update_product_acf_save_post()
- Correct way to perform a GET to another PHP file hosted on wordpress
- How to display inputted data in Ajax without button or click event
- WordPress Query -> Ajax Query
- how to display tables via ajax
- Can WordPress support Website (19GB database) Should I move Our WordPress Website to a custom one using Laravel or any other PHP framework?
- WordPress Importer Call to undefined function set_time_limit()
- How to use url and amin-ajax.php
- How do I empty a specific meta_value for all users in PHP
- Display terms on product page with shotrcode
- Why can’t I enter the wordpress admin interface?
- WP – Ajax call back data printed in the console.log
- How to build a dropdown with tags for same post type?
- Import users and custom user meta from csv
- Custom taxonomy with page post type – WordPress
- Changing regular db connection to $wpdb
- Show div only if product has attribute
- WCFM Custom form
- Understanding responsive imagery
- Custom HTML/CSS Theme into WordPress – SEO considerations
- Stop breadcrumb function retrieving custom post type template name
- Dynamic Email Handler with ‘header (“Location: …’
- what is %variable% in a wordpress plugin? [closed]
- Grabbing value of input field inside of array
- Alternative to php echo within code
- Create guest author page via php
- Login user into magento using wordpress account
- Implement OAuth2 in custom plugin
- Slug not being updated using wp_insert_post
- Gutenberg – render_callback does not pass ToggleControl value on frontend
- save array of objects with update_option
- Remove post image caption from post_excerpt();
- What is the best way to reset the site? Different fails while set up
- How do I run the following script from my articles page?
- Failed opening required in PHP
- How to Set Page Pagination Using Ajax JQuery – WordPress
- Prevent users from display default wordpress login form
- login redirect based on user role not work as expected
- redirect user from login page if is logged
- How to pass and validate nonce in custom REST routes
- hello can you advise how to fix the error?
- How to set variable to specific field when querying
- Detecting charcater encoding for wp-config.php file
- Add multiple HTML attributes to an Elementor button
- Redirect users by role to custom pages
- How to hide header and footer from page template
- How to customize content-video.php file in wordpress as is in html file?
- How to lock users account until approvation
- Create custom table for wordpress custom registration flow
- Customize the summary table of an order in the email
- How to get a database field value from a WordPress table? [closed]
- Hide child of parent categories already hidden with “get_terms_args” – Woocommerce
- rest_cannot_create_user – Sorry, you are not allowed to create new users. CURL WORDPRESS REST API
- Divi – add title to mobile menu button
- WooCommerce: write featured image dimensions to custom fields in product’
- The search doesn’t work properly
- Having trouble customizing toolbar on wp_editor
- Cannot install plugins or themes on new WordPress installation at Cloudways
- Changing WP_MEMORY_LIMIT doesn’t affect actual memory limit
- Search results always returns “No results” no matter what
- Load wp_editor on button click
- Custom WP LIST Table filter
- Add attribute to featured image with filter (wp_get_attachment_image_attributes)
- How to enqueue structured data as file – jsonld file seems not to work
- Custom WordPress Function – Adding items from Foreach Loop into an array and Updating Field based on array of IDs (ACF + WooCommerce)
- How can I save a user’s Contact Form 7 inputs as separate columns in a custom WordPress table?
- Query posts by custom taxonomy slug in WP REST API?
- How can I change the URL via add_rewrite_rule()
- oneOf JSON Schema validation not properly working for custom post meta value?
- Suddenly sessions and header location not working
- Custom Navigation Bar JSON Syntax Error in JSON at Position 0
- Variable ++ in query loop
- Generate and upload screenshot as featured image for user-submitted post
- How to conditionally concatenate and translate two very long strings?
- Create custom API endpoint to change custom header image
- Should I use include(_once) or require(_once) for loading php-file with customizer settings?
- How can precision be improved for the debug log timestamp?
- WordPress online courses system
- How to create a WordPress PAGE in another folder?
- bloginfo url in javascript
- 404 after removing “category” base in wordpress
- How do I edit the text in this function.php file?
- Is there a way to get wp_editor (tinymce) content?
- How to align buttons properly [closed]
- index.php file keeps redirecting to a non-existent index.html file?
- how to indicate on post listing title if user already liked this post