php-install Digest 19 Nov 2001 07:51:41 -0000 Issue 562

Topics (messages 5009 through 5018):

Re: Rights to dirs
        5009 by: chandra
        5011 by: Chris

Re: problem loading .php3
        5010 by: chandra
        5012 by: Chris
        5013 by: chandra
        5014 by: Chris

Re: Install php4.0.6 with Oracle9i in Linux Redhat7.2(Kernel   2.4.9-13)
        5015 by: Kexiao Liao

RPM Installation Did Not Install PHP Modules
        5016 by: Gabriel Richards
        5017 by: Chris

php installed but vars not passing??
        5018 by: onion

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 ---
I´ve php4 installed in my Red Hat 7.2 linux server and I´m sure I
have everything properly installed (php and apache) according to the
manuals and  comments that I found in this site... the problem is
that when I try to open a php4 page in the server, I get the error

cannot load MySQL extension,
please check PHP Configuration.

the browser download a normal .php file fine

Can someone please help

Thanks



--- End Message ---
--- Begin Message ---
Hello,
 You will find the answer in your Apache Config file:
httpd.conf or httpsd.conf, depenpending on if you are
using ssl or not. The line to look for is:

   AddType application/x-httpd-php .php
   AddType application/x-httpd-php .php4
   AddType application/x-httpd-php-source .phps

If .php works already, as you mention. Look for the line:

AddType application/x-httpd-php .php

and add one that reads:

AddType application/x-httpd-php .php4

That'll do it. :-)

Best Wishes,
 Chris

> I´ve php4 installed in my Red Hat 7.2 linux server and I´m sure I
> have everything properly installed (php and apache) according to the
> manuals and  comments that I found in this site... the problem is
> that when I try to open a php4 page in the server, I get the error
> 
> cannot load MySQL extension,
> please check PHP Configuration.
> 
> the browser download a normal .php file fine
> 
> Can someone please help
> 
> 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]




............................................
This email was sent using DNSWATCH WebMail.
   "Get an account today!"
http://www.dnswatch.com/dnswm106/


--- End Message ---
--- Begin Message ---
I´ve php4 installed in my Red Hat 7.2 linux server and I´m sure I
have everything properly installed (php and apache) according to the
manuals and  comments that I found in this site... the problem is
that when I try to open a php3 extension page in the server, I get the error

cannot load MySQL extension,
please check PHP Configuration.

the browser download a normal .php file fine

Can someone please help

Thanks




--- End Message ---
--- Begin Message ---
Hello,
 I actually *already* answered this for you in your
Re: [PHP-INST] problem loading .php4 question. But in case you still
need an answer....

   AddType application/x-httpd-php3 .php3
   AddType application/x-httpd-php3-source .phps

to your httpd.conf or httpsd.conf file.

P.S. this *really* isn't a PHP question but an Apache question and
if I were you, I *definately* take some time and read the *wealth* of
documentation that comes with the Apache Server. It's all in HTML
and resides in your HTML tree.

Best wishes,
 Chris out...


> I´ve php4 installed in my Red Hat 7.2 linux server and I´m sure I
> have everything properly installed (php and apache) according to the
> manuals and  comments that I found in this site... the problem is
> that when I try to open a php3 extension page in the server, I get the
> error
> 
> cannot load MySQL extension,
> please check PHP Configuration.
> 
> the browser download a normal .php file fine
> 
> Can someone please help
> 
> 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]


-- 
Chris out...
       _________      __________        __________      _____________
      /   _____/\    /   ____   \      /   ______/\    /____    ____/\
     /   /\____\/   /   /\_ /   /\    /   / \____\/    \___/   /\___\/
    /   /_/__      /   /_/_/   / /   /   /__/_            /   / /
   /   _____/\    /   ____    / /    \_____    \         /   / /
  /   /\____\/   /   /\_ /   / /      \____\   /\       /   / /
 /   / /        /   / / /   / /   _________/  / /      /   / /
