473,811 Members | 2,970 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP install question

Let's say I installed php without the --enable-cli option. If I want to
to update php do I have to re-install it with all of my options or can
I just install it with the --enable-cli option?

Jan 2 '07 #1
4 1459
On Tue, 02 Jan 2007 12:11:42 -0800, Anthony Smith wrote:
Let's say I installed php without the --enable-cli option. If I want to
to update php do I have to re-install it with all of my options or can
I just install it with the --enable-cli option?
confusing
what do you want to update or do you want to reinstall php ?

if you just want to reinstall php, then you have to have a look on
../configure --help which will give the option that are set (I suppose but
I might be wrong). you might want to keep the opption in a script
Jan 2 '07 #2
I am using php 5.2.0 but when I installed it I did not do include the
--enable-cli option. Now I want to include it. I am just not sure if I
have to include all of the other options. But it is the same version of
php.
william wrote:
On Tue, 02 Jan 2007 12:11:42 -0800, Anthony Smith wrote:
Let's say I installed php without the --enable-cli option. If I want to
to update php do I have to re-install it with all of my options or can
I just install it with the --enable-cli option?

confusing
what do you want to update or do you want to reinstall php ?

if you just want to reinstall php, then you have to have a look on
./configure --help which will give the option that are set (I suppose but
I might be wrong). you might want to keep the opption in a script
Jan 2 '07 #3
Anthony Smith wrote:
I am using php 5.2.0 but when I installed it I did not do include the
--enable-cli option. Now I want to include it. I am just not sure if I
have to include all of the other options. But it is the same version of
php.
william wrote:
>>On Tue, 02 Jan 2007 12:11:42 -0800, Anthony Smith wrote:

>>>Let's say I installed php without the --enable-cli option. If I want to
to update php do I have to re-install it with all of my options or can
I just install it with the --enable-cli option?

confusing
what do you want to update or do you want to reinstall php ?

if you just want to reinstall php, then you have to have a look on
./configure --help which will give the option that are set (I suppose but
I might be wrong). you might want to keep the opption in a script

When you recompile, you have to specify all of the options you want.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Jan 2 '07 #4
Anthony Smith wrote:
Let's say I installed php without the --enable-cli option. If I want to
to update php do I have to re-install it with all of my options or can
I just install it with the --enable-cli option?
Yes! The new binary will write over the old. Its not like doing a software
installation on Windows where you can run the setup program to change program
settings. The php program actually gets recompiled. Typically when I do a PHP
install, I save the configuration in a file in the source and run it as a script
in the bash shell. This makes changing the configuration easier. It also helps
when you go to upgrade. In my source file, I have a script called runconfig.sh.
I've set the permissions so I can execute it as root. My file looks like this:

#/bin/bash
../configure --prefix=/usr/local \
--with-config-file-path=/usr/local/php \
--enable-calendar \
--enable-cli \
--enable-sockets \
--enable-ftp \
--enable-mbstring=all \
--enable-mbregex \
--with-apxs2=/usr/local/httpd/bin/apxs \
--with-xsl \
--with-curl=/usr/local \
--with-mysql=/usr/local/mysql \
--with-mysqli=/usr/local/mysql/bin/mysql_config \
--with-gd=/usr/local \
--with-freetype-dir=/usr/local \
--with-zlib-dir=/usr/local
Doing this makes life much easier.
Jan 3 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1296
by: agnessngevents | last post by:
------=_NextPart_000_001C_01C355D3.9595F8C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable the configure command for courier-imap is the ff: ../configure --prefix=3D/usr/lib/courier-imap --with-authmysql = --without-pgsql --with-mysql-libs=3D/usr/local/mysql/lib = --with-mysql-includes=3D/usr/local/mysql/include
1
1901
by: mia456789 | last post by:
I hv a mysql 4 run on RH linux server , the default apache service is running , now I want to install the httpd rpm to the server because the ARCserve backup software need to install it first , I just want to ask if I install the httpd to the server but not start it , will it affect the setting / o peration of the web server , I am afraid the setting will be changed after install the httpd ? thx
0
1301
by: Woody Splawn | last post by:
I suspected that something was wrong with my installation of VS.net 2003 Professional. I was having problems in my debugger. I decided to do a repair or update. The original install of VS was done on a DVD labeled May 2003 from MSDN. Subsequently I have received newer DVDs from MSDN with VS.net 2003 professional on it. The latest is a yellow DVD, Disc 2431.1 (Dec 2003). I used this DVD. I went in and selected update/Repair...
2
2664
by: ray da man | last post by:
anybody know where to get iis other than the OS cd? i have windows xp and i cant figure out how to get it to install. -- ray da man
3
2275
by: Wade | last post by:
I would like to install the .Net 1.1 framework on a Web Server running W2K to be able to run ASP.NET files, but I'm not sure where to find the files I need for the .Net framework. I have ".NET Framework 1.1 Service Pack 1" (NDP1.1sp1-KB867460-X86.exe) and "ASP.NET Security Update for .NET Framework 1.1 SP1" (NDP1.1sp1-KB886903-X86.exe). The SP1 will not install unless 1.1 is already installed (I thought that SP1 was the whole 1.1...
1
1869
by: Peter Hartmann | last post by:
How do I influence the platform type during install? Could you look at this and tell me what I'm doing wrong? It's still using information from get_platform instead of using my preference. # python setup.py install --install-purelib=lib.linux=i686-2.3 --install-lib=/usr/lib/python2.3/site-packages running install running build running build_py
6
2322
by: tekmicha | last post by:
Hallo, I am a newbie in C and I have a question regarding C libraries. I got an application in C and I am trying to add some new features on it for my work. The problem is this application requires the installation of an external Library A (not a C standard library). After some time I managed to install the external libraries using the makefiles and running the application (a makefile was also included) My question is , is there anyway to...
3
3189
by: pine | last post by:
hi! i just joined this group today after a colleague told me about it. anyway, i'm new to SQL and haven't tried installing any version of it. I do have vb 6.0 though on my pc. My problem is that I can't install SQL server 05 EE, VB 2005 or VW 2005. I have downloaded all of the installer from the Microsoft site as well as the dotnetfix which is supposed to install the .net framework 2.0. whenever i try to install SQL server EE, it is...
1
3470
by: Sorin Schwimmer | last post by:
Hi All, After a disaster in which I lost my whole harddrive, I decided to install the newest everything that I use. I put the latest Gentoo Linux, with gcc 4.1.1, installed tcl/tk 8.4.14 and tried Python 2.5. I tried with and without the suggested -fwrapv compiler option, and make gave me the same:
3
1169
by: Tina I | last post by:
Another noob question: I have written my first linux application that might actually be of interest to others. Just for fun I also wrote an install script that put the files in the common directories for my distro (Debian). That is in /usr/local/. (This particular program can be run directly from the user's /home but as a learning experience I want to do it the 'coorect' way) Now, I don't know if that is the way to do it with python...
0
9607
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10395
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...
1
10408
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,...
0
9211
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
6895
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5700
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4346
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
3874
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3026
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.