edah527 Posted January 6, 2008 Share Posted January 6, 2008 i got a CD from a book that teaches php... the cd includes the .zip for php 5.1.4 and apache 2.0.... I followed <b><u>every instuction and reconfiguration</u></b> (reconfig. for apache) and i tested it by putting these lines in notepad and saving as phpinfo.php: <?php phpinfo(); ?> and ive done this over and over at least 3 times and it still does not work!!!!! HELP PLZ!!! Quote Link to comment https://forums.phpfreaks.com/topic/84694-i-did-everything-right-but-it-still-wont-work-php-apache/ Share on other sites More sharing options...
kenrbnsn Posted January 6, 2008 Share Posted January 6, 2008 How does it "not work". How did you invoke the script? BTW, it's much easier to download and install one of the preconfigured packages like xampp than to do it yourself. Ken Quote Link to comment https://forums.phpfreaks.com/topic/84694-i-did-everything-right-but-it-still-wont-work-php-apache/#findComment-431636 Share on other sites More sharing options...
edah527 Posted January 6, 2008 Author Share Posted January 6, 2008 i open apache with the phpinfo.php file...(http://localhost/phpinfo.php) and it askes me to DOWNLOAD the file???!!!! [move]please HELP!!!!![/move] PS the book said to use apache. it didnt say anything about anything else Quote Link to comment https://forums.phpfreaks.com/topic/84694-i-did-everything-right-but-it-still-wont-work-php-apache/#findComment-431638 Share on other sites More sharing options...
kenrbnsn Posted January 6, 2008 Share Posted January 6, 2008 The xampp packages is a preconfigured Apache, PHP, MySQL. Just download it and install it and follow it's instructions... Ken Quote Link to comment https://forums.phpfreaks.com/topic/84694-i-did-everything-right-but-it-still-wont-work-php-apache/#findComment-431656 Share on other sites More sharing options...
vishal99 Posted January 7, 2008 Share Posted January 7, 2008 Hello, Although many popular and free pre configured package are also available for testing and runing apache and php on desktop machine as like already described to you.Xampp is another one. Anyway, If you get error to run php file.First make sure that you have successfully installed php or not. Also make sure, that restarts apache after installing php. Thanks, Vishal vishalgaurav01@gmail.com http://vishal.benetonfilms.com Quote Link to comment https://forums.phpfreaks.com/topic/84694-i-did-everything-right-but-it-still-wont-work-php-apache/#findComment-433109 Share on other sites More sharing options...
edah527 Posted January 10, 2008 Author Share Posted January 10, 2008 When i got to xampp website, do i use installer, zip, or 7-zip? Quote Link to comment https://forums.phpfreaks.com/topic/84694-i-did-everything-right-but-it-still-wont-work-php-apache/#findComment-436044 Share on other sites More sharing options...
kenrbnsn Posted January 11, 2008 Share Posted January 11, 2008 Use the installer. Quote Link to comment https://forums.phpfreaks.com/topic/84694-i-did-everything-right-but-it-still-wont-work-php-apache/#findComment-436239 Share on other sites More sharing options...
edah527 Posted January 12, 2008 Author Share Posted January 12, 2008 Use the installer. by kenrbnsn then what do i do? would it be automatically setup after i install, or do i still have something else to do? v v If so, then what? Quote Link to comment https://forums.phpfreaks.com/topic/84694-i-did-everything-right-but-it-still-wont-work-php-apache/#findComment-437409 Share on other sites More sharing options...
wildteen88 Posted January 12, 2008 Share Posted January 12, 2008 Once xampp is installed you're set. Go to C:/xampp/htdocs (I think thats the path) and add your php files to that folder. Open your browser and go to http://localhost/ to run them. For more information please go to XAMPPs site for instructions. Quote Link to comment https://forums.phpfreaks.com/topic/84694-i-did-everything-right-but-it-still-wont-work-php-apache/#findComment-437479 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.