08-28-2012
OK thanks for the piece of advice!
But now let's say I would like to become knowledgeable enough to become close to a MySQL builder.
Anyone with some reading recommendations on top of official website and forum?
Same ambition for Apache and PHP.
Thanks again for your help and keep up the great work!
Cheers,
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi there, I've got a debian 3.1r4 half working (no x yet :P)
I need some pointers for installing a Apache - MySQL - PHP configuration on my box, and set them up to work together. I know to use vim a bit :)
I would like something that is similar to tanguay.at, or even simpler, since I'm a real... (1 Reply)
Discussion started by: izua
1 Replies
2. UNIX for Advanced & Expert Users
How does everyone else handle this?
My Setup:
Server A:
CentOS 5.x
10.0.0.1
Apache
MySQL Master
Server B:
CentOS 5.x
10.0.0.2
Apache
MySQL Slave
My Domains:
dom1.com A record: 10.0.0.1
A Record: 10.0.0.2
dom2.com A record: 10.0.0.1
A Record: 10.0.0.2 (3 Replies)
Discussion started by: Ikon
3 Replies
3. Web Development
Hi all,
My company run a CMS (typo3) on LAMP on RH linux.
Basically all users have same typo3 page as home page and thousands of users starts their browser every morning causing server very slow or even to hang (swap full because of too many apache processes)..
99% of the traffic is this... (13 Replies)
Discussion started by: manifesto
13 Replies
4. UNIX for Advanced & Expert Users
Hello Everyone,
This post is a result of my search and quest to build a Unix Server at Home. I am familiar with the most of the systems such as, Solaris 10, HP-UX & Linux.
Can somebody help me with more information about How to Build a Unix Server right from Fundamentals.... ?
I have... (5 Replies)
Discussion started by: Vabiosis
5 Replies
5. Solaris
Hello Everybody,
Does anybody know or recommend me a tutorial for LAMP server on Solaris 10 x86? (3 Replies)
Discussion started by: ahmedamer12
3 Replies
6. Web Development
I'm afraid I'm going to have to migrate our entire website from Linux. There have been a number of irregularities in our MySQL database and the system that we have set up -probably isn't scalable.
Since my manager is re-envisioning (taking the moment to re-engineer) -he wants to move the... (5 Replies)
Discussion started by: Astrocloud
5 Replies
7. Programming
Hello All,
I need a good lamp(linux, apache, mysql, php) tutorial for web development. I searched in net but not finding suitable one. suggest me something. (3 Replies)
Discussion started by: amisubha
3 Replies
8. HP-UX
Dear Folks,
How to Install LAMP on HP-UX system. Please Guide.
Regards,
KRISHNA (2 Replies)
Discussion started by: krishna.lu
2 Replies
9. UNIX for Advanced & Expert Users
How do I install a LAMP server on a new installation of Debian 9 using the lalest versions of
AMP?
Here is what I have.
Corrections please.
MYSQL
apt-get install mysql-server mysql-client
You can verify the MySQL server status using command:
systemctl status mysql
-------
PHP7... (0 Replies)
Discussion started by: Meow613
0 Replies
10. UNIX for Advanced & Expert Users
Dear All,
I'm using AWS EC2 instance for my application. My application is high disk I/O based and EFS could not be used in my case.
So, i need to build my own NFS server on Ec2 instance. I'm looking for High availability solution for my disk which i shared for NFS. Looking for builtin... (5 Replies)
Discussion started by: Bala
5 Replies
LEARN ABOUT PHP
mysql_pconnect
MYSQL_PCONNECT(3) 1 MYSQL_PCONNECT(3)
mysql_pconnect - Open a persistent connection to a MySQL server
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_connect(3) with
p: host prefix
o PDO::__construct with PDO::ATTR_PERSISTENT as a driver option
resource mysql_pconnect ([string $server = ini_get("mysql.default_host")], [string $username = ini_get("mysql.default_user")], [string
$password = ini_get("mysql.default_password")], [int $client_flags])
DESCRIPTION
Establishes a persistent connection to a MySQL server.
mysql_pconnect(3) acts very much like mysql_connect(3) with two major differences.
First, when connecting, the function would first try to find a (persistent) link that's already open with the same host, username and
password. If one is found, an identifier for it will be returned instead of opening a new connection.
Second, the connection to the SQL server will not be closed when the execution of the script ends. Instead, the link will remain open for
future use (mysql_close(3) will not close links established by mysql_pconnect(3)).
This type of link is therefore called 'persistent'.
o $server
- The MySQL server. It can also include a port number. e.g. "hostname:port" or a path to a local socket e.g. ":/path/to/socket"
for the localhost. If the PHP directive mysql.default_host is undefined (default), then the default value is 'localhost:3306'
o $username
- The username. Default value is the name of the user that owns the server process.
o $password
- The password. Default value is an empty password.
o $client_flags
- The $client_flags parameter can be a combination of the following constants: 128 (enable LOAD DATA LOCAL handling),
MYSQL_CLIENT_SSL, MYSQL_CLIENT_COMPRESS, MYSQL_CLIENT_IGNORE_SPACE or MYSQL_CLIENT_INTERACTIVE.
Returns a MySQL persistent link identifier on success, or FALSE on failure.
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 5.5.0 | |
| | |
| | This function will generate an E_DEPRECATED |
| | error. |
| | |
+--------+---------------------------------------------------+
Note
Note, that these kind of links only work if you are using a module version of PHP. See the Persistent Database Connections section
for more information.
Warning
Using persistent connections can require a bit of tuning of your Apache and MySQL configurations to ensure that you do not exceed
the number of connections allowed by MySQL.
Note
You can suppress the error message on failure by prepending a @ to the function name.
mysql_connect(3), Persistent Database Connections.
PHP Documentation Group MYSQL_PCONNECT(3)