473,322 Members | 1,480 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

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 1432
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*******@attglobal.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
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:...
1
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...
0
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...
2
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
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...
1
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. #...
6
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...
3
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...
1
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...
3
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.