Page 1 of 1

php installation help!

Posted: Wed Oct 04, 2006 9:09 am
by joseph
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.

Posted: Wed Oct 04, 2006 9:20 am
by aaronhall
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.

Posted: Thu Oct 05, 2006 12:28 am
by joseph
hey... Thanks! :D What php editor do you recommend? is Zend studio the best one?

Posted: Thu Oct 05, 2006 5:56 am
by Rovas
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.

Posted: Thu Oct 05, 2006 5:57 am
by JayBird
Lets not start a "which editor is best thread".

Many can be found in this existing sticky.