Tag Info

New answers tagged

1

NSS error -12286 According to NSS documentation, -12286 means: SSL_ERROR_NO_CYPHER_OVERLAP "Cannot communicate securely with peer: no common encryption algorithm(s)." The local and remote systems share no cipher suites in common. This can be due to a misconfiguration at either end. It can be due to a server being misconfigured to use a ...


0

After wasting some time I got it working. I just had to escape the character like this: $pass = '\)d@340kgfj';


1

You should to remove Win (CRLF) in first line; If you open file in mcedit you will see: !/usr/bin/env php^M change it to !/usr/bin/env php


0

You can enable an extension from the command line using: php -dextension=/path/to/extension.so -d is used to pass ini values via the command line. Unfortunately there is no way to disable an extension per command line if it has been configured in the php.ini (You can follow the other answers of course but there is nothing you can do using -d or whatever ...


0

find -name '*.jpg' -print0 folder | grep -zZ -vf name.log | xargs -0 COMMAND replace COMMAND by ls -l and if you like it by rm


0

Try this: find /path/to/the/directory -type f -exec sed -i 's/include\(.*\)/require_once\1/' {} + This will find all the files in the given directory and replace the lines "include("path/to/file.php");" of each file to "require_once("path/to/file.php");".


0

Following on from the comments, the reason the emails are not being delivered is because the registrant's own email address is being used to send them the email address. This is not permitted (as you don't "own" that address) and the message is correctly being discarded as a forgery.


0

This is really easy w/ pax. It has a notion of a -substitution option which can change filenames as they are written. You can specify more than one -substitution argument as well. And, most relevant here, is that selected members only have as many -substitution arguments applied as are necessary to successfully make one match, but any substitution which ...


2

This is fairly easy in Python with os.walk. Warning, untested code. I assume that the list of names contains one name per line with #!/usr/bin/python2 import os names_file = open('names.log') names = set(line.rstrip('\n') for line in names_file.readlines()) names_file.close() for root, dirs, files in os.walk('/path/to/top/directory'): for name in ...


-1

If you will satisfy with bash I'd like to offer following algorithm (it could be realized on any scripting lanuage): Build list of present files: find /path_to_folder -name "*.jpg" -fprint files.tmp Sortfiles.tmp and name.log than compare its by comm -23 files.tmp name.log Pass the list of files unique for files.tmp to rm command Be aware with path of ...


0

What are you asking? Is there a problem sending registration mails or is there a problem sending them to certain maildomains? In general: If you use a 'fake' domain to send mails certain mailproviders won't accept mail from those domains. And when using a 'fake' domain or any domain you don't own a mailaddress from then you can't receive any mails ...


1

You will have to use the older version's so files in apache's confs, and restart apache for it to take effect. On Ubuntu 14.04, see /etc/apache2/mods-available/php5.load: LoadModule php5_module /usr/lib/apache2/modules/libphp5.so Update above line in the file to point to the equivalent so for php 5.1.


1

Apache does not activelly monitor changes on the PHP andother configuration files. You need to tell the service to reload the changes. # service httpd reload or stopping and starting the server altogether: # service httpd restart On a different note, you can see when the server reloaded your data by enabling mod_status on your httpd.conf file (usually ...


0

Sorry for posting, I found a solution by myself. I found that it was a problem with permissions, so I added 'sudo' to the bash command, and I edited /etc/sudoers adding the user 'www-data' (the default nginx user) with 'NOPASSWD' parameter. I hope it could be useful for those having the same problem.



Top 50 recent answers are included