joseph Posted October 4, 2006 Share Posted October 4, 2006 We also need to make a version of php.ini available. To do this, first add you php directory to your Windows PATH [color=red](Where is this windows path anyway?)[/color] Next, in the PHP installation directory, copy the php.ini - recommended file to php.ini [color=red](Did he mean that I should copy and paste that file into the same folder and just rename it to php.ini?)[/color]. After making these changes you must restart your apache server.Now we're ready to check that PHP is working. In the htdocs directory in your Apache installation, create a file called phpinfo.php containing the following lines<?phpphpinfo();?>[color=red]How do I create a php file? Should I use notepad to create one?[/color] Thanks. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted October 4, 2006 Share Posted October 4, 2006 Umm.. little confused. Could you provide a link where you got this from.Prehaps read this [url=http://www.phpfreaks.com/forums/index.php/topic,110211.msg445108.html#msg445108]thread[/url]Explains how to add the php folder to the windows Path. To rename the php.ini-recommended file to php.ini just right click and select rename from the menu. Delete -recommended from the end.To create a php file, just open up notepad and select File > Save As.. the following exactly into the File Name box (including the quotes):[b]"your_file_name_here.php"[/b] Quote Link to comment Share on other sites More sharing options...
joseph Posted October 5, 2006 Author Share Posted October 5, 2006 I got it now: ;DFrom php.net's FAQ, http://www.php.net/manual/en/faq.installation.php#faq.installation.addtopathThe php.ini - recommended file is like a quick-start configuration -- just overwrite the original php.ini file with this one.You can use any text editor to create a php file. Just make sure it has a .php file extension, and that it is in Apache's public_html directory. Quote Link to comment 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.