Hot answers tagged php
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 ...
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 ...
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.
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 ...
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
Only top voted, non community-wiki answers of a minimum length are eligible