Trying to install the sysadmin module in FreePBX, but it keeps giving this:
mkdir(): Permission denied
/var/www/html/admin/modules/sysadmin/install.php
the materials provided herewith, you agree to all of the terms of use as
outlined in our End User Agreement which can be found and reviewed at
www.schmoozecom.com/cmeula
<?PHP
exit();
__halt_compiler();
?>
2004072203655431310950331x�
I’ve tried running fwconsole chown to fix permissions, and it doesn’t help. Really stuck with this one. Apache is running as user asterisk as well.
I’m running on Fedora, PHP 5.6.22, Asterisk 13.9.1. Thanks for any suggestions.
Looks like somewhere in the process or trying to make this all work, I broke something nasty:
`[[email protected] asterisk] # fwconsole restart
Exception: could not find driver::could not find driver in file /var/www/html/admin/libraries/utility.functions.php on line 202
Stack trace:
Using amportal gives this: [[email protected] asterisk] # amportal start Please wait... /usr/sbin/amportal: line 44: Fatal: command not found /var/lib/asterisk/bin/freepbx_engine: line 133: Exception:: command not found **** WARNING: ERROR IN CONFIGURATION **** astrundir in '/etc/asterisk' is set to but the directory does not exist. Attempting to create it with: 'mkdir -p ' mkdir: missing operand Try 'mkdir --help' for more information. **** ERROR: COULD NOT CREATE **** Attempt to execute 'mkdir -p ' failed with an exit code of 1 You must create this directory and the try again.
I’ve done a dnf reinstall php php-common php-pdo php-mysqlnd and still having the same issue. Seems I just can’t get it to load pdo_mysql no matter what.
Edit: While supposedly php.ini is no longer used to load extensions, I did try it anyways, adding: extension="pdo.so" extension="pdo_mysql.so"
And now… [[email protected] freepbx] # /usr/bin/env php -m | grep -i pdo PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo.so: undefined symbol: zend_new_interned_string in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so: undefined symbol: mysqlnd_allocator in Unknown on line 0 PDO pdo_sqlite
Does this mean I cannot install it on CentOS 7 with php 5.4? How am I suppose to install the Endpoint Manager commercial module if I cannot install systemadmin?