Click to See Complete Forum and Search --> : Anybody know what this error means' and how to fix it?


gokou
04-09-2003, 04:01 PM
syntax error on line 1022 of c:/program files/apache group/apache/conf/httpd.conf:
Cannot load c:/php/sapi/php4apache.dll into server: (1157) One of the library files
needed to run this application cannot be found:

When I installed php, I never got a sapi folder or php4apache.dll file. I'm confused.

Anyone know what's wrong?

Jona
04-09-2003, 05:13 PM
Search for that file. If you find it, put it in c:/php/sapi/. If it does not exist, look for it on the CD or whatever source you got it from. It has to be able to find the file.

gokou
04-09-2003, 06:42 PM
I can't find the files'. I get an alert command when I install php.

here is it:

Sorry, the software to automatically configure the Apache httpd.conf file has not yet been written. You will have to configure Apache manually. See the install.txt file for more details'.

I don't know how to set it up manually.

Jona
04-09-2003, 06:55 PM
Try installing Apache, then PHP. The http.conf file is the configuration settings of the Apache Web server. That has to exist for PHP (or Perl) to work correctly...

Personally I think you should just purchase RedHat Linux and use that for your Webserver (install it on an older computer or something). Then you can run your scripts off of that because RedHat comes with Perl (and I think PHP) and Apache installed.

gokou
04-10-2003, 09:13 PM
I tryed all that except for buying redhat, that's not an option for now. I think it's just me that it won't work for. When I try downloading these things', the computer must detect it's me downloading them and decides to mess it all up so I can't get it to work. Same as the apache book I bought. I'm reading it and it's describing files/folders(like distribution) that didn't come with the download and I get all confused.

Klyve1
04-12-2003, 09:59 AM
I'm pretty sure that there's a problem with this module - I remember having to download an overnight compilation and taking the latest one out to use in my install.

Take a look at apache.org & php.net, they may have documentation to help.