Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

install PHP as apache-1.3.19 module on windows 2000

Status
Not open for further replies.

zallen

Programmer
Aug 10, 2000
227
CN
Hi,friends
The PHP module cannot be loaded when using apache-1.3.19 instead of apache-1.3.14 on windows 2000.Here is my apache ration file:

[httpd.conf]
.....
LoadModule php4_module modules/php4apache.dll
.....
#
# And for PHP 4.x, use:
#
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
.....

[srm.conf]
Include conf/mod_php4.conf

[mod_php4.conf]
LoadModule php4_module modules/mod_php4.dll

php_admin_flag log_errors on
php_admin_value error_log logs/mod_php4.log

<FilesMatch &quot;.*\.(php4|php3|php)$&quot;>
ForceType application/x-httpd-php
</FilesMatch>

The mod_php4.dll and php4apache.dll are in modules directory.The php4ts.dll is in $(win)/system32 And php.ini is in $(win).
When i start the apache it always report the php4apache.dll cannot be loaded. But using apache-1.3.14 it works fine.

Any suggestion are greatly appreciated.

Regards! zallen@cmmail.com
Long live of freedom!
 
I would suggest visiting and download a program call FoxServ. It installs all that you want (mysql, apache 1.3.19 and PHP 4.02 as a module of apache).

It is quite convienent if you do not want to configure everything yourself.

Hope this helps,
-Vic vic cherubini
vikter@epicsoftware.com
====
Knows: Perl, HTML, JavScript, C/C++, PHP, Flash, Director
====
 
Thanks you very much!

The is good open source site.I will download and test it.

Hope get more your help!
zallen@cmmail.com
Long live of freedom!
 
It works now :). I only substitute the old php4apache.dll using the one from FoxServ.

That is great!


Regards! zallen@cmmail.com
Long live of freedom!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top