php-install Digest 31 Oct 2001 16:54:46 -0000 Issue 531

Topics (messages 4797 through 4805):

OSF1 INSTALL
        4797 by: Thomas Holton

FREE MEMBERSHIP (ADULTS)                         10113
        4798 by: leslieann4587.yahoo.com

any extra work need to make php mysql function available?
        4799 by: JIM
        4800 by: Perrin
        4803 by: JIM

Newbie struggling at the starting gate ;-)
        4801 by: J W W L (Warwick) Berg
        4802 by: Frank S. Bernhardt
        4804 by: Simon Thackeray

Installed PHP4 And Apache on Debian
        4805 by: USFF

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]


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



Hello,
I have succesfully compiled PHP 4.0.6 on an Alpha running OSF1 version
5.1, so it is brand new.
Interestingly, I had to make a change in the source to do this, which was
to comment out a declaration of an inline function.
Configuration proceeded properly, but upon making, this is error reported:

cc: Error: scanf.h, line 49: There is no definition for the inline
function named scan_set_error_return in this compilation unit. (noinlfunc)
inline void scan_set_error_return(int numVars,pval **return_value);

After checking around and finding no answers, i chose to comment this line
in scanf.h out and it compiled.

PHP has tested succesfully on our new server.

I hope this information will aid someone else.




..






TO THE 9 BEST PORN SITES ON THE WEB

http://www.geocities.com/horstyqse/

JUST CLICK THE ABOVE LINK TO GET YOUR 
FREE HARDCORE ACCEESS
AND I'LL SEE YOU INSIDE


WARNING:  This site contains explicit sexual material.
                      You must be 18 or older to proceed.


To be taken off this list please respond with "GET ME OFF" in the sub ject













HEY SEXY,   COME PLAY WITH ME
GET YOUR FREE VIP PASS







hi all,
i am using redhat. i am able to run php script thro' webpage. but, failed to
use mysql functions in php. is there any extra work need to initialize these
functions?
my code and error are shown as below,
code ****************************

<?
echo " text generated by php <br>\n";
echo $rmnum;
printf(" b4 connected <br>\n");
$link=mysql_pconnect("192.168.0.101", "chaze", "sochausee") or die
("failed");
mysql_select_db("stjohn");
?>

result ****************************

text generated by php
b4 connected

Fatal error: Call to undefined function: mysql_pconnect() in
/home/chaze/public_html/sjc/energy.php on line 7

****************************
any comments?
thanks,
jim







Hi JIM,

When you install php, you need to enable the mysql function ! So I think that you need 
re-compile the php again 
-- like that  
                    ./configure --with-apache=/path/to/apache
                     --with-mysql=/path/to/mysql
                     . . . . . . and so on

-- For example you install mysql on /usr/local/mysql path

                    ./configure --with-apache=/path/to/apache
                     --with-mysql=/usr/local/mysql
                     . . . . . . and so on

Good Luck
Perrin


-----Original Message-----
From: JIM [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 31, 2001 9:50 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] any extra work need to make php mysql function
available?


hi all,
i am using redhat. i am able to run php script thro' webpage. but, failed to
use mysql functions in php. is there any extra work need to initialize these
functions?
my code and error are shown as below,
code ****************************

<?
echo " text generated by php <br>\n";
echo $rmnum;
printf(" b4 connected <br>\n");
$link=mysql_pconnect("192.168.0.101", "chaze", "sochausee") or die
("failed");
mysql_select_db("stjohn");
?>

result ****************************

text generated by php
b4 connected

Fatal error: Call to undefined function: mysql_pconnect() in
/home/chaze/public_html/sjc/energy.php on line 7

****************************
any comments?
thanks,
jim




-- 
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 Perrin,
  i am a amateur. i can only install with rpm. can i implement it with rpm
package?
thanks,
jim