/___/ /        /___/ / /___/ /   /___________/ /      /___/ /
\___\/         \___\/  \___\/    \___________\/       \___\/.dnswatch.com
..

............................................
This email was sent using DNSWATCH WebMail.
   "Get an account today!"
http://www.dnswatch.com/dnswm106/


--- End Message ---
--- Begin Message ---
Hi Chris

Thanks for the info. I had already checked for those entries and they are
already in there. Any more suggestion.
As for looking up the Apache documentation. I did that and only after
struggling to make any head way did I decide to post my question here.

Regards

Chandra

> Hello,
>  I actually *already* answered this for you in your
> Re: [PHP-INST] problem loading .php4 question. But in case you still
> need an answer....
>
>    AddType application/x-httpd-php3 .php3
>    AddType application/x-httpd-php3-source .phps
>
> to your httpd.conf or httpsd.conf file.
>
> P.S. this *really* isn't a PHP question but an Apache question and
> if I were you, I *definately* take some time and read the *wealth* of
> documentation that comes with the Apache Server. It's all in HTML
> and resides in your HTML tree.
>
> Best wishes,
>  Chris out...
>
>
> > I´ve php4 installed in my Red Hat 7.2 linux server and I´m sure I
> > have everything properly installed (php and apache) according to the
> > manuals and  comments that I found in this site... the problem is
> > that when I try to open a php3 extension page in the server, I get the
> > error
> >
> > cannot load MySQL extension,
> > please check PHP Configuration.
> >
> > the browser download a normal .php file fine
> >
> > Can someone please help
> >
> > 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]
>
>
> --
> Chris out...
>        _________      __________        __________      _____________
>       /   _____/\    /   ____   \      /   ______/\    /____    ____/\
>      /   /\____\/   /   /\_ /   /\    /   / \____\/    \___/   /\___\/
>     /   /_/__      /   /_/_/   / /   /   /__/_            /   / /
>    /   _____/\    /   ____    / /    \_____    \         /   / /
>   /   /\____\/   /   /\_ /   / /      \____\   /\       /   / /
>  /   / /        /   / / /   / /   _________/  / /      /   / /
> /___/ /        /___/ / /___/ /   /___________/ /      /___/ /
> \___\/         \___\/  \___\/    \___________\/       \___\/.dnswatch.com
> ..
>
> ............................................
> This email was sent using DNSWATCH WebMail.
>    "Get an account today!"
> http://www.dnswatch.com/dnswm106/
>
>
>
> --
> 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]
>

--- End Message ---
--- Begin Message ---
> Hi Chris
> 
> Thanks for the info. I had already checked for those entries and they
> are already in there. Any more suggestion.

Ohhhh, hmmmm...
 Well, I *did* run into troubles when I renamed the php.ini-dist to
