Tags: mfaraz/phpdesktop
Tags
Update to Chrome/72.0.3626.81 and CEF 3.3626.1881.g628f810 (cztomczak… …#221)
Embed Mongoose server and PHP CGI (cztomczak#221) PHP Desktop for Linux now displays index.php with phpinfo().
47.5 RC. Issue cztomczak#165. Option for Mongoose web server to liste… …n on all IP addresses available. In settings.json set: "listen_on": ["*", 54007] - this will make web server to listen on 127.0.0.1 and on 192.168.0.x and also on a public internet ip address. During testing I only confirmed that it listened on local ip addresses (127.xxx and 192.xxx), I couldn't make it work for the internet ip address - not sure if this is an issue in Mongoose web server, or or my router's port forwarding wasn't configured properly. Note also that when listen_on is set to "*" then the SERVER_NAME environment variable will still be set to 127.0.0.1 - this may cause issues in PHP scripts that depend on that env variable. To fix it add this code at the top of all your PHP scripts: <?php $_SERVER["SERVER_NAME"] = $_SERVER["HTTP_HOST"]; ?> This will set SERVER_NAME to an ip address that the web server is being accessed from. For example when accessing from 127.0.0.1 it will be set to that. When accessing from 192.168.0.2 then it will be 192.xxx in that case.
Another fix for Win XP crash introduced in 47.3 RC (Issue cztomczak#180… …).
Chrome 47.3 RC. Issue cztomczak#178. Tray icon loaded image resource for each of Windows Message and these objects were never freed. This caused GDI objects peak at 10001 and FATAL in Chrome to inform about this resource leak. Call NotifyMoveOrResizeStarted() when moving/resizing window. This is required to notify <select> or other controls. Fixed WM_ERASEBKGND - should return 0. Added WM_PAINT with BeginPaint and EndPaint - because it exists in cefclient. Not sure why these calls are there, there is no actual painting being done. But let's mimic cefclient behavior just to be safe.
Chrome 47.2 RC. Fixed mouse cursor indicator during loading of a web page (Issue cztomczak#148).