jblock35 Posted June 14, 2009 Share Posted June 14, 2009 I have a virtual machine and i have some portable usb webserver running on it. and im trying to run a script but i dont know how to set everything up so the script works. The script requires this: Windows based Web Server * PHP 4.3.0 and above with socket support and safe_mode off * Mod_gzip disabled (optional but highly recommended) * Any form of output compression for PHP output is OFF can someone please tell me were i go to apply the settings it needs? Link to comment https://forums.phpfreaks.com/topic/162186-help-with-configuring-php/ Share on other sites More sharing options...
jxrd Posted June 14, 2009 Share Posted June 14, 2009 Install PHP? With the sockets extension enabled? Link to comment https://forums.phpfreaks.com/topic/162186-help-with-configuring-php/#findComment-855891 Share on other sites More sharing options...
jblock35 Posted June 14, 2009 Author Share Posted June 14, 2009 Install PHP? With the sockets extension enabled? PHP is installed and sockets extension is enabled. Im using a program called USB Web Server from here: http://www.usbwebserver.com/ But for some reason its still not working correct. Link to comment https://forums.phpfreaks.com/topic/162186-help-with-configuring-php/#findComment-855893 Share on other sites More sharing options...
jxrd Posted June 14, 2009 Share Posted June 14, 2009 Uhh...I don't speak german lol. I don't know how "usbweberver" works... How is it not working though? Link to comment https://forums.phpfreaks.com/topic/162186-help-with-configuring-php/#findComment-855896 Share on other sites More sharing options...
jblock35 Posted June 15, 2009 Author Share Posted June 15, 2009 Uhh...I don't speak german lol. I don't know how "usbweberver" works... How is it not working though? It pulls errors up like these: Notice: Undefined index: username in C:\Documents and Settings\Administrator\Desktop\UsbWebserver\Root\admin.php on line 472 Notice: Undefined variable: hostnamefile in C:\Documents and Settings\Administrator\Desktop\UsbWebserver\Root\admin.php on line 851 Notice: Undefined variable: referer in C:\Documents and Settings\Administrator\Desktop\UsbWebserver\Root\admin.php on line 865 Notice: Undefined variable: h2FontSize in C:\Documents and Settings\Administrator\Desktop\UsbWebserver\Root\admin.php on line 368 Link to comment https://forums.phpfreaks.com/topic/162186-help-with-configuring-php/#findComment-855900 Share on other sites More sharing options...
jblock35 Posted June 15, 2009 Author Share Posted June 15, 2009 You think i should install a OS with a built in control panel for websites or something like LxAdmin? Link to comment https://forums.phpfreaks.com/topic/162186-help-with-configuring-php/#findComment-855903 Share on other sites More sharing options...
trq Posted June 15, 2009 Share Posted June 15, 2009 Those Notices are due to poor coding, php is working fine. I suggest you fix the code on the lines specified. Link to comment https://forums.phpfreaks.com/topic/162186-help-with-configuring-php/#findComment-856067 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.