"Perrin" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D
:[EMAIL PROTECTED]
> Hi JIM,
>
> When you install php, you need to enable the mysql function ! So I think
that you need re-compile the php again
> -- like that
>                     ./configure --with-apache=/path/to/apache
>                      --with-mysql=/path/to/mysql
>                      . . . . . . and so on
>
> -- For example you install mysql on /usr/local/mysql path
>
>                     ./configure --with-apache=/path/to/apache
>                      --with-mysql=/usr/local/mysql
>                      . . . . . . and so on
>
> Good Luck
> Perrin
>
>
> -----Original Message-----
> From: JIM [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 31, 2001 9:50 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] any extra work need to make php mysql function
> available?
>
>
> hi all,
> i am using redhat. i am able to run php script thro' webpage. but, failed
to
> use mysql functions in php. is there any extra work need to initialize
these
> functions?
> my code and error are shown as below,
> code ****************************
>
> <?
> echo " text generated by php <br>\n";
> echo $rmnum;
> printf(" b4 connected <br>\n");
> $link=mysql_pconnect("192.168.0.101", "chaze", "sochausee") or die
> ("failed");
> mysql_select_db("stjohn");
> ?>
>
> result ****************************
>
> text generated by php
> b4 connected
>
> Fatal error: Call to undefined function: mysql_pconnect() in
> /home/chaze/public_html/sjc/energy.php on line 7
>
> ****************************
> any comments?
> thanks,
> jim
>
>
>
>
> --
> 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 all

Sorry about what is probably a total dickhead about to enter your midst, 
but I've never installed php or seen it much at all before but am trying to 
do it now.

Using RH 7.1 and Apache 1.3.19

Want to install php4 and mysql combo and totally ignorant.

Installed php rpm.

Restarted apache in case that was needed.

made hello.php  and pointed browser at it.

Got the text, rather than executing it.

Can I surmise that apache isn't set up properly, and if so, could someone 
please point me towards relevant assistance. Got really confused with the 
"manual", etc. Not that bright I suppose ;-)

Thanks in advance
Warwick






Did you add:

    AddType application/x-httpd-php .php

to the httpd.conf file then restart apache?

"J W W L (Warwick) Berg" wrote:

> Hi all
>
> Sorry about what is probably a total dickhead about to enter your midst,
> but I've never installed php or seen it much at all before but am trying to
> do it now.
>
> Using RH 7.1 and Apache 1.3.19
>
> Want to install php4 and mysql combo and totally ignorant.
>
> Installed php rpm.
>
> Restarted apache in case that was needed.
>
> made hello.php  and pointed browser at it.
>
> Got the text, rather than executing it.
>
> Can I surmise that apache isn't set up properly, and if so, could someone
> please point me towards relevant assistance. Got really confused with the
> "manual", etc. Not that bright I suppose ;-)
>
> Thanks in advance
> Warwick
>
> --
> 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]

--

Regards

Frank S. Bernhardt
b.c.s.i.
14 Halton Court
Markham, ON.
L3P 6R3

905-471-1691 Voice
905-471-3016 FAX

[EMAIL PROTECTED]

S/MIME Cryptographic Signature





Hi

Did you check that the php4 module is loaded in httpd.conf?

Simon

-----Original Message-----
From: J W W L (Warwick) Berg [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 31, 2001 05:32
To: [EMAIL PROTECTED]
Subject: [PHP-INST] Newbie struggling at the starting gate ;-)


Hi all

Sorry about what is probably a total dickhead about to enter your midst,
but I've never installed php or seen it much at all before but am trying to
do it now.

Using RH 7.1 and Apache 1.3.19

Want to install php4 and mysql combo and totally ignorant.

Installed php rpm.

Restarted apache in case that was needed.

made hello.php  and pointed browser at it.

Got the text, rather than executing it.

Can I surmise that apache isn't set up properly, and if so, could someone
please point me towards relevant assistance. Got really confused with the
"manual", etc. Not that bright I suppose ;-)

Thanks in advance
Warwick



--
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]







Whenever I attempt to load a page it asks me to downlad it rather than just
view it

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

That is what I have in the httpd.conf

Any ideas?




Reply via email to