php-install Digest 17 Sep 2001 15:36:49 -0000 Issue 462

Topics (messages 4313 through 4322):

Upgrading PHP Doesn't Work
        4313 by: Brodie

Re: failed compile
        4314 by: Data Driven Design
        4315 by: Jani Taskinen

RH 7.1 Apache PHP4 install problem
        4316 by: cstranslations

Simple .php page redirect
        4317 by: Steve B
        4318 by: Stefanos I. Dimitriou

How to compile PHP modules
        4319 by: Martin Pavlas

Re: phpinfo reports wrong version of apache
        4320 by: Martin Pavlas

IIS, PHP4, OCI8
        4321 by: Matthew Walden

Re: php + gd lib
        4322 by: Jeremy Wadsack

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]


----------------------------------------------------------------------


I am running RH7.1

My httpd works great with php but it doesn't have mysql support. The system
is running PHP Version 4.0.4pl1

I d/l Version 4.0.6 ran ./configure with apache and mysql and worked great.
Then ran make and then make install. No problems to this point.

After all is said and done and I run phpinfo() it comes up PHP Version
4.0.4pl1 **NOT** Version 4.0.6. I noticed that make never made a bin file.

Anyone help with this? What am I doing wrong? How can I get mysql running
with php?

Thanks in advance






What is that and where do I get it?

Data Driven Design
1506 Tuscaloosa Ave
Holly Hill, Florida 32117

http://www.datadrivendesign.com
Phone: (386) 226-8979

Websites That WORK For You
----- Original Message ----- 
From: "Jani Taskinen" <[EMAIL PROTECTED]>
To: "Data Driven Design" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, September 16, 2001 8:49 PM
Subject: Re: [PHP-INST] failed compile


> 
> Just install the flex rpm.
> 
> --Jani
> 
> 







It comes with your distribution CD.

--Jani


On Sun, 16 Sep 2001, Data Driven Design wrote:

>What is that and where do I get it?
>
>Data Driven Design
>1506 Tuscaloosa Ave
>Holly Hill, Florida 32117
>
>http://www.datadrivendesign.com
>Phone: (386) 226-8979
>
>Websites That WORK For You
>----- Original Message -----
>From: "Jani Taskinen" <[EMAIL PROTECTED]>
>To: "Data Driven Design" <[EMAIL PROTECTED]>
>Cc: <[EMAIL PROTECTED]>
>Sent: Sunday, September 16, 2001 8:49 PM
>Subject: Re: [PHP-INST] failed compile
>
>
>>
>> Just install the flex rpm.
>>
>> --Jani
>>
>>
>
>





I'm new to Lunix and am trying to get Apache/PHP4 working. This is under
Redhat 7.1. I've downloaded Apache 1.3.20 and PHP 4.0.6 source(s). I've been
reading "Lunix Apache Web Server Administration" (Aulds) and "Professional
PHP Programming" (Castagnetto, Rawat, Schumann, Scollo, Veliath) chap 2.

Been going around in circles for a couple days with no joy. What I've
attempted is roughly along these lines (typing this longhand):

cd /usr/local/src
tar -xvf /root/apache_1.3.20.tar
tar -xvf /root/php-4.0.6.tar

cd apache_1.3.20
./configure --prefix=/usr/local/apache \
   --enable-module=most \
   --enable-shared=max

cd ../php-4.0.6
./configure --with-apache=../apache_1.3.20
make
make install

cd ../apache_1.3.20
./configure --active-module=src/modules/php4/libphp4.a \
   --prefix=/usr/local/apache \
   --enable-module=most \
   --enable-shared=max
make
make install

Everything seems to go O.K but...

httpd -l gives me:

Compiled-in modules:
  http_core.c
  mod_so.c
suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec

(and I of course end up with PHP script in the browser). Date/time on httpd
is what I expect.

Can someone out there tell me what I'm doing wrong????

TIA
Joe






Hi folks

I'm sure this will seem like a stupid question to many, but I'm simply
trying to do a simply php redirect to another php page.  How is this done?

