PHP5installing and configuring
It – Hardware & Software | Ashley Hofford | 0 views2. The installation of PHP5 it sets
2.1 The download of PHP5
From the download of PHP
PHP n/a zip package
It clicks, downloads php n/a Win32.zip.
This the ISAPI edition which can use extended module is.
Note) for upgrading when the version which is identical with description above is not found, please download those of close version.
2.2 Copy of thawing and PHP folder
When the picture is clicked, it can expand can indicate
After the downloading, when it thaws, because the folder of the above-mentioned contents is drawn up, it copies in C drive & note 1 folder name as php.
* Note 1 current drive (the drive which is the system of OS which presently has been started) is example in case of C drive.
When drive other than C driving current drives, please appoint there.
2.3 The copy of php5ts.dll
In case of Windows 2000 php5ts.dll is copied inside C:WINNT.
In case of Windows 98/Me and Windows XP/Windows Server 2003 it is C:WINDOWS.
2.4 php.ini-distcopy of the
Windows 2000case of php.ini-dist copy the, php.ini to rename and C:WINNT the copy in the.
Windows 98/MeandWindows XP/Windows Server 2003case of C:WINDOWS is.
2.5 php.inicorrection of
in a text editor php.ini corrected as follows: the contents of the, save.
hierarchy of folders instead of / note that the specified!
*note when the correction is double-byte characters, please be careful not to fall in the wrong space characters such as em.
n/a include_pathspecified
PEAR(PHPstandard class library) if you do not want to use isinclude_paththe specification of unnecessary (may continue to be the initial state) is.
PEARif you want to use isinclude_pathplease specify as shown below.
include_path = “.;c:/php/includes;c:/php/pear”
n/a doc_rootspecify the
doc_root = “C:/Program Files/Apache Group/Apache/htdocs”
you can click the image for a larger view.
2.5.3 extension_dirspecify the
extension_dir = “c:/php/ext”
*note PHP4in extensions wasPHP5from ext has been changed to.
you can click the image for a larger view.
2.5.4 to useDLLspecify the
php_mysql.dll –> MySQLofDLL
php_pgsql.dll –> PostgreSQLofDLL
that you are using, such asDLLcomments (; semicolon) to enable it remove the.
*note PHP4inMySQLspecified, but did not requirePHP5you must specify from.
2.6 DLLcopy of the
MySQLif you use a libmysql.dll the
Windows 2000case of C:WINNTsystem32 the copy in the.
Windows 98/Mecase of C:Windowssystem the copy in the.
Windows XP/Windows Server 2003case of C:Windowssystem32 the copy in the.
2.7 httpd.confcorrection of
C:Program FilesApache GroupApacheconf
in httpd.conf below2.7.1from2.7.3modified as, save.
*note when the correction is double-byte characters, please be careful not to fall in the wrong space characters such as em.
n/a LoadModulespecified
below1line
LoadModule php5_module c:/php/php5apache.dll
add the.
you can click the image for a larger view
n/a AddModulespecified
below1line
AddModule mod_php5.c
add the.
you can click the image for a larger view
n/a AddTypespecified
below2line
AddType application/x-httpd-php.php
AddType application/x-httpd-php-source.phps
add the.
you can click the image for a larger view
2.8 Apacherestart of
start menu of program of
Apache of Apache HTTPD Server of
Control Apache Server of Restart byApachethen reboot.
2.9 phpinfocreate a program that displays the
in a text editor
<? phpinfo() ?> |
and1create a text file written line only,
C:Program FilesApache GroupApachehtdocs in
test.php save the file with a name and.
*note double-byte characters when editing, please be careful not to fall in the wrong space characters such as em.
in a text editorphpinfoscreen while editing a program that displays a
2.10 PHPverifying operation of the
you can click the image for a larger view
in the address field of your browser
http://localhost/test.php
if the output screen similar to the above-mentioned typeApacheandPHPyou have successfully booted your.
http:// n/a /test.php
is the same if you type.
scroll to the bottom followed by, MySQL, ODBC, PostgreSQLmake sure that is enabled, such as.
if it is not enabled
2.5.4 to useDLLspecify the in php.ini ofDLLthe specification of
please try to ascertain.
you can click the image for a larger view
and are displayed as shown aboveMySQLis enabled.
you can click the image for a larger view
and are displayed as shown aboveODBCis enabled.
you can click the image for a larger view
and are displayed as shown abovePostgreSQLis enabled.
Additional items from "It – Hardware & Software"
- Lenovo ThinkPad X60
- BOSE SoundDock review! take advantage of more! iPod mini
- pcDtrying to take advantage of the drive
- 10less than ten thousand yen good find the! KDL-16M1
- to reduce the size of the image material3one+αmethod of let’s reduce the image
- 2the title of the line1line fit to2ways
- world firstSideShowequipped withASUS W5Fe
- with easy installation, good sound easy to enjoy YHT-S401
- Office Spesialist Word, ExcelofExpertfull marks! her senior2reason for the perfect score for both subjects
- elaborating on the chart will! printer for the first time