| | |||||
| ||||||||
| Webmaster Tutorials Instructional webmaster-related how-to's and tutorials. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Member Join Date: Aug 2005 Location: Oxford, England
Posts: 81
![]() | Tutorial - Install Apache, PHP, Mysql, PhpMyAdmin in 5 mins! Download the following: http://prdownloads.sourceforge.net/q...p.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%"> ????: NamePros.com http://www.namepros.com/webmaster-tutorials/120136-tutorial-install-apache-php-mysql-phpmyadmin.html 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 Code: ;error_reporting = E_ALL & ~E_NOTICE Code: error_reporting = E_ALL & ~E_NOTICE Code: error_reporting = E_ALL ????: NamePros.com http://www.namepros.com/showthread.php?t=120136 Code: ;error_reporting = E_ALL 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. |
| |
| | #2 (permalink) |
| Senior Member Join Date: Aug 2005 Location: Belfast
Posts: 1,217
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | http://localhost just brings up the index of were I installed it. Also how can people view it, by my ip address? |
| |
| | #3 (permalink) | ||||
| A Wealth of Knowledge Join Date: Aug 2004
Posts: 3,803
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | I have used XAMPP on every computer that I own and have found it is the best solution. It includes a GUI control panel so (most) interactions with configuration can be done through the GUI. To go to the XAMPP website, click here. ![]()
Let me know if you have any more questions if there is something else that you should need me assistance with. ????: NamePros.com http://www.namepros.com/showthread.php?t=120136 -Steve | ||||
| |
| | THREAD STARTER #4 (permalink) | ||||
| NamePros Member Join Date: Aug 2005 Location: Oxford, England
Posts: 81
![]() |
| ||||
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Tutorial: Getting started with PHP (The Basics) | deadserious | Webmaster Tutorials | 60 | 11-17-2007 11:35 AM |
| HOWTO: Install the Apache Web Server, Perl, PHP, and MySQL on Windows | deadserious | Webmaster Tutorials | 96 | 05-27-2007 01:24 PM |
| Googlism - What does google think of you? | deadserious | The Break Room | 55 | 12-15-2005 09:09 AM |
| Tutorial: How to Install Apache2 MySQL and PHP on Windows | deadserious | Webmaster Tutorials | 35 | 09-21-2005 09:46 PM |
| Tutorial: Getting Started With MySQL (The Basics) | deadserious | Webmaster Tutorials | 3 | 04-18-2004 01:17 PM |