jimneely Posted April 5, 2014 Share Posted April 5, 2014 I can not get the php_zip.dll set. here is what I have in my ini extension=php_zip.dll extension_dir = "C:\php\ext" This should work but it does not. I am trying to get PHPExcel to run. Quote Link to comment https://forums.phpfreaks.com/topic/287535-zip-dll/ Share on other sites More sharing options...
requinix Posted April 5, 2014 Share Posted April 5, 2014 Is C:\php\ext the right location? Have you restarted your web server since enabling the extension? Checked error logs? Quote Link to comment https://forums.phpfreaks.com/topic/287535-zip-dll/#findComment-1475028 Share on other sites More sharing options...
Ch0cu3r Posted April 5, 2014 Share Posted April 5, 2014 Are your sure php_zip.dll came with your PHP installation? Check that this file exists in your PHP extension folder (C:/php/ext). If you cant find that file then you can download this extensions from here. Download the version that matches your PHP version Quote Link to comment https://forums.phpfreaks.com/topic/287535-zip-dll/#findComment-1475048 Share on other sites More sharing options...
jimneely Posted April 9, 2014 Author Share Posted April 9, 2014 The php_zip.dll is in c:\php\ext. I have tried moving it to c:\php with no luck. I have put quotes around it and removed with no change. this is so simple what am I missing Quote Link to comment https://forums.phpfreaks.com/topic/287535-zip-dll/#findComment-1475453 Share on other sites More sharing options...
Solution mac_gyver Posted April 9, 2014 Solution Share Posted April 9, 2014 a) are you sure you even need the php_zip extension? it's only required by PHPExcel in some cases. b) what sort of problem are you having with PHPExcel? it might not have anything to do with the zip extension. c) have you checked if the php.ini that you are changing is the one the php is using? the Loaded Configuration File output from a phpinfo() statement is the php.ini that php is using. d) is the zip extension currently being loaded? there wound be a section present for it in the output from a phpinfo() statement. e) have you checked your web server's error log for any relevant php_zip.dll errors, that was mentioned as something to do in the replies above in this thread? f) have you done or checked the other things mentioned in the replies above in this thread? g) we only see the information that you supply in your posts and when you don't include information about what is occurring and what you have checked and what symptoms or errors you are getting, we cannot help because we don't have any feedback from you that narrows down the problem. Quote Link to comment https://forums.phpfreaks.com/topic/287535-zip-dll/#findComment-1475455 Share on other sites More sharing options...
jimneely Posted April 9, 2014 Author Share Posted April 9, 2014 here I have the php_zip.dll in the c:\php\ext.... I tried moving to C:\php and no results... Apache 2.2 I have the directory set to c:\php\ext with the extension unsemicoloned.. actually I had to add the extension. the 227 error is present in the Apache error log it might be the wrong ini file,,, but I am changing php.ini in my C:\php, I think this is the correct file. What so confusing is this is a no brainer something so easy... Quote Link to comment https://forums.phpfreaks.com/topic/287535-zip-dll/#findComment-1475464 Share on other sites More sharing options...
jimneely Posted April 9, 2014 Author Share Posted April 9, 2014 OMGI was changing the wrong php ini file. I was changing the php.ini and not the php. Thanks Mac_gyver !!!!!!!!!! Quote Link to comment https://forums.phpfreaks.com/topic/287535-zip-dll/#findComment-1475465 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.