Maybe you have something configured differently ? You source compiling ? Or using prebuilt RPMs ?
With OLS 1.2.4, for me default PHP install out of box is still missing any php.ini as it doesn't get copied to the right place at /usr/local/lsws/lsphp5/lib.
Edit: I see why it's blank it's gone to /usr/local/lsws/php/php.ini
But with my source compiled OLS via git repository and customised PHP configuration's I copy over the php.ini-production file to the right place. OpenLiteSpeed with PHP 5.4.18 + APC 3.1.15 dev and Memcache PHP extension 3.0.7
Code:
/usr/local/lsws/lsphp5/bin/php -v
PHP 5.4.18 (cli) (built: Aug 23 2013 18:59:00)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
Code:
/usr/local/lsws/lsphp5/bin/php -i | egrep 'php.ini|/openlitespeed/php.d/'
Configuration File (php.ini) Path => /usr/local/lsws/lsphp5/lib
Loaded Configuration File => /usr/local/lsws/lsphp5/lib/php.ini
Additional .ini files parsed => /openlitespeed/php.d/apc.ini,
/openlitespeed/php.d/memcache.ini
Code:
/usr/local/lsws/lsphp5/bin/php -i | grep -A8 'APC Support'
APC Support => enabled
Version => 3.1.15-dev
APC Debugging => Disabled
MMAP Support => Enabled
MMAP File Mask =>
Locking type => pthread mutex Locks
Serialization Support => php
Revision => $Revision: 330418 $
Build Date => Aug 23 2013 18:59:24
Code:
/usr/local/lsws/lsphp5/bin/php -i | grep -A15 'memcache support'
memcache support => enabled
Version => 3.0.7
Revision => $Revision: 326387 $
Directive => Local Value => Master Value
memcache.allow_failover => 1 => 1
memcache.chunk_size => 32768 => 32768
memcache.compress_threshold => 20000 => 20000
memcache.default_port => 11211 => 11211
memcache.hash_function => crc32 => crc32
memcache.hash_strategy => consistent => consistent
memcache.lock_timeout => 15 => 15
memcache.max_failover_attempts => 20 => 20
memcache.protocol => ascii => ascii
memcache.redundancy => 1 => 1
memcache.session_redundancy => 2 => 2
I'm using
LSWSHOME='/usr/local/lsws'
LIBDIR='lib64'
With --with-config-file-scan-dir=/openlitespeed/php.d set to drop in and load PHP extension *.ini files separately from main php.ini
Code:
./configure --prefix=${LSWSHOME}/lsphp5 --with-mcrypt --with-mhash --with-zlib --with-gettext --enable-exif --enable-zip --with-bz2 --enable-soap --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-shmop --with-pear --enable-mbstring --with-openssl --with-mysql=mysqlnd --with-libdir=${LIBDIR} --with-mysqli=mysqlnd --with-mysql-sock --with-curl --with-gd --with-xmlrpc --enable-bcmath --enable-calendar --enable-ftp --enable-gd-native-ttf --with-freetype-dir=${LIBDIR} --with-jpeg-dir=${LIBDIR} --with-png-dir=${LIBDIR} --with-xpm-dir=${LIBDIR} --enable-pdo --with-pdo-sqlite --with-pdo-mysql=mysqlnd --enable-inline-optimization --with-imap --with-imap-ssl --with-kerberos --enable-posix --enable-xml --with-libexpat-dir=/usr --with-config-file-scan-dir=/openlitespeed/php.d --with-litespeed