acidglitter Posted June 19, 2006 Share Posted June 19, 2006 You know how you can view pages on your computer in your internet browser? HTML pages look fine but PHP codes don't work. Is there a program/browser that could make the php codes work even though the page isn't online? Quote Link to comment https://forums.phpfreaks.com/topic/12420-offline/ Share on other sites More sharing options...
trq Posted June 19, 2006 Share Posted June 19, 2006 You need to setup a webserver with php enabled on your local pc. [a href=\"http://httpd.apache.org\" target=\"_blank\"]apache[/a] is a great choice. Quote Link to comment https://forums.phpfreaks.com/topic/12420-offline/#findComment-47483 Share on other sites More sharing options...
wildteen88 Posted June 20, 2006 Share Posted June 20, 2006 Yes you need a webserver envrioment to be setup in order for your php scripts to work. PHP is server-side and is parsed by the server. Whereas HTML is client-side and is parsed by the web browser. Thats why you can run HTML scripts on your PC but not PHP scripts!All you need is a webserver which thorpe has suggested and copy of PHP! [a href=\"http://www.php.net/manual/en/install.windows.apache2.php\" target=\"_blank\"]Windows installation instructions[/a]Additonally you can install a pre-packaged version of Apache, PHP and MySQL + a few other little bits and pieces by installing WAMP5 Quote Link to comment https://forums.phpfreaks.com/topic/12420-offline/#findComment-47595 Share on other sites More sharing options...
cwncool Posted June 20, 2006 Share Posted June 20, 2006 try this prepackaged version....[a href=\"http://www.easyphp.org/\" target=\"_blank\"]http://www.easyphp.org/[/a]that works great for me. all you do is download the installer and it does all the work! :) Quote Link to comment https://forums.phpfreaks.com/topic/12420-offline/#findComment-47676 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.