Windows 98, Apache 1.3.19, PHP 4.0.4 (was trying 4.3 but reverted until
problem solved), AMD CPU

I've been trying to install PHP on my computer for days but get a problem
with Apache:

"Syntax error on line 203 of c:/apache/conf/http.conf: Cannot load
c:/php/sapi/php4apache.dll into server: (1157)  One of the library files
needed to run this application can not be found"

I've tried moving the various DLL's etc around various directories but
always get the same error message.

My current install went as follows:
1) Uninstalled Apache, deleted directories for Apache and PHP, rebooted and
reinstalled Apache 1.3.19.   Worked fine so Stopped Apache.
2) Checked my autoexec.bat included c:\WIN98;c:\WIN98\SYSTEM32  (WIN98 is my
%WINDOWS% folder)
3) Extracted PHP 4.0.4 to c:\php
4) Renamed php.ini-dist to php.ini and opened in HomeSite making these
changes:
    a) doc_root = c:\Apache\htdocs
    b) extension_dir = c:\php\extensions\      [was .\]
5) Moved new php.ini to c:\WIN98\
6) Moved php4ts.dll & php4ts.lib to c:\WIN98\SYSTEM32\
7)Opened c:\Apache\conf\httpd.conf in Homesite making these changes:
    a) LoadModule php4-module c:/php/sapi/php4apache.dll  (to line 203
[tried with \'s but no change])
    b) AddType application/x-httpd-php .php  (line 769)
8) Checked php4apache.dll was were I said it was. Checked php4ts.dll and
php4ts.lib were in SYSTEM32
9) Saved open files and exited Homesite, then re-started Apache and lo the
same freaking error msg

This is driving me nuts... please help.
Many thanks.

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to