02-11-2001
Here is our link to the PHP book on Fatbrain:
http://www1.fatbrain.com/asp/BookInf...63&from=HAN515
This is the book I used to get up PHP+Apache. As I recall, I was able to get it up and running very quickly after getting the book. I think they explain in better detail than the README, plus I need the MySQL info and they have a chapter on installing MySQL as well. This forum runs on Apache with PHP and MySQL, BTW.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi, i'm compiling apache with php module after i finish compile mysql-4.0.0-alpha.
i do it as the follow steps after untar'ed them in the same directory,
1) cd apache_1.3.22
./configure
2) cd php-4.0.6
./configure --with-mysql=/usr/local/mysql \
--with-apache=../apache_1.3.22 \... (2 Replies)
Discussion started by: jApHEth
2 Replies
2. Linux
Hi all,
I am working on USB data monitoring on Fedora Core 9. Kernel 2.6.25 has a built-in module (the one that isn't loadable, but compiles and links statically with the kernel during compilation) to snoop USB data. It is in <kernel_source_code>/drivers/usb/mon/.
I need to know if I can... (0 Replies)
Discussion started by: anitemp
0 Replies
3. Shell Programming and Scripting
Hi,
Please help me!!
Im wondering if anyone can help me with a problem i have with some perl modules.
My problem is:
I'm trying to connect remote host to a unix box from a windows machine. So i'm developing an application to do this.
I'm programming it in perl with tcl/tk Gui interface.... (13 Replies)
Discussion started by: Phi01
13 Replies
4. Solaris
Hi
I'm trying to do an upgrade for one application and whenever I run the upgradre the program shows the error that mcrypt module is not initially loaded with php.
My server is running xampp 0.9 and I know this library of mcrypt is already installed.
I changed the php.ini file in order to... (0 Replies)
Discussion started by: dahr
0 Replies
5. Red Hat
Hello friends
Today i have changed my passwd policy for strong password
Everything is working correctly but when i changed my password , it did not ask me my old password
my /etc/pam.d/system-auth file is (only passwdqc.so module line)
password required pam_passwdqc.so retry=3... (0 Replies)
Discussion started by: rink
0 Replies
6. Solaris
Hi Guys,
I am using SOLARIS 10 and I want to install ZIP module for PHP.
I went to this link http://pecl.php.net/package/zip and I choose zip-1.12.3.tgz, the latest "stable" release, and then transferred it to my server.
Then I went to my path /usr/local/apache2/conf then untar the... (1 Reply)
Discussion started by: Phuti
1 Replies
7. Solaris
Hi,
I need to install php 5.5.30 as an apache (2.4.17) module on Solaris 10.
Please any help is wellcome.
Some aditional info:
/usr/sfw/bin/gcc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
bash-3.2# g++ -v
Reading specs from... (0 Replies)
Discussion started by: lbslbs
0 Replies
8. Shell Programming and Scripting
Hi,
I need to install php 5.5.30 as an apache (2.4.17) module on Solaris 10.
Please any help is wellcome.
Some aditional info:
/usr/sfw/bin/gcc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
bash-3.2# g++ -v
Reading specs from... (1 Reply)
Discussion started by: lbslbs
1 Replies
LEARN ABOUT PHP
mysql_get_proto_info
MYSQL_GET_PROTO_INFO(3) 1 MYSQL_GET_PROTO_INFO(3)
mysql_get_proto_info - Get MySQL protocol info
SYNOPSIS
Warning
This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQL extension should
be used. See also MySQL: choosing an API guide and related FAQ for more information. Alternatives to this function include:
omysqli_get_proto_info(3)
int mysql_get_proto_info ([resource $link_identifier = NULL])
DESCRIPTION
Retrieves the MySQL protocol.
o $
link_identifier -The MySQL connection. If the link identifier is not specified, the last link opened by mysql_connect(3) is
assumed. If no such link is found, it will try to create one as if mysql_connect(3) was called with no arguments. If no connection
is found or established, an E_WARNING level error is generated.
Returns the MySQL protocol on success or FALSE on failure.
Example #1
mysql_get_proto_info(3) example
<?php
$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
if (!$link) {
die('Could not connect: ' . mysql_error());
}
printf("MySQL protocol version: %s
", mysql_get_proto_info());
?>
The above example will output something similar to:
MySQL protocol version: 10
mysql_get_client_info(3), mysql_get_host_info(3), mysql_get_server_info(3).
PHP Documentation Group MYSQL_GET_PROTO_INFO(3)