- Impact
- 2
Download the following:
http://prdownloads.sourceforge.net/quickeasyphp/easyphp1-8_setup.exe?download
Choose the mirror closest to you.
Install the program.
(Might want to install it to an easy to remember folder)
Go to INSTALL DIRECTORY/apache/conf/ and open httpd.conf in notepad.
Scroll down to:
Inbetween the double quotes, remove the current directory and put the directory where you want your php / mysql scripts to go. For example, if all your scripts are in C:\Programming, get that to C:\Programming.
Scroll down a bit further to:
Do exactly the same there, make sure it's the same folder as you set 'DocumentRoot' to.
Save the file and close it.
Below is optional, changes PHP settings to not display notices. It's generally a prefererance to do what is listed below.
Next open the /apache/ directory. Open php.ini in notepad.
Scroll down to:
Just below there there will be a few commented out lines, change:
to
Then scroll slightly further and change:
to
Save php.ini and close.
You're done! If easy php was started, right click on the task bar icon and restart it. If you havn't started easy php yet, go to your install directory and double click on "easyphp.exe" a dialogue box should appear, make sure next to both apache and mysql say: "started".
The default mysql information is set to:
Host: localhost
Username: root
To view your PHP scripts, type:
http://localhost/ into the address bar of your chosen browser.
To access PhpMyAdmin go to: http://localhost/mysql/
If you have any problems, feel free to post here.
http://prdownloads.sourceforge.net/quickeasyphp/easyphp1-8_setup.exe?download
Choose the mirror closest to you.
Install the program.
(Might want to install it to an easy to remember folder)
Go to INSTALL DIRECTORY/apache/conf/ and open httpd.conf in notepad.
Scroll down to:
Code:
DocumentRoot "%A DIRECTORY WILL BE HERE%"
Scroll down a bit further to:
Code:
<Directory "%A DIRECTORY WILL BE HERE%">
Do exactly the same there, make sure it's the same folder as you set 'DocumentRoot' to.
Save the file and close it.
Below is optional, changes PHP settings to not display notices. It's generally a prefererance to do what is listed below.
Next open the /apache/ directory. Open php.ini in notepad.
Scroll down to:
Code:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Error handling and logging ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; error_reporting is a bit-field. Or each number up to get desired error
; reporting level
; E_ALL - All errors and warnings
; E_ERROR - fatal run-time errors
; E_WARNING - run-time warnings (non-fatal errors)
; E_PARSE - compile-time parse errors
; E_NOTICE - run-time notices (these are warnings which often result
; from a bug in your code, but it's possible that it was
; intentional (e.g., using an uninitialized variable and
; relying on the fact it's automatically initialized to an
; empty string)
; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
; initial startup
; E_COMPILE_ERROR - fatal compile-time errors
; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
; E_USER_ERROR - user-generated error message
; E_USER_WARNING - user-generated warning message
; E_USER_NOTICE - user-generated notice message
Just below there there will be a few commented out lines, change:
Code:
;error_reporting = E_ALL & ~E_NOTICE
to
Code:
error_reporting = E_ALL & ~E_NOTICE
Then scroll slightly further and change:
Code:
error_reporting = E_ALL
to
Code:
;error_reporting = E_ALL
Save php.ini and close.
You're done! If easy php was started, right click on the task bar icon and restart it. If you havn't started easy php yet, go to your install directory and double click on "easyphp.exe" a dialogue box should appear, make sure next to both apache and mysql say: "started".
The default mysql information is set to:
Host: localhost
Username: root
To view your PHP scripts, type:
http://localhost/ into the address bar of your chosen browser.
To access PhpMyAdmin go to: http://localhost/mysql/
If you have any problems, feel free to post here.








