We also need to make a version of php.ini available. To do this, first add you php directory to your Windows PATH (Where is this windows path anyway?) Next, in the PHP installation directory, copy the php.ini - recommended file to php.ini (Did he mean that I should copy and paste that file into the same folder and just rename it to php.ini?). 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
<?php
phpinfo();
?>
How do I create a php file? Should I use notepad to create one? Thanks.
php installation help!
Moderator: General Moderators
- aaronhall
- DevNet Resident
- Posts: 1040
- Joined: Tue Aug 13, 2002 5:10 pm
- Location: Back in Phoenix, missing the microbrews
- Contact:
From php.net's FAQ, http://www.php.net/manual/en/faq.instal ... .addtopath
The 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.
The 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.
I recomend PHP Designer here a feature list http://www.mpsoftware.dk/phpdesigner.php. Or you can use PSPad Editor
from ww.pspad.com.
But the best for learning are Vim for linux or Notepad for Win.
from ww.pspad.com.
But the best for learning are Vim for linux or Notepad for Win.