CentOS - I don't see any php.ini file

pluk

Verified User
Joined
May 13, 2004
Messages
223
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
 
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
 
I got a problem with max_allowed_packet in MySQL. Any idea if I should fix the variables both in MySQL and PHP?
 
[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 ~]#
 
Back
Top