php-install Digest 19 Feb 2003 19:19:31 -0000 Issue 1254 Topics (messages 10088 through 10101):
Re: Installation Error in the PHP with Apache
10088 by: Felix Natter
10090 by: user.domain.invalid
Building PHO 4.3.1 with MySQL support
10089 by: Vicki Brown
10098 by: Jim Thome
Re: Installation problems
10091 by: Andreas Ekeroot
Re: PHP 4.3.0 on Red Hat 8.0
10092 by: Mitch Pirtle
10094 by: Pete Mackie
10096 by: Mitch Pirtle
php as apache module
10093 by: Angelo Marcos Rigo
php crashes iplanet
10095 by: Rob
Limiting phpinfo() information
10097 by: "Juan Ant. Mart�nez"
Documentation warning
10099 by: Pedro Rom�n Vela
10100 by: Stephen Edmonds
Question
10101 by: Corne Vaders
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---[EMAIL PROTECTED] writes: > Hello All, > > When I am installing PHP 4.3 with Apache, it is giving error. Any > sugessions. please post more information, I don't think anyone can help you without some information. -- Felix Natter--- End Message ---
--- Begin Message ---Felix Natter wrote:I am using Redhat Linux 7.3 and i have installed the apache 1.3.27 from the rpm. When I try to install the php with a tar file it is givig error. Can anyone tell me the rpm for php 4.3[EMAIL PROTECTED] writes:Hello All, When I am installing PHP 4.3 with Apache, it is giving error. Any sugessions.please post more information, I don't think anyone can help you without some information.
Regards,
Atul Shrivastava
--- End Message ---
--- Begin Message ---
I ran
./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs
and received the following warning:
| You chose to compile PHP with the built-in MySQL support. If you |
| are compiling a server module, and intend to use other server |
| modules that also use MySQL (e.g, mod_auth_mysql, PHP 3.0, |
| mod_perl) you must NOT rely on PHP's built-in MySQL support, and |
| instead build it with your local MySQL support files, by adding |
| --with-mysql=/path/to/mysql to your configure line.
I have no idea if I "intend to use other server modules..." However, I _do_
have mod_perl installed, so it's probably a safe bet that _something_ will
use MySQL eventually. Therefore, I presume need to build with my
"local MySQL support files".
But, what "path to mysql" should I use?
MySQL (the binary) is installed at /usr/local/bin/mysql; when I tried that
path, the configure script told me it couldn't find include files there.
There are no include files in /var/db/mysql (and that directory is locked as
well). Do I give configure the path/to/mysql/source/tree? Or what?
I know essentially nothing about either MySQL or PHP at this time, as I am
installing both in order to move on and install something _else_ that wants
these. Consider me very much a newbie.
Help?
This is a FreeBSD 4.7 system, MySQL 3.23.55 installed from FreeBSD ports
collection (nothing special), Apache 1.3.27 with DSO capability, PHP 4.3.1
--
- Vicki
Vicki Brown ZZZ Journeyman Sourceror:
P.O. Box 1269 zz |\ _,,,---,,_ Scripts & Philtres
San Bruno, CA zz /,`.-'`' -. ;-;;,_ Perl, Unix, MacOS
94066 USA |,4- ) )-,_. ,\ ( `'-'
mailto:[EMAIL PROTECTED] '---''(_/--' `-'\_) http://www.cfcl.com/~vlb
--- End Message ---
--- Begin Message ---
--with-mysql=/usr usually does the trick.
--
Jim
>>> Vicki Brown <[EMAIL PROTECTED]> 02/19/03 01:22AM >>>
I ran
./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs
and received the following warning:
| You chose to compile PHP with the built-in MySQL support. If you |
| are compiling a server module, and intend to use other server |
| modules that also use MySQL (e.g, mod_auth_mysql, PHP 3.0, |
| mod_perl) you must NOT rely on PHP's built-in MySQL support, and |
| instead build it with your local MySQL support files, by adding |
| --with-mysql=/path/to/mysql to your configure line.
I have no idea if I "intend to use other server modules..." However, I
_do_
have mod_perl installed, so it's probably a safe bet that _something_
will
use MySQL eventually. Therefore, I presume need to build with my
"local MySQL support files".
But, what "path to mysql" should I use?
MySQL (the binary) is installed at /usr/local/bin/mysql; when I tried
that
path, the configure script told me it couldn't find include files
there.
There are no include files in /var/db/mysql (and that directory is
locked as
well). Do I give configure the path/to/mysql/source/tree? Or what?
I know essentially nothing about either MySQL or PHP at this time, as I
am
installing both in order to move on and install something _else_ that
wants
these. Consider me very much a newbie.
Help?
This is a FreeBSD 4.7 system, MySQL 3.23.55 installed from FreeBSD
ports
collection (nothing special), Apache 1.3.27 with DSO capability, PHP
4.3.1
--
- Vicki
Vicki Brown ZZZ Journeyman Sourceror:
P.O. Box 1269 zz |\ _,,,---,,_ Scripts & Philtres
San Bruno, CA zz /,`.-'`' -. ;-;;,_ Perl, Unix, MacOS
94066 USA |,4- ) )-,_. ,\ ( `'-'
mailto:[EMAIL PROTECTED] '---''(_/--' `-'\_) http://www.cfcl.com/~vlb
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---Jonas Geiregat wrote: > > very simple it's --with-apxs2=/mnt/lfs/userv/apache2/bin/apxs you wrote ../bin/axps Oops! That's a typo I happened to write when copying the configure command to the mail. Sorry... I doublechecked, and there is no typo in the configure command.--- End Message ---
--- Begin Message ---First, anybody using RH8 and wanting php 4.3.0 with apache2, you need to go here: http://www.aucs.org/rpmcenter/ Here you will get updated RPMs for both httpd, httpd-devel and php. They work for me on servers, laptops and workstations. On Tue, 2003-02-18 at 18:42, Pete Mackie wrote: > What I find frustrating is that Red Hat 8.0 does not provide apxs with their > Apache distribution. One has to wonder why they omitted such basic > functionality? In order to get apxs, I need to download and compile Apache. > This would then allow me to compile up the PHP 4.3 scripts. While I observe > that axps can be downloaded from places like http://rpmfind.net, I note its > a release from Apache 1.3.6-1 dated from 1999. Would this be compitable with > something like Apache 2.0.44? I don't have a clue on any compatibility > issues here. apache2 is now called httpd, and apxs2 is included in the httpd-devel package. apxs is for apache 1.X, and you should not mix the two. > Furthermore Red Hat installs Apache in non-standard data paths, making a PHP > build not and easy install with an off-the-shelf PHP compile. The only thing I'm aware of is the need to pass --prefix=/usr to configure. And I've been building packages like mad because I'm moving next week and will be without broadband for over a month. D'oh! Also, if you want to do everything apache from source, then why RedHat? That is a lotta, lotta packages (apache, php, mod_xxx...) Gentoo rocks the house in this regard, and gives you the flexibility/power of sources with convenience of a ports-based package management system. http://www.gentoo.org/ I would advise seriously against using an RPM-based distribution like RedHat but making core components from source. It blows your dependency tree to bits, making further RPM-based installs impossible, and simply obviates the need for having package-management in the first place. Kinda like decapitation of the head for a case of dandruff, don't you think? My plan is almost identical to yours, but with one significant difference: I stick to SRPMs, or sources and my own specfiles. Look, I am not that smart, and it only took me one afternoon to figure the whole shebang out by mangling other people's innocent packages. The result: you get clean, freshly-built binaries optimized for your specific architecture, and you can tightly control what options are made and installed. This includes directory layouts too. It slices! It dices! Look as it effortlessly rips through ths aluminum can! -- Mitch--- End Message ---
signature.asc
Description: This is a digitally signed message part
--- Begin Message ---Mitch, Thanks for the valuable information. It's truly a lifesaver. You made some posts on the php.install newsgroup on January 7, 2003 per not being able to install PHP 4.3 on Red Hat 8.0. I monitored these posts for several weeks, hoping for resolution. Not seeing any resolution there, I assumed that no one had come up with a solution here. So I started down the path of planning to do the build myself. FWIW: In the php.install newsgroup, you make two posts under the subject of "PHP 4.3.0 on Red Hat 8.0" date 2/13/2003 5:12 AM. Both of those posts are void of content. What you emailed to me is most valuable. I suggest you post it again at the above thread. Pete ------------------------------- At 11:32 AM 2/19/2003 +0100, Mitch Pirtle wrote:--- End Message ---First, anybody using RH8 and wanting php 4.3.0 with apache2, you need to go here: http://www.aucs.org/rpmcenter/ Here you will get updated RPMs for both httpd, httpd-devel and php. They work for me on servers, laptops and workstations. -- Mitch
--- Begin Message ---On Wed, 2003-02-19 at 13:24, Pete Mackie wrote: > Mitch, > > Thanks for the valuable information. It's truly a lifesaver. Credit goes to Benjamin Tomhave for doing some googling for the link (Feb. 7th). And I agree, sure ended a ton of pain and suffering. The specfile is pretty complicated, with patches and whatnot; and I'm trying to rework it for 4.3.1... Argh. > You made some posts on the php.install newsgroup on January 7, 2003 > per not being able to install PHP 4.3 on Red Hat 8.0. I monitored > these > posts for several weeks, hoping for resolution. Not seeing any > resolution there, I assumed that no one had come up with a solution > here. So I started down the path of planning to do the build myself. > > FWIW: In the php.install newsgroup, you make two posts under the > subject > of "PHP 4.3.0 on Red Hat 8.0" date 2/13/2003 5:12 AM. Both of those > posts are void of content. What you emailed to me is most valuable. I > suggest you post it again at the above thread. ?!?! (takes look at archive): http://lists.php.net/article.php?group=php.install&article=10033--- End Message ---
signature.asc
Description: This is a digitally signed message part
--- Begin Message ---Hi i install apache 2.0.4.4 for win nt and php 4.3.1 i try to configure php as moule moving php4ts.dll to winnt/system32 and adding the two lines: LoadModule php4_module c:/php/sapi/php4apache.dll AddType application/x-httpd-php .php however this directory and this dll do not exist only the php4ts.dll . how can i install php as apache module?--- End Message ---
--- Begin Message ---Hi, We're trying to run PHP 4.3 on a Solaris 5.8 box running IPlanet 6. We've tests our PHP app on an Apache/FreeBSD config and it runs fine. However, when we trying to get it running on the Solaris box the server crashes every few minutes with the following error message: [17/Feb/2003:14:32:03] catastrophe ( 4723): Server crash detected (signal SIGBUS) [17/Feb/2003:14:32:03] info ( 4723): Crash occurred in NSAPI SAF php4_execute [17/Feb/2003:14:32:03] info ( 4723): Crash occurred in function _db_return_ from module /usr/iplanet/es60sp5/bin/libphp4.so ---- [17/Feb/2003:14:32:08] config ( 4725): SIGSEGV 11 segmentation violation [17/Feb/2003:14:32:08] config ( 4725): si_signo [11]: SEGV [17/Feb/2003:14:32:08] config ( 4725): si_errno [0]: [17/Feb/2003:14:32:08] config ( 4725): si_code [1]: SEGV_MAPERR [addr: 0x646d7300] Any help would be much appreciated. Thanks --- Rob ************************** Rob Cherry mailto:[EMAIL PROTECTED] +27 21 447 7440 Jam Warehouse RSA Smart Business Innovation http://www.jamwarehouse.com **************************--- End Message ---
--- Begin Message --- Hi,
Does anyone know how to limit the informtion phpinfo() gives. I'd like to have it enabled in order to run mail() (if I disable phpinfo() mail() doesn't work), but there's much information there. How can I limit it? (in fact, any other solution to run mail() without it would help).
Thanks,
Juanan
--- End Message ---
--- Begin Message ---Hi everyone, I have successfully installed and configured the latest php (4.3.1) to work with the latest Apche (2.0.44). It seems to be working fine and has passed every test I have tried. However I found the following warining while reading the php documentation on installing php for apache 2.0: Do not use Apache 2.0 and PHP in a production environment neither on Unix nor on Windows. Is there something I'm missing? What's the reason for that warning? Thanks in advance -------------------------------------------------------------------------------------- This message and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. No confidentiality or privilege is waived or lost by any wrong transmission. If you have received this message in error, please immediately destroy it and kindly notify the sender by reply email. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Opinions, conclusions and other information in this message that do not relate to the official business of Ydilo Advanced Voice Solutions, S.A. shall be understood as neither given nor endorsed by it. ----------------------------------------------------------------------------------------- End Message ---
--- Begin Message ---Apache 2.0 and PHP are not yet designed to be compatible, and so they strongly recommend aganist using it in public enviroments. Basically, php is in its Beta testing stages of Apache 2 compatibility. Hopefully the two will be re-designed to be compatibile in the not to distant future. Also the reason why people have a lot of problems with the two! ----- Original Message ----- From: "Pedro Rom�n Vela" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 19, 2003 3:44 PM Subject: [PHP-INST] Documentation warning > Hi everyone, > I have successfully installed and configured the latest php (4.3.1) to work > with the latest Apche (2.0.44). It seems to be working fine and has passed > every test I have tried. However I found the following warining while > reading the php documentation on installing php for apache 2.0: > Do not use Apache 2.0 and PHP in a production environment neither on Unix > nor on Windows. > > Is there something I'm missing? What's the reason for that warning? > > Thanks in advance > > -------------------------------------------------------------------------- ------------ > This message and any files transmitted with it are confidential and intended solely > for the use of the individual or entity to whom they are addressed. No confidentiality > or privilege is waived or lost by any wrong transmission. > If you have received this message in error, please immediately destroy it and kindly > notify the sender by reply email. > You must not, directly or indirectly, use, disclose, distribute, print, or copy any > part of this message if you are not the intended recipient. Opinions, conclusions and > other information in this message that do not relate to the official business of > Ydilo Advanced Voice Solutions, S.A. shall be understood as neither given nor endorsed by it. > -------------------------------------------------------------------------- ------------ > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >--- End Message ---
--- Begin Message ---i cannot use the MAIL() function, how can i correct this problem ?--- End Message ---