php.ini. It resulted in all the php to stop functioning correctly
(I guess the defaults aren't such a good set of defaults). Anyway,
I simply re-named it back to php.ini-dist (effectively Disabling
the options/ configuration via the .ini file) and let Apache deal
with it. As a matter of fact I'm writing this from my PHP/ IMAP
WebMail (which is the reason I started this whole "PHP" thing).
 Did you use the "RPM" method for your install? I'm running
FreeBSD 4.3 but I have seen/ experienced countless issues with RPM's
not correctly managing the dependancies. As a matter of fact, I just
finished Wiping a disk of a Linux install that got screwed-up because
of that 15 mins ago. :o( Anyway, just thought I'd ask.

> As for looking up the Apache documentation. I did that and only after
> struggling to make any head way did I decide to post my question here.

Ahhh... Please accept my appologies.

> 
> Regards
> 
> Chandra
> 
>> Hello,
>>  I actually *already* answered this for you in your
>> Re: [PHP-INST] problem loading .php4 question. But in case you still
>> need an answer....
>>
>>    AddType application/x-httpd-php3 .php3
>>    AddType application/x-httpd-php3-source .phps
>>
>> to your httpd.conf or httpsd.conf file.
>>
>> P.S. this *really* isn't a PHP question but an Apache question and if
>> I were you, I *definately* take some time and read the *wealth* of
>> documentation that comes with the Apache Server. It's all in HTML and
>> resides in your HTML tree.
>>
>> Best wishes,
>>  Chris out...
>>
>>
>> > I´ve php4 installed in my Red Hat 7.2 linux server and I´m sure I
>> > have everything properly installed (php and apache) according to the
>> > manuals and  comments that I found in this site... the problem is
>> > that when I try to open a php3 extension page in the server, I get
>> > the error
>> >
>> > cannot load MySQL extension,
>> > please check PHP Configuration.
>> >
>> > the browser download a normal .php file fine

When You say "download", you *do* mean Loads it into the browser,
don't you?

 Well, I sure hope that the php.ini file proves to be the answer
for you.

 Best wishes,
Chris

>> >
>> > Can someone please help
>> >
>> > 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]
>>
>>
>> ............................................
>> This email was sent using DNSWATCH WebMail.
>>    "Get an account today!"
>> http://www.dnswatch.com/dnswm106/
>>
>>
>>
>> --
>> 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]
>>
> 
> 
> -- 
> 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]



............................................
This email was sent using DNSWATCH WebMail.
   "Get an account today!"
http://www.dnswatch.com/dnswm106/


--- End Message ---
--- Begin Message ---
Hi,
    It seems that php4.0.6 cann't support oracle9i on Linux redhat7.2. After
insall/compile php4.0.6 successfully with oracle9i on Linux redhat7.2. The php
can't communiate with Oracle9i Server. However if we reinstall/recompile php4.0.6
with oracle8.1.7 on Linux redhat 7.0. The php can talk with Oracle9i Server
without any problems. I wonder if current php OCIlogon function need to be updated
in order make php 4.0.6 compatible with oracle9i.

Kexiao


"Thies C. Arntzen" wrote:

> On Thu, Nov 15, 2001 at 04:13:15PM -0800, Kexiao Liao wrote:
> > Hi Stephan,
> >     I upgraded binutils to Redhat 7.2 version, and successfully
> > install/compile php4.0.6. After the installation, libphp4.so was generated in
> > /opt/apache/libexec directory and /opt/apache/conf/httpd.conf was updated.
> >     However when I start apache server, I got some error messages:
> > ------------------------------------------------------------------
> > [root@hermes bin]$ ./apachectl start
> > Syntax error on line 236 of /opt/apache/conf/httpd.conf:
> > Cannot load /opt/apache/libexec/libphp4.so into server: libclntsh.so.9.0:
> > cannot open shared object file: No such file or directory
> > ./apachectl start: httpd could not be started
>
>     just add your $ORACLE_HOME/lib to /etc/ld.so.conf and run
>     ldconfig (as root)
>
>     tc
> >
> > -------------------------------------------------------------------
> >
> > I remembered there are some shared libraries need to add into php system. But
> > I can't remember them. Could you give me some suggestion? Thanks
> >
> > Kexiao
> >
> >
> > Jaeck Stephan wrote:
> >
> > > Hmmmm, did you install/compile with Oracle account?
> > > You must be root!
> > >
> > > Stephan
> > >
> > > -----Original Message-----
> > > From: Kexiao Liao [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, November 15, 2001 2:58 AM
> > > To: Jaeck Stephan
> > > Cc: [EMAIL PROTECTED]
> > > Subject: Re: [PHP-INST] Install php4.0.6 with Oracle9i in Linux
> > > Redhat7.2(Kernel 2.4.9-13)
> > >
> > > Dear Stephan,
> > >     I downloaded php-4.0.6-oci8-oracle9i.patch from below web site as you
> > > told
> > > me.
> > > ...
> >
> >
> > --
> > 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]
> >

