hello everyone,
i have a problem where i cannot run a php application in the IE. when i run, all the interface not displayed and function.
is it true, i need to change the setting at internet option or else...
hello everyone,
i have a problem where i cannot run a php application in the IE. when i run, all the interface not displayed and function.
is it true, i need to change the setting at internet option or else...
The problem description from is consistent with two different failure classes: the server never generating the HTML the browser should show, or the browser receiving HTML but failing to render or run client-side code. The replies from , and point toward those two directions; the quickest path is to isolate which side is failing.
Try this short diagnostic sequence:
Confirm the file is requested over HTTP(S) (for example http://localhost/...) and not opened as a file://. If PHP source or raw <?php text appears, the server is not processing PHP. For quick local testing you can run the built-in PHP server:
php -S 127.0.0.1:8000 If the page is blank, enable error output and/or check server logs. Add temporary diagnostics:
ini_set('display_errors', 1);
error_reporting(E_ALL); and/or use a tiny phpinfo() page to confirm PHP is working.
If the HTML is present but the interface looks broken or non-functional, use IE Developer Tools (F12). Check the Console for JavaScript errors, the Network tab for 404/500 or blocked resources, and the DOM to see whether elements exist but are hidden. Common IE gotchas: compatibility/document modes, missing DOCTYPE, trailing commas in JS, stray console.log calls in old IE, cross-domain AJAX/CORS differences and aggressive caching.
Small fixes that frequently resolve IE display issues: include a modern DOCTYPE, force latest rendering with
<meta http-equiv="X-UA-Compatible" content="IE=edge"> remove BOMs that break headers, and test by temporarily disabling CSS/JS to see the raw markup.
If a minimal phpinfo() works but your app fails only in IE, focus on CSS/JS and compatibility shims. If even phpinfo() fails, check your web server/PHP installation and error logs. Following these steps narrows down cause quickly and points to the appropriate fix.
Jump to Post— pritaeas 2,276Can you explain better what you mean by "Cannot run in IE" ? It makes no sense, PHP runs on the server, and only the output is displayed in the browser.
Can you explain better what you mean by "Cannot run in IE" ? It makes no sense, PHP runs on the server, and only the output is displayed in the browser.
If you are trying to run a php script locally on your pc, in Internet ecplorer, you can't.
PHP Hypertext Preprocessor (php) commands are processed on the server and output as html to the browser
You can install a local php server, WAMP LAMP DevPHP et al, on your pc and use that to develop PHP, or upload the files to a web server for testing
It is NOT true that you need to change the setting at internet option or else
JS and CSS can mess up your display in IE (or I should say, IE can mess up your JS and CSS :) )
PHP will not be messed up. However, ajax calls to PHP (javascript) may be messed up and make it appear that PHP is not working.
22 posts | 12 thread starters - not a good stat. Perhaps perusing some search engines, books, tutorials and manuals would be useful?
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.