PDA

View Full Version : CentOS - I don't see any php.ini file


pluk
08-11-2006, 06:32 PM
I've done this...

UPDATEDB
locate php.ini

and gave

/usr/local/directadmin/customapache/php-4.4.2/php.ini-dist
/usr/local/directadmin/customapache/php-4.4.2/php.ini-recommended

Is one of this controlling the bootable default php.ini?

I need to increase the MYSQL variable ...problem with max_allowed_packet

jlasman
08-11-2006, 09:18 PM
On our CentOS 4-based servers the default php.ini should be installed at /usr/local/lib/php.ini.

Unless you're running Zend, in which case the file at /usr/local/lib/php.ini should be a symbolic link to /usr/local/Zend/etc/php.ini.

Jeff

pluk
08-12-2006, 02:32 AM
I got a problem with max_allowed_packet in MySQL. Any idea if I should fix the variables both in MySQL and PHP?

pluk
08-12-2006, 04:16 PM
[root@da1 ~]# php --version
PHP 4.4.2 (cli) (built: Jan 26 2006 13:52:30)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
[root@da1 ~]#


Does this mean it is running Zend?
[root@da1 ~]# php --version
PHP 4.4.2 (cli) (built: Jan 26 2006 13:52:30)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
[root@da1 ~]#