473,883 Members | 1,731 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 #1
14 13519
Markus
6,050 Recognized Expert Expert
@ujwalarali85
You need to PHP source, which is available from php.net.

Then cd into the source directory, and run your new configure command (with your enable zip), then make && make install.
Sep 13 '09 #2
ujwalarali85
13 New Member
@Markus
Sorry I couldn't get you exactly, please explain in brief. Its very urgent requirement for me to enable ZIP functionality.

I have Webmin access but not know where and how to run Configure command with enable zip option.

Thanks a lot.
Sep 22 '09 #3
Dormilich
8,658 Recognized Expert Moderator Expert
these are shell commands (aka CLI) so you need a shell window (or terminal (window), e.g. provided by aterm, xterm, …) to type it there.
Sep 22 '09 #4
ujwalarali85
13 New Member
@Dormilich
I have the Shell window , but how and in which directory I have to run configure command
Sep 22 '09 #5
Dormilich
8,658 Recognized Expert Moderator Expert
do as Markus said:

Then cd into the source directory, and run your new configure command (with your enable zip), then make && make install.
Sep 22 '09 #6
ujwalarali85
13 New Member
@Dormilich
exactly not getting the 'source directory' and where it located. Please can you help regarding this.
Sep 22 '09 #7
Dormilich
8,658 Recognized Expert Moderator Expert
source directory: the directory where you unzipped the PHP source code into
Sep 22 '09 #8
ujwalarali85
13 New Member
@Dormilich
I got PHP Source Dir, but ./configure file is not present there. There is php-config file in that in that configure options are set as follows

configure_optio ns=" '--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'"

Now Please guide me how I run configure command with --enable-zip option.
Sep 23 '09 #9
Dormilich
8,658 Recognized Expert Moderator Expert
@ujwalarali85
if it were a file, it’d be hidden. alas, it is a shell script (usually provided by the system).
Sep 23 '09 #10

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

Similar topics

3
2439
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...
4
2824
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 http://192.168.1.106/~mlh/credifree/index.php 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...
1
2978
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...
7
1677
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!
3
1884
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
14
10017
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,
4
1415
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.
2
1121
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
2
5555
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.
0
1839
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...
0
11140
Oralloy
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...
0
10742
jinu1996
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...
0
10414
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9572
agi2029
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...
0
5797
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...
0
5991
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4611
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
2
4218
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3232
bsmnconsultancy
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.