|
Comments for: darrell20000319
| Message # 1510099: |
|
Date: 07/03/07 16:48
By: Mistoffeles Profile Subject: RE: how to configure php First, uninstall the "3-in-1 package" setup. Next, go and get the latest versions of Apache, PHP and MySQL for Win32 from their respective websites, and use the provided instructions to set them up properly. This way, you will have the latest version and you will learn how the 3 packages are properly set up. This involves editing some configuration files like httpd.conf and php.ini. You have to know where to put the files you create, which usually is "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs" on Windows machines, unless you specifically set it up differently. "C:\htdocs" is recommended. Notepad sucks, use a proper editor such as Notepad++ that has line numbering and syntax highlighting. PHP files should end with .php, or .html if you are going at it that way. Also, you cannot run PHP files in a web browser, because PHP is not a client language, it is a server language. It has to run through the Apache server, which calls PHP.EXE to process the PHP code and produce an HTML file (or XHTML) for the browser to interpret. This means you have to access the files through http://localhost/ or http://127.0.0.1/ |
Previous Message | Next Message |


