New answers tagged

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...


0

You have to use -n and then to append each needed extension using -dextension Example: php -n -dextension=json.so -dextension=phar.so composer.phar update


0

First of all you'll need to create an endpoint in your website. The simpliest way is to create a file called robot_update.php with the following content. <?php $input_data = file_get_contents('php://input'); $decoded_data = json_decode($input_data); //Do something with $decoded_data, update image or write it to the database. ?> Next, Send your data ...



Top 50 recent answers are included