--- End Message ---
--- Begin Message ---
I installed PHP/Apache/MySQL via the Red Hat installation process (7.2), but
Apache isn't processing PHP files, they show up as plain text in the
browser. I checked with the FAQ and related documentation which said to
ensure that the AddModule and LoadModule directives where there and not
commented out. They are there, although they are within <IfDefine HAVE_PHP>
tags. When I followed the path the modules are supposed to be in
(modules/mod_php.so for example), I discovered there were no php modules in
/etc/httpd/modules, nor any other place on my system (after a find...).

Why were these modules not installed? What should I do? I tried to build
from the source, but then I got some error after ./configure that says lex
command not found. What's lex?

Gabe

-----
Ender Technology
Websites, Database Applications, Hosting
(310) 516-7411
[EMAIL PROTECTED]
http://www.endertechnology.com/


--- End Message ---
--- Begin Message ---
Greetings,
 Don't ya just love that Linux RPM thing. :-\ Fortunately, they
seem to acknowledge the fact that it's screwed-up and are trying
something new... We'll see. Anyway, have you tried:
httpd -l
to see if Apache thinks the modules are available? It might be
a start. It should list the whole list of modules that it knows
of.

Best Wishes,
 Chris


> I installed PHP/Apache/MySQL via the Red Hat installation process
> (7.2), but Apache isn't processing PHP files, they show up as plain
> text in the browser. I checked with the FAQ and related documentation
> which said to ensure that the AddModule and LoadModule directives where
> there and not commented out. They are there, although they are within
> <IfDefine HAVE_PHP> tags. When I followed the path the modules are
> supposed to be in
> (modules/mod_php.so for example), I discovered there were no php
> modules in /etc/httpd/modules, nor any other place on my system (after
> a find...).
> 
> Why were these modules not installed? What should I do? I tried to
> build from the source, but then I got some error after ./configure that
> says lex command not found. What's lex?
> 
> Gabe
> 
> -----
> Ender Technology
> Websites, Database Applications, Hosting
> (310) 516-7411
> [EMAIL PROTECTED]
> http://www.endertechnology.com/
> 
> 
> 
> -- 
> 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]


-- 
Chris out...
       _________      __________        __________      _____________
      /   _____/\    /   ____   \      /   ______/\    /____    ____/\
     /   /\____\/   /   /\_ /   /\    /   / \____\/    \___/   /\___\/
    /   /_/__      /   /_/_/   / /   /   /__/_            /   / /
   /   _____/\    /   ____    / /    \_____    \         /   / /
  /   /\____\/   /   /\_ /   / /      \____\   /\       /   / /
 /   / /        /   / / /   / /   _________/  / /      /   / /
/___/ /        /___/ / /___/ /   /___________/ /      /___/ /
\___\/         \___\/  \___\/    \___________\/       \___\/.dnswatch.com
..

............................................
This email was sent using DNSWATCH WebMail.
   "Get an account today!"
http://www.dnswatch.com/dnswm106/


--- End Message ---
--- Begin Message ---
hi list,

new lurker here...

so i'm trying to config my IIS webserver to recognize and execute php
scripts... it's almost there but i'm having some probs. the server sees the
.php extension, and executes code inside the file. but, if i try to pass any
information/variable/whatever via an html form from one file to the next,
none of the values are picked up via file #2.

for example, here is a test html file i'm using:

<html><body>
<form action="myOutput.php" method="post">
Enter your name: <input type="text" name="myVar">
<br>
<input type="submit" value="send info"></form>
</body></html>

and the php action:

<html>
<body>
<?php
echo "Your name is: " . $myVar;
?>
</body>
</html>

in theory the form info is passed to the new file and included in output. on
my IIS webserver it is not.

anybody have a direction for me to look in? i'm new to the IISAdmin as well,
so please include all relevant info. thanks! \\ the onion

--- End Message ---

Reply via email to