In this example, my site had a php file in one directory and it has now
moved elsewhere, how can I make a simple redirect so people are pointed to
the right page?

Thanks








> hello,

 it is very possible to redirect with just some html code...
 <body onload="use java code to open page">
 i.e. the location might work, onload="location='../folder/file'"

 i hope this can help you

 ----- Original Message -----
 From: "Steve B" <[EMAIL PROTECTED]>
 To: <[EMAIL PROTECTED]>
 Sent: Monday, September 17, 2001 9:48 AM
 Subject: [PHP-INST] Simple .php page redirect


 > Hi folks
 >
 > I'm sure this will seem like a stupid question to many, but I'm simply
 > trying to do a simply php redirect to another php page.  How is this
done?
 >
 > In this example, my site had a php file in one directory and it has now
 > moved elsewhere, how can I make a simple redirect so people are pointed
to
 > the right page?
 >
 > Thanks
 >
 >
 >
 >
 > --
 > PHP Install Mailing List (http://www.php.net/)
 > To unsubscribe, e-mail: [EMAIL PROTECTED]
 > For additional commands, e-mail: [EMAIL PROTECTED]
 > To contact the list administrators, e-mail: [EMAIL PROTECTED]






Hi, 

I'm using PHP as .so module (libphp4.so) on apache 1.3.14 on Linux. If I
use any external library (extension) for PHP (like MySQL, IMAP, GD,
etc.), all these libraries are compiled into this .so file. I'm using
this configure file: 

"./configure" \ 
"--with-apxs=/usr/local/apache/bin/apxs" \ 
"--with-curl" \ 
"--with-imap=/usr/local/lib" \ 
"--with-mcrypt" \ 
"--with-mysql=/usr/local" \ 
"--enable-trans-sid" \ 
"$@" 

How can I create these extensions to compile as .so modules as well and
load them in php.ini with extension=xxx.so? It's pain to recompile the
whole PHP when I need to upgrade only one extension. It seems like
--enable-shared is not doing what I want? Or I'm wrong? 

BTW: 
what is --enable-sysvsem --enable-sysvshm doing? Shall I use it on Linux
(Intel Pentium II)? 

Thanks a lot. 
Martin 

-- 
Martin Pavlas
ParsCom IS s.r.o.
http://www.parscom.cz




Floyd Miller wrote:
> 
> I have upgraded from apache 1.3.19 to 1.3.20 and recompiled and
> installed PHP 4.0.6
> but phpinfo() still reports the Apache version as 3.1.19.  Running httpd
> -v reports
> 1.3.20.  Where does phpinfo() get its information from and why wouldn't
> it be undated?
> 
> Thanks.

Hi,

>From my experience, phpinfo (or the PHP module) remembers some
information about itself and the apache from the previous build. If you
want phpinfo to show the exact information, before "make" use "make
clear". Then phpinfo will show the correct information.

This also happens when you add some configuration option (ex.
--with-something) and do just "make". Then phpinfo won't show this new
optin in the Configure Command in phpinfo. But if you use make clear and
make, everything is shown correctly.

Martin

-- 
Martin Pavlas
ParsCom IS s.r.o.
http://www.parscom.cz




Hi,

I am trying to get PHP installed and working on the platform as
described in the subject.  It works fine until I uncomment the line in
the php.ini file which loads the OCI8 extension.  After that, any client
attempting to view any php file on the webserver gets no reponse at all.

The correct extensions path has been declared and the dll is in that
folder.

Are there any known problems or common mistakes I could be encountering?






Gio ([EMAIL PROTECTED]):

> I have an internet  server running red hat 7.1.
> Php is installed and running.
> My problem is that for some applications i need the gd lib,
> the file gd.so is present on the server but there is no way
> to make it run.
> Can someone help me please?

Rebuild PHP with --with-gd on the configure line.


-- 

Jeremy Wadsack
Wadsack-Allen Digital Group



Reply via email to