Page 13 - Open Soource Technologies 304.indd
P. 13

Unit 1: Introduction to PHP



                                                                                                  Notes
                                    Figure 1.3: PHP Welcome Screen




                                         Welcometo the PHP 5.2.0 Setup Wizard



                                         The Setup Wizard will install PHP 5.2.0 on your computer.
                                         Click Next to continue or Cancel to exit the Setup Wizard.




















            1.3.3 Installing with PHP Windows Installer
            When you have PHP installed, you need to make sure that your include_path PHP setting is
            sensible. Some versions of the Windows PHP Installer use c:\php4\pear in the default include
            path, but this directory (c:\php4) is different from the one created by the PHP Windows Installer.
            So, edit your php.ini file (in c:\winnt or c:\windows, depending on your Windows version) and
            change this directory to c:\php\pear (see Figure 1.4).

                                 Figure 1.4: Example php.ini Modifications


























            1.3.4 Go-Pear.Org

            Go-pear.org is a website with a single PHP script that you can run to install the latest stable
            version of the PEAR Installer and the PHP Foundation Classes (PFC). Go-pear is cross-platform




                                             LOVELY PROFESSIONAL UNIVERSITY                                     7
   8   9   10   11   12   13   14   15   16   17   18