php-install Digest 27 Jun 2002 06:41:12 -0000 Issue 904

Topics (messages 7494 through 7504):

Re: Q: Oracle 9 support
        7494 by: Thies C. Arntzen
        7495 by: Stewart Dean
        7496 by: Thies C. Arntzen

Installing over old PHP install?
        7497 by: Nick Wilson
        7499 by: Jonathan Thomas

Re: Zend Optimizer.
        7498 by: Matt Schroebel

PHP and msql Error
        7500 by: comp boy

Re: mod_php4.c
        7501 by: Peter Richards
        7504 by: Rasmus Lerdorf

mysql socket
        7502 by: Peter Richards

Make problem with apache 1.3.26 & php 4.2.1 in linux
        7503 by: james sebastian

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 ---
On Wed, Jun 26, 2002 at 11:49:52AM -0400, Stewart Dean wrote:
> What are the plans for Oracle 9 support?  I have a circular dependency that 
> seems to require O9...

    what's your problem, i'm using php with oracle9 with no
    problems.

    tc
--- End Message ---
--- Begin Message ---
Thies C. Arntzen wrote:
Golly, I saw a configure option flag for O8 and for O7....but none for O9.  Being the 
sort of tight-ass that I am (but actually worrying about 
creating all kinds of stuff on a production machine that might not work once it was 
all in), I therefor ask about
O9 support....how are you using it?



> On Wed, Jun 26, 2002 at 11:49:52AM -0400, Stewart Dean wrote:
> 
>>What are the plans for Oracle 9 support?  I have a circular dependency that 
>>seems to require O9...
> 
> 
>     what's your problem, i'm using php with oracle9 with no
>     problems.
> 
>     tc
> 




-- 
--
Stewart Dean, Unix System Admin, Henderson Computer Resources
Center of Bard College, Annandale-on-Hudson, New York  12504
[EMAIL PROTECTED]  voice: 845-758-7475, fax: 845-758-7035

--- End Message ---
--- Begin Message ---
On Wed, Jun 26, 2002 at 02:16:51PM -0400, Stewart Dean wrote:
> Thies C. Arntzen wrote:
> Golly, I saw a configure option flag for O8 and for O7....but none for O9.  
> Being the sort of tight-ass that I am (but actually worrying about creating 
> all kinds of stuff on a production machine that might not work once it was 
> all in), I therefor ask about
> O9 support....how are you using it?

    oracle9 uses the so called OCI8 API. just configure using
    --with-oci8 and you're all set.

    tc

    
> 
> 
> 
> >On Wed, Jun 26, 2002 at 11:49:52AM -0400, Stewart Dean wrote:
> >
> >>What are the plans for Oracle 9 support?  I have a circular dependency 
> >>that seems to require O9...
> >
> >
> >    what's your problem, i'm using php with oracle9 with no
> >    problems.
> >
> >    tc
> >
> 
> 
> 
> 
> -- 
> --
> Stewart Dean, Unix System Admin, Henderson Computer Resources
> Center of Bard College, Annandale-on-Hudson, New York  12504
> [EMAIL PROTECTED]  voice: 845-758-7475, fax: 845-758-7035
--- End Message ---
--- Begin Message ---
Hi, I'm trying to upgrade a Php 4.0.3 installation on a Redhat 6.2 (i686)
box using
Apache 1.3.14 as the webserver. I just reccently got the job and the server
isn't documented to well about how things were set up. I went to install PHP
4.2.1 and although I can install it, I can't override the current 4.0.3
install. Is there any way to override the compiled-in php4 without
recompiling apache? If so, how do I do this. I would honestly prefer to
avoid recompiling apache

Thanks in advance,
Nick Wilson  -  Mississippi State University Relations
http://www.traicovn.com



--- End Message ---
--- Begin Message ---
If you're running redhat you should be able to upgrade php by way of red
hat's rpm (up2date).  This will allow the upgrade to happen without
requiring a re-compile of apache.


Thanks,
JT


-----Original Message-----
From: Nick Wilson [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, June 26, 2002 2:33 PM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] Installing over old PHP install?


