plutomed Posted June 23, 2008 Share Posted June 23, 2008 $zip = zip_open("test.zip"); When I use this, how come I get the error: Fatal error: Call to undefined function: zip_open() in /<path>/zip.php on line 2 ??? Link to comment https://forums.phpfreaks.com/topic/111524-zip_open/ Share on other sites More sharing options...
Jabop Posted June 23, 2008 Share Posted June 23, 2008 Because zip_open() is not a function that you have. Link to comment https://forums.phpfreaks.com/topic/111524-zip_open/#findComment-572444 Share on other sites More sharing options...
plutomed Posted June 23, 2008 Author Share Posted June 23, 2008 According to the php website for this function you need either: PHP 4 >= 4.0.7, PHP 5 >= 5.2.0, PECL zip:1.0-1.9.0 And I have: PHP version 4.4.7 Link to comment https://forums.phpfreaks.com/topic/111524-zip_open/#findComment-572454 Share on other sites More sharing options...
Jabop Posted June 23, 2008 Share Posted June 23, 2008 Do you have the extension loaded? Link to comment https://forums.phpfreaks.com/topic/111524-zip_open/#findComment-572458 Share on other sites More sharing options...
plutomed Posted June 23, 2008 Author Share Posted June 23, 2008 How do I know if the extension is loaded? Link to comment https://forums.phpfreaks.com/topic/111524-zip_open/#findComment-572473 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.