看看androidManifest.xml
有沒有加入android:exported="true"
<provider
android:name="com.facebook.FacebookContentProvider"
android:exported="true"<=======
android:authorities="com.facebook.app.FacebookContentProvider{APPID}" />
» apache の記事
yum update yum install mod_geoip GeoIP GeoIP-devel GeoIP-data zlib-devel cd/usr/share/GeoIP/ mv GeoIP.dat GeoIP.dat_org wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz gunzip GeoIP.dat.gz nano /etc/httpd/conf/httpd.conf
<IfModule mod_geoip.c> GeoIPEnable On GeoIPDBFile /usr/share/GeoIP/GeoIP.dat </IfModule>
nano /var/www/html/testgeoip.php
<? var_dump(getenv(GEOIP_COUNTRY_NAME))
nano /etc/cron.d/php5
Change
09,39 * * * * root [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null ; -delete
to
09,39 * * * * root [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete
Install apache module mod_headers in ubuntu
sudo a2enmod headers
Restart apache
/etc/init.d/apache2 restart
httpd.conf
Header always append X-Frame-Options SAMEORIGIN
or
Header always append X-Frame-Options DENY
/etc/init.d/apache2 restart
在 AppServ 開啟 mcrypt 方法如下 :
去Appserv folder/php5/ copy libmcrypt.dll 抄去C:\windows\
然後到C:\windows\php.ini uncomment
extension=php_mcrypt.dll
restart apache
| HOME |
Recent Comments