Hi, I'm trying to upgrade a Php 4.0.3 installation on a Redhat 6.2 (i686)
box using Apache 1.3.14 as the webserver. I just reccently got the job and
the server isn't documented to well about how things were set up. I went to
install PHP 4.2.1 and although I can install it, I can't override the
current 4.0.3 install. Is there any way to override the compiled-in php4
without recompiling apache? If so, how do I do this. I would honestly prefer
to avoid recompiling apache

Thanks in advance,
Nick Wilson  -  Mississippi State University Relations
http://www.traicovn.com




-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
> From: chad kellerman [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, June 26, 2002 1:55 PM
> Subject: Re: [PHP-INST] Zend Optimizer.
> 
> 
> So this should not have had an effect on how the page parses?
> 
>   Because on of my site the page showed up with:
> 
> ZEND ()()()then a bunch of strange characters.

You need to download and install the latest binary zend-optimizer for php-4.2.1. 
http://www.zend.com/store/products/zend-optimizer.php
--- End Message ---
--- Begin Message ---
 I am getting the following error:
 
 Warning: Supplied argument is not a valid mSQL result resource in
 /usr/local/apache/htdocs/inc/listings.inc on line 24
 
 listings.inc: 24
 $numRows = msql_numrows( $result );
 
 The manual on php.net says that it takes no variables msql_numrows(void)
 however it says it is another version of msql_num_rows(int msql);
 
 The code I am trying to run, runs perfectly fine on another one of our
systems.  I was just setting up a development server and now I am getting
this problem.  The specs are the same except for the version of Apache
production is 1.3.9 and development is 1.3.26
 
 PHP vesrion 4.1.2
 
 ./msqladmin version
 Version Details :-
         msqladmin version       2.0.11
         mSQL server version     2.0.11
         mSQL protocol version   23
         mSQL connection         Localhost via UNIX socket
         Target platform         Linux-2.2.14-5.0-i686

PHP was configured:
./configure --with-apxs=/usr/local/apache/bin/apxs --with-msql

msql was a default install.

Does anyone know what I did wrong?  Do I need to recompile with some
different options?

TIA
Jason

--- End Message ---
--- Begin Message ---

">     please read the INSTALL file that came with the php sources.
>     tc
> >
I aplogise if this question appeared naive. In fact I had read the install
files many times. I find this facile reply hurtful not helpful. You were a
beginner once. It does not help the Linux/PHP cause to be so brusqe. I have
been computing for years. I don't recall a previous question that was
replied to with less courtesy.
peter richards


--- End Message ---
--- Begin Message ---
The problem is that your questions are so far off-base that we would need
to walk you through step by step from the beginning.  Which is exactly
what the INSTALL file does.  I also find it hard to believe that you have
read that file multiple times.  But ok, here we go, spoonfeeding time:

You asked:

> mod_php4.c is in the source directory of apache and if i point the
> httpd.conf to this directory I get a "not in list of loaded modules'

Now where in the INSTALL file does it say anything about pointing anything
in httpd.conf to your apache source directory?

The section of the INSTALL file that mentions mod_php4.c says this:

4a. Setting up the server. (Dynamic Module)

   The make install command in step 3 should have done most of your
   work for you.  It actually edits your httpd.conf file and tries to
   enable the dynamic PHP module.  To verify this, look for a line that
   looks like this:

      LoadModule php4_module libexec/libphp4.so

   The actual path before the libphp4.so part might differ slightly.  This
   is likely fine.  If you are paranoid you can examine the output from the
   make install step to see where the libphp4.so file was actually put and
   place the full path to this file on this LoadModule line.

   If somewhere in your httpd.conf file you have a ClearModuleList line
   then you also need this line:

      AddModule mod_php4.c

   And finally you need to tell Apache which file extension should trigger
   PHP.  You do this by creating a special mime type and associating it
   with an extension.  We suggest using:

      AddType application/x-httpd-php .php

Here is where I start to feel silly.  Pasting lines of the docs you say
you read into an email....

So, walking through this.  You need to have the LoadModule line pointing
to your libphp4.so.  Then, if and only if you have a ClearModuleList line
in your httpd.conf followed by a bunch of AddModule lines, then you have
to make sure you add "AddModule mod_php4.c" to your httpd.conf.  This says
nothing about a path to mod_php4.c for a good reason.  This is not
referring to a file on your filesystem, it is simply an internal name
Apache uses to identify modules.  Whether you have this file or not is
completely irrelevant, the only important file is libphp4.so.

-Rasmus

On Wed, 26 Jun 2002, Peter Richards wrote:

>
> ">     please read the INSTALL file that came with the php sources.
> >     tc
> > >
> I aplogise if this question appeared naive. In fact I had read the install
> files many times. I find this facile reply hurtful not helpful. You were a
> beginner once. It does not help the Linux/PHP cause to be so brusqe. I have
> been computing for years. I don't recall a previous question that was
> replied to with less courtesy.
> peter richards
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

--- End Message ---
--- Begin Message ---
My mysql is running fine and points to /var/lib/mysql.sock on redhat7.2
 My PHP4 is up and running and the myql.socket points to /tmp/mysql.sock

I have looked in every file i can find on the disk that pertains to php and
mysql. I cannot see where it is getting its direction from. ( I compiled
it --with-mysql and it found the headers fine) my.cnf , httpd.conf and
php.ini all point to /var/lib/mysql

Any ideas where to go next. I dont want to have to alter every script to
point to the right place for the socket file.
peter richards


--- End Message ---
--- Begin Message ---
Hi PHP gurus,
I did not get any reply to the belowsaid problem so
far.
By this time, I tried installing apache 13.26 & php
4.2.1 in  a different 6.2 redhat machine which did
make, make install all successful for both package.

But when tried a plain ./configure
--prefix=/home/james 
still i could not make the file with apache too for
this particular machine. 
Can you advise where to look for solution.
Qe are using pgsql also in the present version .
(present 1.3.20 apache & php 4.0.6)

any help is weel appreciated

James
--- james sebastian <[EMAIL PROTECTED]> wrote:
> Date: Tue, 25 Jun 2002 23:58:16 -0700 (PDT)
> From: james sebastian <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] Make problem with apache 1.3.26
> & php 4.2.1 in linux (kernel 2.2.16-3).2.
> 
> Dear friends,
> I have a problem in configuraing apache 1.3.26 & php
> 4.2.1 in our server. We are running at present
> 1.3.20
> apache & php 4.0.6. (Os: Linux 6.2 redhat, kernel:
> 2.2.16-3)
> 
> 
> 
> we used the follwing steps for compliation
> This is the error when i do make (php-4.2.1)
>  
> [root@www php-4.2.1]# make cd apache_1.3.26
> $ ./configure
> $ cd ..
>  
> $ gunzip -c php-4.2.1.tar.gz | tar xf -
> $ cd php-4.2.1
> $ ./configure --with-pgsql
> --with-apache=/home/cmc/apache_1.3.26
> $ make
> 
> 
> we got the following error,
> 
> Making all in Zend
> make[1]: Entering directory
> `/home/cmc/php-4.2.1/Zend'
> /bin/sh ../libtool --silent --mode=compile gcc
> -DHAVE_CONFIG_H -I. -I.
> -I../main   -I../TSRM
>  -g -O2 -prefer-non-pic -static -c -o
> zend_language_parser.lo `test -f
> zend_language_parser.c || echo
> './'`zend_language_parser.c
> In file included from /usr/include/errno.h:36,
>                  from zend_operators.h:24,
>                  from zend_API.h:28,
>                  from zend_language_parser.c:151:
> /usr/include/bits/errno.h:25: linux/errno.h: No such
> file or directory
> make[1]: *** [zend_language_parser.lo] Error 1
> make[1]: Leaving directory
> `/home/cmc/php-4.2.1/Zend'
> make: *** [all-recursive] Error 1
> 
> 
> Make fails for apache too with different errors.
> 
> 
> Please advise us what could be the problem. I am a
> relatively newbie in apache & php.
> 
> 
> 
> thanx
> james
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
--- End Message ---

Reply via email to