PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/suhosin/suhosin.so' - /usr/lib/php/modules/suhosin/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0
/usr/local/bin/els: line 2800: /usr/local/bin/phpize: No such file or directory
/usr/local/bin/els: line 2801: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
/bin/mkdir: cannot create directory `/usr/local/lib/php/suhosin': No such file or directory
mv: cannot stat `./modules/suhosin.so': No such file or directory
suhosin installation/update complete.
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/suhosin/suhosin.so' - /usr/lib/php/modules/suhosin/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0
[root@bawx bin]# whereis php.ini
php: /usr/bin/php /etc/php.ini /etc/php.d /usr/lib/php /usr/include/php /usr/share/man/man1/php.1.gz
[root@bawx bin]# grep "extension_dir =" /etc/php.ini
extension_dir = "/usr/lib/php/modules"
[root@bawx bin]# ls -la /usr/lib/php/modules/
total 2004
drwxr-xr-x 2 root root 4096 Mar 16 00:49 .
drwxr-xr-x 5 root root 4096 Mar 14 19:45 ..
-rwxr-xr-x 1 root root 1719696 Sep 20 22:23 mbstring.so
-rwxr-xr-x 1 root root 106220 Sep 20 22:23 mysqli.so
-rwxr-xr-x 1 root root 49028 Sep 20 22:23 mysql.so
-rwxr-xr-x 1 root root 23532 Sep 20 22:23 pdo_mysql.so
-rwxr-xr-x 1 root root 82420 Sep 20 22:23 pdo.so
-rwxr-xr-x 1 root root 19916 Sep 20 22:23 pdo_sqlite.so
-rwxr-xr-x 1 root root 13004 Feb 22 06:53 phpcups.so
iptables v1.3.5: Unknown arg `--set-tos'
iptables v1.3.5: Unknown arg `--set-tos' // everytime i start fresh from APF using ELS
you need to replace TOS_DEF_TOS with TOS_DEF in conf.apf
>els --mysqloptimizedb
This feature can optimize and repair all the MySQL database tables.
Proceed? (y/n): y
mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) when trying to connect
Done.
>els --optimizemysqlconf
/usr/local/bin/els: line 1856: /bin/rpm: No such file or directory
This feature can secure and optimize your MySQL configuration.
Proceed? (y/n): y
Checking MySQL version. This may take a few seconds...
MySQL was not detected.
Please ensure the MySQL-server RPM package is installed.