New answers tagged

0

Finally after many hours of search and no one feedback, I was able to fix my issue. I am sharing here so it's might helps other in the future who are facing the same issue. First, you need to install yum replace : yum install yum-plugin-replace After replace, php-common with your confict php version. In my case, it is php70u-common. Therefore, I ran the ...


0

This is caused by the last update from CentOS for the nss package. It also caused apache to panic. Here are the steps to downgrade the package: export NSS_DISABLE_HW_AES=1 yum -y downgrade nss nss-util nss-tools nss-sysinit yum -y install yum-plugin-versionlock yum versionlock add! nss-3.21.0-8.el6.x86_64 nss-sysinit-3.21.0-8.el6.x86_64 ...


1

Assuming that you didn't install any signal handlers, you can send SIGINT to the process by pressing Ctrl-C if it in the foreground. If it is not in the foreground, you can use pkill -INT -f '^php queuefile.php$'. By default, php will quit on receiving SIGINT. If, for some reason, there is a signal handler installed, you can also try the TERM signal (the ...


0

There is an open bug on php.net asking for php7 support. In order to provide such a support the following compile time errors need to be solved. [ 131s] + /usr/bin/make -j1 [ 131s] /bin/sh /usr/src/packages/BUILD/expect-0.3.3/libtool --mode=compile cc -I. -I/usr/src/packages/BUILD/expect-0.3.3 -DPHP_ATOM_INC ...


0

Thanks to Julie's suggestion and some other answers on SO I came up with path="$(PATH=$PATH:/home/me/.composer/vendor/bin which phpcs)" which works nicely


0

The problem, as you can notice in the path difference, is that me's path includes /home/me/.composer/vendor/bin. Sudo does not inherit the user's environment. You would need to manually import it. It's unclear why you'd want root to see a specific user's files in its path though. To find a file, you can use the find command such as find /home -name ...


0

Gnumeric is a third party package, it can be downloaded from their site. Yum install gnumeric won't work on RedHat servers.


1

Maybe you should do this: php-config --extension-dir If php-config doesnt exist, then apt-get install php-config if ubuntu/debian or yum install php-config if centos/redhat) That command will give exact location of your php extension folder. And change in your php.ini in order to use extensions...



Top 50 recent answers are included