473,836 Members | 1,505 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to recompiling php with --enable-zip parameter on linux server?

13 New Member
We have ZZIPlib installed.

My command configure line looks like :
./configure –with-apxs –with-curl –with-curl-dir=/usr/local/lib –with-gd –with-gd-dir=/usr/local –with-gettext –with-jpeg-dir=/usr/local/lib –with-kerberos, etc.

Then I need to add –enable-zip to this line.

I can't even find the right place to run the ./configure --help command.
Sep 13 '09
14 13512
13 New Member
Thanks for reply.
I did following steps

> cd /usr/local/php5/bin

> './configure' '--disable-cli' '--disable-discard-path' '--disable-force-cgi-redirect' '--prefix=/usr/local/php5' '--with-config-file-path=/usr/local/lib/php5' '--with-pear=/usr/share/php5' '--enable-exif' '--enable-ftp' '--enable-bcmath' '--enable-calendar' '--with-gd' '--enable-gd-native-ttf' '--with-freetype-dir' '--with-gettext' '--with-zlib-dir' '--with-imap' '--with-imap-ssl' '--with-png-dir=/usr' '--with-jpeg-dir=/usr' '--with-xpm-dir=/usr' '--with-openssl' '--with-kerberos' '--enable-sysvsem' '--enable-sysvshm' '--with-mcrypt' '--with-iconv' '--enable-mbstring=all' '--enable-mbregex' '--with-mysql=/usr' '--with-mysqli' '--with-curl' '--with-pdo-mysql' '--enable-soap' '--with-mhash' '--with-xsl' '--enable-zip'

/bin/bash: ./configure: No such file or directory

I got above error message
Sep 23 '09 #11
8,658 Recognized Expert Moderator Expert
I suspect the Makefile is missing. (see also here)
Sep 23 '09 #12
6,050 Recognized Expert Expert
No - that's where your compiled PHP is located. You need the actual source code, available from here - remember, you want the complete source code.. nothing precompiled. Once you have that downloaded, cd into it's location. The source should have a README file, that will explain how to install on a *nix system.
Sep 23 '09 #13
13 New Member
Thanks Markus.
I have already have PHP5 installed on server.
Now I want how to add zip support to PHP5 as PHP5 is already installed at server.(Ref: http://www.lampdocs.com/blog/2008/08...pport-for-php/)

I found the another forum
with reference of this so I thought the source directory is /usr/local/portage/dev-lang/

So did
> cd /usr/local/portage-ovh/dev-lang/php5-ovh

then run the configur commad with '--enable-zip' option ,but still it giving following error
/bin/bash: ./configure: No such file or directory
Sep 24 '09 #14
8,658 Recognized Expert Moderator Expert
it doesn’t matter if there already is a compliled build. to add the zip functionality you must (re)compile the whole stuff (which requires the source code). the blog clearly stated that.

things are different, if you installed PHP through a package manager (apt, synaptic, yast, emerge, port, …)

if you’re using Gentoo Linux, then you should use emerge to rebuild PHP (as described in the link).
Sep 24 '09 #15

Sign in to post your reply or Sign up for a free account.

Similar topics

by: Hemanth | last post by:
Hello there, I've a utility that runs on a linux machine. Basically, it opens a window, draws a figure and captures the image (screen) and stores it as a jpeg file. The utility requires a window to be open (or displayed) inorder to save the image. Also, this utility is in the form of an executable, so I can't possibly alter it. I want to run this utility from a windows web browser and display the saved jpeg file. I pass some command...
by: MLH | last post by:
A programmer developed an AMP (Apache/MySQL/PHP) application for me. When he was done, he sent me the PHP files and the MySQL dump file. Now, when I connect to the application on my LAN using the AMP app still thinks the data resides somewhere else. It runs fine - as long as I leave my LAN's external internet connection up. But if I unplug my LAN from the world, my app locks up. Before I...
by: atodd_109 | last post by:
I currently have a page that is running from a windows based server with frontpage extensions installed. My mouseover script works great. I am now in the process of developing another page that will run from a linux server that will not have the frontpage extensions installed. My question is, does the differnt platform matter with javascript. Will the exact code that is working on the windows server work on the linux server? Thanks in...
by: Trint Smith | last post by:
anyone, how do i install asp.net 1.1 on a linux server? thanks, Trint ..Net programmer trintsmith@hotmail.com *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
by: Andy Grayson | last post by:
Hi, I am not sure this is the right group to ask as I think the problem is Linux related but I have had no joy from Linux groups I am new to both Linux and Programming, I am learning as I go but have become stuck. I am trying to create a web application with Visual Basic.NET 2003 for initial deployment on my suse 9 based web server When I try to create a new ASP.NET application in visual basic I get a message
by: Arjan | last post by:
Is there a way to connect to the Linux filesystem with C# without using Samba? I need it to get a configuration file from the server, edit it and place it back. And after that I need to restart a service, however this is not difficult since I already have the API's to do this. Unfortunately I can't find anything about this subject, so I am afraid that it can't be done... TIA,
by: mw | last post by:
Hi, Is it possible? I have an application built on the 1.1 .NET framework with a SQL Server 2000 backend. The LINUX server in question hosts php-based sites with MySQL. I just need a quick answer as to whether or not LINUX is capable of hosting a .NET application with a SQL Server 2000 back end. Thanks in advance.
by: rosoft | last post by:
Hi I need to put up an ASP.NET server on a Linux server. Does any one have any good recomendation for this. Lars
by: arivusudar.nc | last post by:
I have to open word document in web page using php coding in linux server.. already i worte in windows supporting php code. but it is not working in my linux server so, i need how to open word document in linux server without COM class.
by: mnshzz | last post by:
I am working on Project where there is a requirement to transliterated the native characters (Greek, Turkish, Russian) into English on the Linux RH enterprise V4 server. As part of the SIT, txt files with data in native characters (Greek, Turkish, etc) have been prepared which are uploaded from Windows environment to the Linux server, however there is a problem as the Native characters are not uploaded correctly to Linux environment My...
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.