Executing the code you posted results in a crash inside the PHP module. I assume you’re running PHP as module inside apache on windows, if the module crashes, apache crashes as well.
Ensure that you’re using the right PHP modules here. Are you sure you need the Thread-Safe variant of PHP for apache? Those are reported to not run stable under windows IIRC.
So this might not be related to the wordpress version but to the server configuration.
Hope this answer helps a bit tackling things down.
Related Posts:
- One page is showing the “Index of /” error
- I removed the “wp_rm_logs” table and am constantly getting this error
- Getting amp; on every single category, post and page title. How to Remove?
- Theme unit test error
- Installation problem with wordpress xampp
- Site has fake users registered with a similar pattern in username and email
- Unable to customize themes in wordpress after migrating to https from http
- Parse error: syntax error, unexpected ”tax_query” in wordpress
- BuddyPress: bp-core-template-loader.php error blocking access to wp-admin
- A SINGLE Post Giving an “Under Maintenance” Message
- What is the source of “HTTP error,” and
- WordPress fails when my post is larger than 1400 words
- Can too-large images cause Error Establishing a Database Connection
- 403 Forbidden on site logo image upload
- WordPress Dashboard visible but site is not after migration
- Undefined index action Cannot modify header
- Weird Cron Error
- 403 error with no reason
- Unnessary character on post after restore
- TOO MANY REDIRECTS ERROR when redirecting buddypress register page to WordPress sign up
- Error messages generated in ‘Customize Your Site’
- wp_list _table You do not have sufficient permissions to access this page error
- Seeing “error” as text on white when accessing admin
- All of my wordpress sites showing †Ù¥
- Unregister Settings Error
- Overcome illegal characters [duplicate]
- How to find which plugin crashes
- Dashboard doesn’t work propertly
- Undefined Index. But isset not working?
- Possible to hide the search engine indexing disabled prompt/error message?
- Weird Parse Error on Uploaded File
- bypassing permission error for a plugin’s page
- Website Loading Very Slow, Each Time Different File Takes Very Long To Load
- Fatal error: Allowed memory size of bytes exhausted (tried to allocate 36 bytes)
- 500 internal server error with wordpress
- call user func array error after moved the site to new server
- Logging out gives 404 error
- Any idea on how to fix this error when forcing SSL on a certain page?
- Internal 500 error: Activating rootio theme and deploying with capistrano
- WordPress Error Missing Argument [duplicate]
- WordPress installation self deleted in server restart. SQL Tables gone too!
- Error updating WordPress, does not ask for FTP password, just error
- How to fix 502 errors on my WordPress site hosted on Windows Azure that only occur when I update a post?
- do_action( ‘init’ ) in wp-settings.php breaks my website. All plugins and themes disabled
- White background, black text – the simplest on earth : “error”!
- Twenty Eleven theme-options error
- Why I am having error Call to undefined function get_header()?
- WP_Error message
- warnings & errors after MAMP to live (hosteurope)
- Post show up as post and pages
- Avoiding “headers already sent” in WordPress
- Random HTTP 500 error in WordPress
- Fatal error: Cannot declare class WP_User_Request, because the name is already in use?
- I’m getting Call to undefined function wp_parse_list() out of the blue
- Unexpected error with class-wp-hook.php on WordPress
- Fatal error: Call to undefined function wp_raise_memory_limit()
- Error establishing a database connection in godaddy.com
- problem ajaxurl – designthemes-core-features
- Parse error: syntax error, unexpected T_FUNCTION
- Help with overloading the limits of CPU/RAM issue in a resseler account with wp sites
- Add clickable function in functions.php – parse error [closed]
- Trying to add function with pre_get_posts for plugin search [closed]
- Error thrown Cannot use object of type WP_Error as array
- WordPress “Allowed memory size” on wp-db.php [closed]
- Parse error: syntax error, unexpected T_STRING, expecting ‘,’ or ‘;’ [closed]
- Where can I get a full list of wordpress errors in plain text?
- The ( error_log ) file size is very large
- WordPress doesn’t recognise my email address and I’m missing the wp-config file in PHPmyadmin cPanel to make alterations
- Parse error: syntax error, unexpected ‘$q74ed’ (T_VARIABLE)
- Fixing this error “A description for this result is not available because of this site’s robots.txt”
- What are some best practices to clean up http mix content warnings?
- Fatal error due to file permissions
- Fatal error: Call to a member function update() on a non-object in my resturant plugin file restaurants.php
- undefined index [closed]
- Theme-Check plugin using MY_THEME check error genrate
- Language of errors in WordPress admin
- Fatal error: require(): Failed opening required ‘load.php’
- Can (slow) Internet speed get you a 500 server error? [closed]
- WordPress is not sending the 2nd email in the same request
- Whole right area of wordpress admin dashboard not showing
- index page is not loading [closed]
- Solve theme installation problem?
- Only specific users timing out
- Better error messages upon critical errors – HTTP Error 500
- WordPress Customizer not loading
- Fatal error trace not shown in development setup
- Error Message – Cannot login to WordPress
- Fatal error: Uncaught Error: trim(): Argument #1 ($string) at \wp-includes\class-wp-query.php
- Is it possible to empty debug.log programmatically?
- File doesn’t exist! in wordpress function.php file while creating new post or page
- Getting 403 Forbidden Error while trying to edit or delete new posts or existing posts
- Memory size exhausted when extending WP_Query
- Execute multiple PHP Snippets causes error?
- Creating a function inside a custom WordPress Plugin [closed]
- Change Registration Error Message
- How to fix Notice: unserialize(): Error at offset 12620 of 12651 bytes error?
- syntax error, unexpected ‘=>’ (T_DOUBLE_ARROW) [closed]
- Apache error log lots of connection_refused
- Unable to log in: “Cannot serve directory www/wordpress/wp-includes/ No matching DirectoryIndex”
- Lots of warnings and errors instead of my WordPress site – Synology NAS – Intranet