Home >Backend Development >PHP Tutorial >php + omni is simple and easy_PHP tutorial
It is too troublesome to configure apache under windows or windows2000 and winnt. Use OmniHTTPd. This makes you feel that PHP is so approachable.
The latest version of OmniHTTPd is now
OmniHTTPd Professional V2.07
omni can be downloaded at http://www.joyo.com
Connect: http://www.joyo.com/soft/dlgetfile .asp?
uid=uxwmupzptqabmaqmqzgmusgqw&id=2617&url=http://www.omnicron.ab.ca/files/ohttpd207.exe
After downloading, install OmniHTTPd Professional V2.07
Run OmniHTTPd
(1 ) Run OmniHTTPd Administration
(2) Click the Web Server Global Setting button
(3) Select MIME
(4) Add wwwserver/stdcgi to virtual
Add .php to actual
Click add
Add wwwserver/stdcgi to virtual
Add .php3 to actual
Click add
Add wwwserver/stdcgi to virtual
Add .php4 to actual
Click add
Add wwwserver/stdcgi in virtual
Add .phps in actual
Click add
(5) Run OmniHTTPd Administration Select localhost and click edit
(6 ) Select alias to join myweb | c:myweb
Done! ! !
It is best to install php and configure it before installation
php configuration:
The latest version is 4.05
(1)copy php4ts.dll to system32
(2)copy php.ini .disk to the windows or winNT directory and rename it php.ini
! Finish!
You can try to see if it is successful
Create the file test.php
The content is Use edphp or IE to browse it and you will be surprised
The following modifications can be made as needed :
Change extension_dir = ./ to extension_dir = d:/php4/extensions/
Change
;extension=php_dbase.dll
;extension=php_filepro.dll
;extension=php_gd. dll
; extension=php_zlib.dll
before; good to remove
php+omniHTTPd completed