Hi,
Can some tell me how i can add php5 extenstions in linux. I'm trying to get zip_open to work.
I'm using debian 4.0. I'm a linux newbie by the way.
Thanks
--Mark
php extensions linux
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
The manual page states the installation instructions. Are you confused by them?
Best advice I can give you is to run phpinfo in a browser to view what the current configuration options are. Download a copy of the PHP source code and extract it. In a terminal you'll want to navigate to the directory containing the code and run the following:
./configure --with-all-your-options-typed-here
./make
su
<root password>
./make install
Be sure to backup your current php.ini file as it may be replaced. You'll probably run into some issues of some sort and you may have to reconfigure your httpd.conf file depending on what version of PHP you install.
./configure --with-all-your-options-typed-here
./make
su
<root password>
./make install
Be sure to backup your current php.ini file as it may be replaced. You'll probably run into some issues of some sort and you may have to reconfigure your httpd.conf file depending on what version of PHP you install.
According to
the php_zip module should be built-in.http://security.debian.org/debian-security/pool/updates/main/p/php5/php5_5.2.0-8+etch7.diff.gz wrote:+COMMON_CONFIG=--build=$(PHP5_BUILD_GNU_TYPE)-gnu \
[...]
+ --enable-zip \