php-install Digest 13 Dec 2002 01:36:46 -0000 Issue 1159

Topics (messages 9366 through 9378):

mySQL with PHP
        9366 by: CSParker1.aol.com
        9367 by: Aaron Wolski
        9368 by: CSParker1.aol.com
        9369 by: Chris Hewitt
        9370 by: CSParker1.aol.com
        9371 by: CSParker1.aol.com
        9372 by: Chris Hewitt
        9373 by: CSParker1.aol.com

Install issue
        9374 by: Paul Ennis
        9375 by: Paul Ennis
        9376 by: Paul Ennis

Apache2 and PHP issues again....
        9377 by: Matt Blecha
        9378 by: Be.eR

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 ---
What do I edit in the "php.ini" to enable the mySQL functions?

Thanks,
Chris
--- End Message ---
--- Begin Message ---
PHP comes comes pre-builtin with MySQL - it is already enabled.

Aaron

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: December 12, 2002 1:45 PM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] mySQL with PHP

What do I edit in the "php.ini" to enable the mySQL functions?

Thanks,
Chris


--- End Message ---
--- Begin Message ---
The person who setup my server disabled it and I dont see where to enable it 
again...


In a message dated 12/12/2002 1:46:13 PM Eastern Standard Time, 
[EMAIL PROTECTED] writes:

> PHP comes comes pre-builtin with MySQL - it is already enabled.
> 
> Aaron
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
> Sent: December 12, 2002 1:45 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] mySQL with PHP
> 
> What do I edit in the "php.ini" to enable the mySQL functions?
> 
> Thanks,
> Chris
> 
> 
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


Christopher Parker
Senior Corporate Technical Specialist, Corporate Events
America Online Inc.
Phone: 703.265.5553
Fax: 703.265.2007
Cell: 703.593.3199


--- End Message ---
--- Begin Message ---
[EMAIL PROTECTED] wrote:

The person who setup my server disabled it and I dont see where to enable it again...

It is not something that can be enabled or disabled. Support for mysql is either compiled into PHP or it is not. The best way to find out whether it is there or not is to make a simple file:
<?php
phpinfo();
?>
call it phpinfo.php (assuming you webserver sends .php files to php), put it where your webserver can get at it and view it with your browser. It will give you all the information about how your php was configured, including whether there is mysql support or not.

HTH
Chris

--- End Message ---
--- Begin Message ---
Yes, I looked at that and didn't see anything related to mySQL???

In a message dated 12/12/2002 2:18:10 PM Eastern Standard Time, 
[EMAIL PROTECTED] writes:

> call it phpinfo.php (assuming you webserver sends .php files to php), 
> put it where your webserver can get at it and view it with your browser. 
> It will give you all the information about how your php was configured, 
> including whether there is mysql support or not.
--- End Message ---
--- Begin Message ---
Yes, I looked at that and didn't see anything related to mySQL???

In a message dated 12/12/2002 2:18:10 PM Eastern Standard Time, 
[EMAIL PROTECTED] writes:

> call it phpinfo.php (assuming you webserver sends .php files to php), 
> put it where your webserver can get at it and view it with your browser. 
> It will give you all the information about how your php was configured, 
> including whether there is mysql support or not.
--- End Message ---
--- Begin Message ---
[EMAIL PROTECTED] wrote:

Yes, I looked at that and didn't see anything related to mySQL???

In a message dated 12/12/2002 2:18:10 PM Eastern Standard Time, [EMAIL PROTECTED] writes:

call it phpinfo.php (assuming you webserver sends .php files to php),
At the top, in the"Configure Command" cell will be "--with-mysql", there may be an equals sign and directory. Further down will be an entire table entitled "mysql".

If you do not have these then your PHP does not have mysql support and would need reconfiguring (with the --with-mysql parameter as well as any others you currently have) then recompiling and installing.

Regards

Chris


--- End Message ---
--- Begin Message ---
In a message dated 12/12/2002 3:08:07 PM Eastern Standard Time, 
[EMAIL PROTECTED] writes:

> At the top, in the"Configure Command" cell will be "--with-mysql", there 
> may be an equals sign and directory. Further down will be an entire 
> table entitled "mysql".
> 
> If you do not have these then your PHP does not have mysql support and 
> would need reconfiguring (with the --with-mysql parameter as well as any 
> others you currently have) then recompiling and installing.
> 
> Regards
> 
> Chris
> 

This is what I have in that box:

'./configure' '--prefix=/opt/bcs/packages/apache-1.3.26' 
'--with-config-file-path=/opt/bcs/packages/apache-1.3.26/lib' 
'--with-apxs=/opt/src/RPM/BUILD/apache/apache-root/opt/bcs/packages/apache-1.3

.26/bin/apxs' '--with-sybase-ct=/data/sybase' '--enable-ftp' 
'--with-openssl=/opt/bcs/packages/openssl-0.9.6e' '--with-gdbm=/opt/bcs' 
'--with-zlib=/opt/bcs' '--with-expat-dir=/opt/bcs/packages/expat-1.95.1' 
'--with-mysql=shared,/opt/bcs' '--with-pgsql=shared,/opt/bcs'   

There is something at the bottom about mySQL, does this mean its there?
--- End Message ---
--- Begin Message ---
>  <<...OLE_Obj...>> 
> 
> 
 I am installing on   AIX version 4.3. 3, and I get the error above.  
I used the following configure options:

./configure --with-mysql=/usr/local/sql



Thanks
PKE








>  
>   
> 
> 
--- End Message ---
--- Begin Message ---
>  I am installing on   AIX version 4.3. 3, and I get the error above.  
> I used the following configure options:
> 
> ./configure --with-mysql=/usr/local/sql
> 
> Thanks
> PKE
> 
> 
>  <<...OLE_Obj...>> 
> 
> 
> 
> 
>  
>   
> 
> 
--- End Message ---
--- Begin Message ---
 <<...OLE_Obj...>> 




>  I am installing on   AIX version 4.3. 3, and I get the error above.  
> I used the following configure options:
> 
> ./configure --with-mysql=/usr/local/sql
> 
> Thanks
> PKE
> 

--- End Message ---
--- Begin Message --- Hey guys....


I have installed php-4.2.3 and apache 2.0.43, when I use the SetInputFilter/SetOutputFilter directives, I get "[error] an unknown filter was not added: php" and when I try to set PHP to load under the AddType definition from the PHP FAQ, my browser wants to save the php file... Any ideas?


-Matt

--- End Message ---
--- Begin Message ---
does anyone understand how to unsubscribe this mailing?
pls


----- Original Message ----- 
From: "Matt Blecha" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 13, 2002 9:02 AM
Subject: [PHP-INST] Apache2 and PHP issues again....


> Hey guys....
> 
> 
>     I have installed php-4.2.3 and apache 2.0.43, when I use the 
> SetInputFilter/SetOutputFilter directives, I get "[error] an unknown 
> filter was not added: php" and when I try to set PHP to load under the 
> AddType definition from the PHP FAQ, my browser wants to save the php 
> file... Any ideas?
> 
> 
> -Matt
> 
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> 

--- End Message ---

Reply via email to