Jump to content

Archived

This topic is now archived and is closed to further replies.

jimneely

Zip dll

Recommended Posts

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.

Share this post


Link to post
Share on other sites

Is C:\php\ext the right location? Have you restarted your web server since enabling the extension? Checked error logs?

Share this post


Link to post
Share on other sites

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 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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...

Share this post


Link to post
Share on other sites

OMG

I was changing the wrong php ini file. I was changing the php.ini and not the php.

 

 

Thanks Mac_gyver !!!!!!!!!!

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.