Reply LinkBack Thread Tools Search this Thread
Old 06-01-2008, 01:32   #1 (permalink)
Digital
Banned
 
Digital's Avatar
 
Join Date: Jan 2008
Posts: 66
Having trouble installing extensions... (PHP)

I would like to know if anyone here is familiar with servers, I am trying to install some extensions but have some trouble doing it for now. The extensions need to be installed on a server that is running IIS 6, with PHP 5 manual installation and mySQL. I was able to get most extensions to work but having trouble with "mbstring" and "mcrypt". I tried to enable them in php.ini file but that didn't do it, perhaps some files need to be set as well?

Anyway if someone knows how to do this please let me know.
  Reply With Quote
Old 06-01-2008, 09:46   #2 (permalink)
Chris_Crew
me
 
Join Date: Nov 2007
Location: Runcorn
Posts: 47
Send a message via MSN to Chris_Crew
silly question maybe but after you ediited the php.ini have you restarted your server?
  Reply With Quote
Old 06-01-2008, 12:40   #3 (permalink)
proc355
Senior Member
 
proc355's Avatar
 
Join Date: Sep 2006
Location: Glasvegas
Posts: 866
caveats: i havent worked with php for a while, and with php on windows even
longer

you'll need the dlls - some stuff isnt bundled with php (mcrypt sounds familiar :P )

they'll need to be in the system Path - set in your environment variables

also, they may need to be in your system32 dir or equivalent - i remember issues with some extensions not working even if the extension directory was in the path, they had to be in system32

reboot!
__________________
meh.
  Reply With Quote
Old 06-01-2008, 19:54   #4 (permalink)
Digital
Banned
 
Digital's Avatar
 
Join Date: Jan 2008
Posts: 66
Chris_Crew:
Yes, I have made several changes and each time I restarted the server.

proc355:
I think the .dll file were there with all the others, however I did read some text on the php.net website and seems like there might be need for some other files, I downloaded but I wasn't sure if they were needed or what they are, some of the instructions on php.net are rather confusing...
I think I also tried to place the .dll in system32 directory and that didn't work, though I tried it several weeks ago and tried it along with several other things so don't remember for sure but I will try it again.

Also on php.net list of extensions it said that this extension does not need any extra files to be copied over, but in the actuall description of the extension it looked like it does, anyway its a bit confusing so does anybody here know for sure? Anyone here done this successfully?
  Reply With Quote
Old 07-01-2008, 03:38   #5 (permalink)
proc355
Senior Member
 
proc355's Avatar
 
Join Date: Sep 2006
Location: Glasvegas
Posts: 866
there's a comment in the manual re cgi for iis
Quote:
I've spent the majority of the day attempting to get mcrypt to work under IIS6 with Windows Server 2003 (Web Edition) and PHP 5.0.4

There seems to be some incompatability with enabling certain extensions (mcrypt being one) when you are running PHP as ISAPI in this environment.

The way to solve the problem (the error will be that it cannot load php_mcrypt.dll - access is denied) is to run in CGI. While this isn't supposed to be as good performance wise, if you need the mcrypt support (or Oracle support, too, I believe) then this is the only way I've found to do it.

any help?
__________________
meh.
  Reply With Quote
Old 07-01-2008, 12:34   #6 (permalink)
Digital
Banned
 
Digital's Avatar
 
Join Date: Jan 2008
Posts: 66
To be honest I am not too knowledgeable in this area, however I think there must be a solution out there to run this extension on setup of PHP in ISAPI environment. I will try to read more about this but for now I don't think that I would want to switch to run it on CGI...

Well thank you all for trying to help, if anyone has any other information please let me know.
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8