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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache and PHP need help!!

Status
Not open for further replies.

tombee79

Programmer
Jul 18, 2001
5
CA
I have comlity enought of the problem.!
I am trying to fix it for passed 2 weeks and nothing. First i try to do manual(didn't fix it) then i install the foxserver still the same, so I FORMAT my pc STILL nothing!. I don't know what's wrong with it. I have done it at school and everything was working OK.

This is what i am getting when i try to run Apache server. Check it out and let me know , please


Syntax error on line 770 of c:/foxserv/apach/conf/httpd.conf:
Cannot load c:/foxserv/php/api/hp4apache.dll in server: (1157) One of the library file
needed to run this application cannot be found:

Not the errors or messages above, and press the key
to exit

I had check these file the files are like you can see above but from some reasons is not finding them..
 
That file is in a directory called "sapi" on my machine (not "api").

Could that cause the error? What other files are in that directory?

Try renaming the directory to sapi and change the appropriate link in the httpd.conf of Apache.
 
# And for PHP 4.x, use:

#



#LoadModule php4_module d:/php/sapi/php4apache.dll



AddType application/x-httpd-php .php

AddType application/x-httpd-php-source .phps

# Action application/x-httpd-php /php/php.exe







AddType application/x-tar .tgz



#
 
# And for PHP 4.x, use:

#



LoadModule php4_module d:/php/sapi/php4apache.dll



AddType application/x-httpd-php .php

AddType application/x-httpd-php-source .phps

# Action application/x-httpd-php /php/php.exe







AddType application/x-tar .tgz



#
 
When you received error message:
php4apache.dll error loading, one of library files needed (something like that... :)
What you have to do:
1. Install newest DCOM95 or DCOM98 from Microsoft
2. One really important file must reside in Windows\System directory is MSVCIRT.DLL
I hope this help....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top