API Extension error and ISAPI setup
| From: | Briggsy | Date: | Tue, 23 Jul 2002 13:42:24 +0000 |
| Subject: | API Extension error and ISAPI setup | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-2278@lists.php.net to get a copy of this message | ||
Hi,
My PHP install does work as an exe but not as an API, not sure if this is a
PHP, OS or Webserver issue but hopefully someone will recognise it and steer
me in the right direction.
The error I get when accessing a script from a web browser is LoadLibrary
failed for API extension D:\PHP\php4isapi.dll, code=126
Here is more info if required:
I recently did an auto install of PHP4 on a Windows XP system using Website
3.1, using the instructions on
http://cvs.php.net/co.php/php4/win32/install.txt
under Oreilly Website Pro.
These were the same instructions that were given to me by people on the
Website 3.1 forum (Deerfield)
When I went to run a PHP script I got the following error: LoadLibrary
failed for API extension D:\PHP\php4isapi.dll, code=126
The webroot is D:\\wwwroot and the script is d:\\wwwroot\aru\phorum\info.php
so its not under a CGI directory.
The php.exe and the php4isapi.dll are both in d:\php and it is set up as
such in the INI file in the windows directory. The files have permissions
(XP doesn't have permissions like NT or 2000) and the files are there. So
the info under
http://www.php.net/manual/en/faq.installation.php#faq.installation.500error
didn't help.
I can run my info() script from DOS, so that would indicate the PHP is setup
correctly, but according to the Website forum and the install instructions,
the server is setup correctly as well. Its obvious that something isn't
setup correctly
I removed the auto install and did the manual install and used the
recommended INI (not the distribution) and I ensured I changed the paths
etc. There are no extensions added at this stage and I still have the same
issue.
Does anyone have any suggestions as I can't work on development of the site
until I get PHP working.
Cheers guys