请教:在Linux3.0.8 移植usb wifi驱动rtl8189es

在Linux3.0.8 移植usb wifi驱动rtl8189es,
采用的非模块加载,直接编进kernel一起烧录;
目前卡在:
不会出现
usbcore: registered new interface driver rtl8189es

SDIO卡已经初始化和识卡成功;
[ 3.035470] mmc1: new high speed SDIO card at address 0001

网络设备已成功初始化和注册:
[ 4.025589] RTL871X: bDriverStopped:True, bSurpriseRemoved:False, bup:0, hw_init_completed:0
[ 4.043041] RTL871X: rtw_wiphy_alloc(phy0)
[ 4.051457] RTL871X: rtw_wdev_alloc(padapter=c000e000)
[ 4.061990] rtw_os_ndevs_register:2303!!
[ 4.072513] RTL871X: rtw_wiphy_register(phy0)
[ 4.081850] rtw_os_ndev_register:999!!
[ 4.092123] RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=8c:18:d9:c0:ef:ff

LOG如下:
[ 3.014338] lib80211: common routines for IEEE802.11 drivers
[ 3.035470] mmc1: new high speed SDIO card at address 0001
[ 3.047162] rtw_drv_init:700!! $$$$$$$$$$$$$$$$$$$$$$$
[ 3.060186] RTL871X: CHIP TYPE: RTL8188E
[ 3.069330] RTL871X: rtw_hal_config_rftype RF_Type is 3 TotalTxPath is 1
[ 3.083356] RTL871X: Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_K_CUT_1T1R_RomVer(0)
[ 3.099996] RTL871X: EEPROM type is E-FUSE
[ 3.108397] RTL871X: =>_CardEnable
[ 3.120635] RTL871X: SetHwReg8188E: bMacPwrCtrlOn=1
[ 3.130640] RTL871X: <=_CardEnable
[ 3.137641] RTL871X: _ReadPROMContent: 9346CR=0x20, Boot from EFUSE, Autoload OK
[ 3.152928] RTL871X: =>_InitPowerOn_8188ES
[ 3.161329] RTL871X: =>_CardEnable
[ 3.168278] RTL871X: =>_CardEnable bMacPwrCtrlOn == _TRUE do nothing !!
[ 3.181843] snd_switch_probe susccess
[ 3.189705] RTL871X: ## wifi_probe
[ 3.196745] RTL871X: <=_CardEnable
[ 3.203833] RTL871X: wifi_set_power = 1
[ 3.211725] RTL871X: wifi_set_carddetect = 1
[ 3.220555] RTL871X: <=_InitPowerOn_8188ES
[ 3.229075] wlan_device_init:72!!
[ 3.238438] bFWReady == _FALSE call reset 8051...
[ 3.248576] /proc/exmap: insert
[ 3.255463] jz-rtc jz-rtc.0: setting system clock to 2016-02-01 13:30:00 UTC (1454333400)
[ 3.272496] RTL871X: =====> _8051Reset88E(): 8051 reset success .
[ 3.306544] RTL871X: efuse_read_phymap_from_txpktbuf bcnhead:0
[ 3.318726] RTL871X: efuse_read_phymap_from_txpktbuf len:170, lenbak:170, aaa:170, aaabak:170
[ 3.338442] RTL871X: efuse_read_phymap_from_txpktbuf read count:168
[ 3.351416] RTL871X: EEPROM ID=0x8129
[ 3.358912] RTL871X: Hal_ReadPowerSavingMode88E...bHWPwrPindetect(0)-bHWPowerdown(0) ,bSupportRemoteWakeup(0)
[ 3.379234] RTL871X: ### PS params=> power_mgnt(0),usbss_enable(0) ###
[ 3.392788] RTL871X: ======= Path 0, Channel 1 =======
[ 3.403312] RTL871X: Index24G_CCK_Base[0][1] = 0x29
[ 3.413302] RTL871X: Index24G_BW40_Base[0][1] = 0x2d
[ 3.423471] RTL871X: ======= Path 0, Channel 2 =======
[ 3.433994] RTL871X: Index24G_CCK_Base[0][2] = 0x29
[ 3.443981] RTL871X: Index24G_BW40_Base[0][2] = 0x2d
[ 3.454145] RTL871X: ======= Path 0, Channel 3 =======
[ 3.464669] RTL871X: Index24G_CCK_Base[0][3] = 0x29
[ 3.474657] RTL871X: Index24G_BW40_Base[0][3] = 0x2d
[ 3.484823] RTL871X: ======= Path 0, Channel 4 =======
[ 3.495343] RTL871X: Index24G_CCK_Base[0][4] = 0x29
[ 3.505332] RTL871X: Index24G_BW40_Base[0][4] = 0x2d
[ 3.515500] RTL871X: ======= Path 0, Channel 5 =======
[ 3.526026] RTL871X: Index24G_CCK_Base[0][5] = 0x29
[ 3.536014] RTL871X: Index24G_BW40_Base[0][5] = 0x2d
[ 3.546181] RTL871X: ======= Path 0, Channel 6 =======
[ 3.556704] RTL871X: Index24G_CCK_Base[0][6] = 0x28
[ 3.566692] RTL871X: Index24G_BW40_Base[0][6] = 0x2c
[ 3.576860] RTL871X: ======= Path 0, Channel 7 =======
[ 3.587384] RTL871X: Index24G_CCK_Base[0][7] = 0x28
[ 3.597371] RTL871X: Index24G_BW40_Base[0][7] = 0x2c
[ 3.607539] RTL871X: ======= Path 0, Channel 8 =======
[ 3.618064] RTL871X: Index24G_CCK_Base[0][8] = 0x28
[ 3.628052] RTL871X: Index24G_BW40_Base[0][8] = 0x2c
[ 3.638220] RTL871X: ======= Path 0, Channel 9 =======
[ 3.648741] RTL871X: Index24G_CCK_Base[0][9] = 0x28
[ 3.658731] RTL871X: Index24G_BW40_Base[0][9] = 0x2c
[ 3.668899] RTL871X: ======= Path 0, Channel 10 =======
[ 3.679598] RTL871X: Index24G_CCK_Base[0][10] = 0x28
[ 3.689769] RTL871X: Index24G_BW40_Base[0][10] = 0x2c
[ 3.700116] RTL871X: ======= Path 0, Channel 11 =======
[ 3.710819] RTL871X: Index24G_CCK_Base[0][11] = 0x28
[ 3.720985] RTL871X: Index24G_BW40_Base[0][11] = 0x2c
[ 3.731335] RTL871X: ======= Path 0, Channel 12 =======
[ 3.742036] RTL871X: Index24G_CCK_Base[0][12] = 0x28
[ 3.752200] RTL871X: Index24G_BW40_Base[0][12] = 0x2c
[ 3.762547] RTL871X: ======= Path 0, Channel 13 =======
[ 3.773250] RTL871X: Index24G_CCK_Base[0][13] = 0x28
[ 3.783417] RTL871X: Index24G_BW40_Base[0][13] = 0x2c
[ 3.793759] RTL871X: ======= Path 0, Channel 14 =======
[ 3.804460] RTL871X: Index24G_CCK_Base[0][14] = 0x26
[ 3.814627] RTL871X: Index24G_BW40_Base[0][14] = 0x2c
[ 3.824970] RTL871X: ======= TxCount 0 =======
[ 3.834074] RTL871X: CCK_24G_Diff[0][0]= 0
[ 3.842462] RTL871X: OFDM_24G_Diff[0][0]= 0
[ 3.851030] RTL871X: BW20_24G_Diff[0][0]= -2
[ 3.859752] RTL871X: BW40_24G_Diff[0][0]= 0
[ 3.868316] RTL871X: EEPROMRegulatory = 0x0
[ 3.876879] RTL871X: mlmepriv.ChannelPlan = 0x20
[ 3.886337] RTL871X: CrystalCap: 0x21
[ 3.893832] RTL871X: EEPROM Customer ID: 0x 0
[ 3.902751] RTL871X: Board Type: 0x 0
[ 3.910233] RTL871X: ThermalMeter = 0x1d
[ 3.918261] RTL871X: pHalData->EEPROMRFGainVal=0
[ 3.927719] RTL871X: Hal_ReadRFGainOffset => EEPRORFGainOffset = 0x00,EEPROMRFGainVal=0x00,thermal_offset:0x00
[ 3.948385] RTL871X: <==== ReadAdapterInfo8188ES in 810 ms
[ 3.960863] RTL871X: Hal_ChannelPlanToRegulation ChannelPlan:0x20,Regulation(2_4G/5G):0x03,0x03
[ 3.978841] RTL871X: init_channel_set ChannelPlan ID 20 Chan num:13

[ 3.997409] RTL871X: rtw_alloc_macid((null)) if1, hwaddr:ff:ff:ff:ff:ff:ff macid:1
[ 4.013347] RTL871X: rtw_macaddr_cfg mac addr:8c:18:d9:c0:ef:ff
[ 4.025589] RTL871X: bDriverStopped:True, bSurpriseRemoved:False, bup:0, hw_init_completed:0
[ 4.043041] RTL871X: rtw_wiphy_alloc(phy0)
[ 4.051457] RTL871X: rtw_wdev_alloc(padapter=c000e000)
[ 4.061990] rtw_os_ndevs_register:2303!!
[ 4.072513] RTL871X: rtw_wiphy_register(phy0)
[ 4.081850] rtw_os_ndev_register:999!!
[ 4.092123] RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=8c:18:d9:c0:ef:ff
[ 4.112312] VFS: Mounted root (cramfs filesystem) readonly on device 31:3.
[ 4.128794] Freeing unused kernel memory: 236k freed
[ 4.139266] Free = 23588k
Setting hostname ...
Mounting all filesystems ...
Starting mdev ...
Mounting /usr/data as rw filesystem...

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
关于arm,210的摄像头驱动模式改为itu656

 1. 具体驱动应该怎么修改啊,整个驱动基本就看了一遍,发现除了在板文件中把相关的FMT改成656模式,然后在fimc_regs.c中,把fimc_hwset_camera_source中的cfg改了一下,直接改成设置656模式(不然的话始终会设为601),其他的也没什么可以改的。     2.TQ210用的摄像头是ov3640,它的寄存器怎么配置成ITU656输出?     3. 友善210用的是ov9650,这货的配置文件又在哪?怎么找不到。就算找到了又怎么修改?     现在的情况是,无论是TQ还是友善,都黑屏没输出。用自带的APP打开,直接就退出。感觉像没中断产生来开始帧采集?    啊啊啊 ,调了3个礼拜了。。。。没头绪

gt911触摸驱动在qt5.5下出现异常

遇到一个奇怪的现象。 我向linux3.0.8内核移植gt911和ft5x06触摸驱动。 移植完成进入系统,ft5x06正常可用。 而gt911出现异常,我使用了内核紧急打印来调试,没有运行qt程序之前,触摸驱动正常运行,可以进入中断并上报事件,qt是5.5的。 然后如果运行了qt程序,驱动的紧急打印都不会打印了, 退出qt程序也不行。 cat /dev/input/event2命令也没反映了, 没运行qt之 前,cat /dev/input/event2触摸是正常的。 然后我想是不是应用层qt出问题了,用个c程序来获取上报事件,来和ft5x06驱动上报事件做对比: 这个c程序具体就是打开event,给个死循环读取设备 传给input_event 结构体,代码量太多就不贴了 gt911: ![图片说明](https://img-ask.csdn.net/upload/201709/09/1504926118_562252.png) ft5x06: ![图片说明](https://img-ask.csdn.net/upload/201709/09/1504926126_111597.png) 如果是qt的问题,ft5x06都可以用,为何gt911不能用这也不合理, 有没有大神知道原因,拜谢

Failed to execute /init. Attempting defaults... Kernel panic - not syncing: No init found.

请问出现这个问题要怎么解决?是坏块问题吗? 我用TQ210的板子 linux 3.0.8内核 arm-linux-gcc 4.4.6 u-boot2014.04 yaffs: dev is 32505859 name is "mtdblock3" rw yaffs: yaffs: Attempting MTD mount of 31.3,"mtdblock3" yaffs: block 250 is bad yaffs: block 2910 is bad yaffs: block 3990 is bad yaffs: yaffs_read_super: is_checkpointed 0 VFS: Mounted root (yaffs2 filesystem) on device 31:3. Freeing init memory: 176K Failed to execute /init. Attempting defaults... Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance. 在另一台机子上可以成功运行 但是我烧录到自己机子就出现了此问题

华为E3372ARM移植,ttyUSB转换

内核是3.0.8,按照手册我就只能转换成ttyUSB0。但是可以通过udhcpc -n -i eth1获取到ip,并且能够成功上网。没有转换成ttyUSB0,ttyUSB1,ttyUSB2。我需要通过AT命令发送短信获取电话资费和信号强度。各位大神看看

Cakephp 3.0.8:“name”字段中的数组在patchEntity之后消失

<div class="post-text" itemprop="text"> <p>I'm testing cakephp 3.0.8 and I have a problem. I'm trying to add new ingredients in multiple languages at the same time and for that I need my form to have an array inside the "name" and the "slug" field containing the language and the value in that language for the i18n table in the database. But after the patchEntity before the save, the array disappear and I dont understand why.</p> <p>What I want:</p> <pre><code>[ 'name' =&gt; [ 'en_US' =&gt; 'Title', 'fr_CA' =&gt; 'Titre' ], 'slug' =&gt; [ 'en_US' =&gt; 'Slug', 'fr_CA' =&gt; 'Slug Fr' ], 'season' =&gt; '' ] </code></pre> <p>What I have after patchEntity:</p> <pre><code>[ 'name' =&gt; '', 'slug' =&gt; '', 'season' =&gt; '' ] </code></pre> <p>In my IngredientController.php</p> <pre><code>public function add() { $ingredient = $this-&gt;Ingredients-&gt;newEntity(); if ($this-&gt;request-&gt;is('post')) { debug($this-&gt;request-&gt;data); $ingredient = $this-&gt;Ingredients-&gt;patchEntity($ingredient, $this-&gt;request-&gt;data); $ingredient-&gt;locale = Configure::read('Config.locales'); debug($ingredient);die(); if ($this-&gt;Ingredients-&gt;save($ingredient)) { $this-&gt;Flash-&gt;success(__('The ingredient has been saved.')); return $this-&gt;redirect(['action' =&gt; 'index']); } else { $this-&gt;Flash-&gt;error(__('The ingredient could not be saved. Please, try again.')); } } $this-&gt;set(compact('ingredient', 'recipes')); $this-&gt;set('_serialize', ['ingredient']); } </code></pre> <p>In my Ingredient.php entity</p> <pre><code>protected $_accessible = [ 'name' =&gt; true, 'slug' =&gt; true, 'season' =&gt; true, 'recipe_count' =&gt; false, 'recipes' =&gt; false, '*' =&gt; false ]; </code></pre> <p>In my IngredientsTable.php</p> <pre><code>public function validationDefault(Validator $validator) { $validator -&gt;requirePresence('name', 'create') -&gt;notEmpty('name'); $validator -&gt;allowEmpty('slug'); $validator -&gt;allowEmpty('season'); return $validator; } </code></pre> <p>And finally in my add.ctp view</p> <pre><code>&lt;div class="ingredients form large-10 medium-9 columns"&gt; &lt;?= $this-&gt;Form-&gt;create($ingredient) ?&gt; &lt;fieldset&gt; &lt;legend&gt;&lt;?= __('Add Ingredient') ?&gt;&lt;/legend&gt; &lt;?php foreach ($locales as $lang) { echo $this-&gt;Form-&gt;input('name.'.$lang, ['label' =&gt; 'Title ('.$lang.')']); echo $this-&gt;Form-&gt;input('slug.'.$lang, ['label' =&gt; 'Slug ('.$lang.')']); } echo $this-&gt;Form-&gt;input('season'); ?&gt; &lt;/fieldset&gt; &lt;?= $this-&gt;Form-&gt;button(__('Submit')) ?&gt; &lt;?= $this-&gt;Form-&gt;end() ?&gt; </code></pre> <p></p> <p>CakePHP generated all the code with the console except for the add.ctp that I modified a bit to have an array inside the "name" and "slug" fields. The var $locales only contain an array of the locales (en_US and fr_CA)</p> <p>Thank you!</p> </div>

3.0.8的内核找不到GDT Entry的定义

在2.6.18中arch/i386/kernel/head.S文件中定义了GDT的各个Entry。如 ```c quad 0x00cff2000000ffff /* 0x7b user 4GB data at 0x00000000 */ ``` 在3.0.8内核中没有i386而是x86文件夹,然而找不到这样的声明,如14条目在什么位置定义?

嵌入式v4l2驱动开发 tvp5150驱动开发

查阅了很多关于v4l2驱动编写的博客和文件,发现都提到了v4l2_device_register()函数以及一些重要的结构体,如:video_device,v4l2_ioctl_ops等。然而我查看了内核kernel3.0.8提供的tvp5150.c文件,并未发现这些重要内容。。。然后,宝宝就晕了,不知道该怎么办来读这份内核驱动源码了。。求助大家,,,跪谢

想安装字蛛进行字体压缩,但在安装的时候各种报错

npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules npm ERR! path /usr/local/lib/node_modules npm ERR! code EACCES npm ERR! errno -13 npm ERR! syscall access npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules' npm ERR! { [Error: EACCES: permission denied, access '/usr/local/lib/node_modules'] npm ERR! stack: npm ERR! 'Error: EACCES: permission denied, access \'/usr/local/lib/node_modules\'', npm ERR! errno: -13, 请问应该如何解决,网上了下,貌似只有这种方法才可对文字压缩?还有其他方法吗

如何在centos 7服务器上安装memcached PECL

<div class="post-text" itemprop="text"> <p>I was trying to install Memcache PECL on my server. I installed memcached by this command</p> <pre><code>yum install memcached </code></pre> <p>and then used </p> <pre><code>yum install memcached php-pecl-memcache </code></pre> <p>to install php extension of memcache but had no luck on this installation </p> <p>Please help me, </p> <p>the error says</p> <pre><code>[root@localhost libmemcached-0.40]# yum install php php-pecl-memcached --skip-broken Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * atomic: www3.atomicorp.com * base: dallas.tx.mirror.xygenhosting.com * epel: lug.mtu.edu * extras: dallas.tx.mirror.xygenhosting.com * updates: mirror-centos.hostingswift.com Package php-5.4.41-47.el7.art.x86_64 already installed and latest version Resolving Dependencies --&gt; Running transaction check ---&gt; Package php-pecl-memcached.x86_64 0:2.2.0-1.el7 will be installed --&gt; Processing Dependency: php(zend-abi) = 20100525-64 for package: php-pecl-memcached-2.2.0-1.el7.x86_64 --&gt; Processing Dependency: php(api) = 20100412-64 for package: php-pecl-memcached-2.2.0-1.el7.x86_64 --&gt; Processing Dependency: php-pecl-msgpack(x86-64) for package: php-pecl-memcached-2.2.0-1.el7.x86_64 --&gt; Processing Dependency: php-pecl-igbinary(x86-64) for package: php-pecl-memcached-2.2.0-1.el7.x86_64 --&gt; Processing Dependency: /usr/bin/pecl for package: php-pecl-memcached-2.2.0-1.el7.x86_64 --&gt; Processing Dependency: /usr/bin/pecl for package: php-pecl-memcached-2.2.0-1.el7.x86_64 --&gt; Running transaction check ---&gt; Package php-pear.noarch 1:1.9.4-21.el7 will be installed --&gt; Processing Dependency: php-posix for package: 1:php-pear-1.9.4-21.el7.noarch ---&gt; Package php-pecl-igbinary.x86_64 0:1.2.1-1.el7 will be installed --&gt; Processing Dependency: php(zend-abi) = 20100525-64 for package: php-pecl-igbinary-1.2.1-1.el7.x86_64 --&gt; Processing Dependency: php(api) = 20100412-64 for package: php-pecl-igbinary-1.2.1-1.el7.x86_64 ---&gt; Package php-pecl-memcached.x86_64 0:2.2.0-1.el7 will be installed --&gt; Processing Dependency: php(zend-abi) = 20100525-64 for package: php-pecl-memcached-2.2.0-1.el7.x86_64 --&gt; Processing Dependency: php(api) = 20100412-64 for package: php-pecl-memcached-2.2.0-1.el7.x86_64 ---&gt; Package php-pecl-msgpack.x86_64 0:0.5.5-5.el7 will be installed --&gt; Processing Dependency: php(zend-abi) = 20100525-64 for package: php-pecl-msgpack-0.5.5-5.el7.x86_64 --&gt; Processing Dependency: php(api) = 20100412-64 for package: php-pecl-msgpack-0.5.5-5.el7.x86_64 --&gt; Running transaction check ---&gt; Package php-pecl-igbinary.x86_64 0:1.2.1-1.el7 will be installed --&gt; Processing Dependency: php(zend-abi) = 20100525-64 for package: php-pecl-igbinary-1.2.1-1.el7.x86_64 --&gt; Processing Dependency: php(api) = 20100412-64 for package: php-pecl-igbinary-1.2.1-1.el7.x86_64 ---&gt; Package php-pecl-memcached.x86_64 0:2.2.0-1.el7 will be installed --&gt; Processing Dependency: php(zend-abi) = 20100525-64 for package: php-pecl-memcached-2.2.0-1.el7.x86_64 --&gt; Processing Dependency: php(api) = 20100412-64 for package: php-pecl-memcached-2.2.0-1.el7.x86_64 ---&gt; Package php-pecl-msgpack.x86_64 0:0.5.5-5.el7 will be installed --&gt; Processing Dependency: php(zend-abi) = 20100525-64 for package: php-pecl-msgpack-0.5.5-5.el7.x86_64 --&gt; Processing Dependency: php(api) = 20100412-64 for package: php-pecl-msgpack-0.5.5-5.el7.x86_64 ---&gt; Package php-process.x86_64 0:5.4.41-47.el7.art will be installed Packages skipped because of dependency problems: 1:php-pear-1.9.4-21.el7.noarch from base php-pecl-igbinary-1.2.1-1.el7.x86_64 from epel php-pecl-memcached-2.2.0-1.el7.x86_64 from epel php-pecl-msgpack-0.5.5-5.el7.x86_64 from epel php-process-5.4.41-47.el7.art.x86_64 from atomic [root@localhost libmemcached-0.40]# rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm Retrieving http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm curl: (6) Could not resolve host: download.fedora.redhat.com; Name or service not known error: skipping http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm - transfer failed [root@localhost libmemcached-0.40]# yum install memcached php-pecl-memcache memcached-selinux Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * atomic: www3.atomicorp.com * base: dallas.tx.mirror.xygenhosting.com * epel: lug.mtu.edu * extras: dallas.tx.mirror.xygenhosting.com * updates: mirror-centos.hostingswift.com Package memcached-1.4.24-5.el7.art.x86_64 already installed and latest version No package memcached-selinux available. Resolving Dependencies --&gt; Running transaction check ---&gt; Package php-pecl-memcache.x86_64 0:3.0.8-4.el7 will be installed --&gt; Processing Dependency: php(zend-abi) = 20100525-64 for package: php-pecl-memcache-3.0.8-4.el7.x86_64 --&gt; Processing Dependency: php(api) = 20100412-64 for package: php-pecl-memcache-3.0.8-4.el7.x86_64 --&gt; Processing Dependency: /usr/bin/pecl for package: php-pecl-memcache-3.0.8-4.el7.x86_64 --&gt; Processing Dependency: /usr/bin/pecl for package: php-pecl-memcache-3.0.8-4.el7.x86_64 --&gt; Running transaction check ---&gt; Package php-pear.noarch 1:1.9.4-21.el7 will be installed --&gt; Processing Dependency: php-posix for package: 1:php-pear-1.9.4-21.el7.noarch ---&gt; Package php-pecl-memcache.x86_64 0:3.0.8-4.el7 will be installed --&gt; Processing Dependency: php(zend-abi) = 20100525-64 for package: php-pecl-memcache-3.0.8-4.el7.x86_64 --&gt; Processing Dependency: php(api) = 20100412-64 for package: php-pecl-memcache-3.0.8-4.el7.x86_64 --&gt; Running transaction check ---&gt; Package php-pecl-memcache.x86_64 0:3.0.8-4.el7 will be installed --&gt; Processing Dependency: php(zend-abi) = 20100525-64 for package: php-pecl-memcache-3.0.8-4.el7.x86_64 --&gt; Processing Dependency: php(api) = 20100412-64 for package: php-pecl-memcache-3.0.8-4.el7.x86_64 ---&gt; Package php-process.x86_64 0:5.4.41-47.el7.art will be installed --&gt; Finished Dependency Resolution Error: Package: php-pecl-memcache-3.0.8-4.el7.x86_64 (base) Requires: php(zend-abi) = 20100525-64 Installed: php-common-5.4.41-47.el7.art.x86_64 (@atomic) php(zend-abi) = 20100525-x86-64 Available: atomic-php55-php-common-5.5.19-19.el7.art.x86_64 (atomic) php(zend-abi) = 20121212-64 Available: atomic-php55-php-common-5.5.20-20.el7.art.x86_64 (atomic) php(zend-abi) = 20121212-64 Available: atomic-php55-php-common-5.5.21-21.el7.art.x86_64 (atomic) php(zend-abi) = 20121212-64 Available: atomic-php55-php-common-5.5.22-22.el7.art.x86_64 (atomic) php(zend-abi) = 20121212-64 Available: atomic-php55-php-common-5.5.23-23.el7.art.x86_64 (atomic) php(zend-abi) = 20121212-64 Available: atomic-php55-php-common-5.5.24-24.el7.art.x86_64 (atomic) php(zend-abi) = 20121212-64 Available: atomic-php55-php-common-5.5.25-25.el7.art.x86_64 (atomic) php(zend-abi) = 20121212-64 Available: atomic-php56-php-common-5.6.3-19.el7.art.x86_64 (atomic) php(zend-abi) = 20131226-64 Available: atomic-php56-php-common-5.6.4-20.el7.art.x86_64 (atomic) php(zend-abi) = 20131226-64 Available: atomic-php56-php-common-5.6.5-21.el7.art.x86_64 (atomic) php(zend-abi) = 20131226-64 Available: atomic-php56-php-common-5.6.6-21.el7.art.x86_64 (atomic) php(zend-abi) = 20131226-64 Available: atomic-php56-php-common-5.6.7-22.el7.art.x86_64 (atomic) php(zend-abi) = 20131226-64 Available: atomic-php56-php-common-5.6.8-23.el7.art.x86_64 (atomic) php(zend-abi) = 20131226-64 Available: atomic-php56-php-common-5.6.9-24.el7.art.x86_64 (atomic) php(zend-abi) = 20131226-64 Available: php-common-5.4.16-23.el7_0.3.x86_64 (base) php(zend-abi) = 20100525-64 Available: php-common-5.4.35-41.el7.art.x86_64 (atomic) php(zend-abi) = 20100525-x86-64 Available: php-common-5.4.36-42.el7.art.x86_64 (atomic) php(zend-abi) = 20100525-x86-64 Available: php-common-5.4.37-43.el7.art.x86_64 (atomic) php(zend-abi) = 20100525-x86-64 Available: php-common-5.4.38-44.el7.art.x86_64 (atomic) php(zend-abi) = 20100525-x86-64 Available: php-common-5.4.39-45.el7.art.x86_64 (atomic) php(zend-abi) = 20100525-x86-64 Available: php-common-5.4.40-46.el7.art.x86_64 (atomic) php(zend-abi) = 20100525-x86-64 Error: Package: php-pecl-memcache-3.0.8-4.el7.x86_64 (base) Requires: php(api) = 20100412-64 Installed: php-common-5.4.41-47.el7.art.x86_64 (@atomic) php(api) = 20100412-x86-64 Available: atomic-php55-php-common-5.5.19-19.el7.art.x86_64 (atomic) php(api) = 20121113-64 Available: atomic-php55-php-common-5.5.20-20.el7.art.x86_64 (atomic) php(api) = 20121113-64 Available: atomic-php55-php-common-5.5.21-21.el7.art.x86_64 (atomic) php(api) = 20121113-64 Available: atomic-php55-php-common-5.5.22-22.el7.art.x86_64 (atomic) php(api) = 20121113-64 Available: atomic-php55-php-common-5.5.23-23.el7.art.x86_64 (atomic) php(api) = 20121113-64 Available: atomic-php55-php-common-5.5.24-24.el7.art.x86_64 (atomic) php(api) = 20121113-64 Available: atomic-php55-php-common-5.5.25-25.el7.art.x86_64 (atomic) php(api) = 20121113-64 Available: atomic-php56-php-common-5.6.3-19.el7.art.x86_64 (atomic) php(api) = 20131106-64 Available: atomic-php56-php-common-5.6.4-20.el7.art.x86_64 (atomic) php(api) = 20131106-64 Available: atomic-php56-php-common-5.6.5-21.el7.art.x86_64 (atomic) php(api) = 20131106-64 Available: atomic-php56-php-common-5.6.6-21.el7.art.x86_64 (atomic) php(api) = 20131106-64 Available: atomic-php56-php-common-5.6.7-22.el7.art.x86_64 (atomic) php(api) = 20131106-64 Available: atomic-php56-php-common-5.6.8-23.el7.art.x86_64 (atomic) php(api) = 20131106-64 Available: atomic-php56-php-common-5.6.9-24.el7.art.x86_64 (atomic) php(api) = 20131106-64 Available: php-common-5.4.16-23.el7_0.3.x86_64 (base) php(api) = 20100412-64 Available: php-common-5.4.35-41.el7.art.x86_64 (atomic) php(api) = 20100412-x86-64 Available: php-common-5.4.36-42.el7.art.x86_64 (atomic) php(api) = 20100412-x86-64 Available: php-common-5.4.37-43.el7.art.x86_64 (atomic) php(api) = 20100412-x86-64 Available: php-common-5.4.38-44.el7.art.x86_64 (atomic) php(api) = 20100412-x86-64 Available: php-common-5.4.39-45.el7.art.x86_64 (atomic) php(api) = 20100412-x86-64 Available: php-common-5.4.40-46.el7.art.x86_64 (atomic) php(api) = 20100412-x86-64 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest [root@localhost libmemcached-0.40]# yum install memcached php-pecl-memcache memcached-selinux Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * atomic: www3.atomicorp.com * base: dallas.tx.mirror.xygenhosting.com * epel: lug.mtu.edu * extras: dallas.tx.mirror.xygenhosting.com * updates: mirror-centos.hostingswift.com Package memcached-1.4.24-5.el7.art.x86_64 already installed and latest version No package memcached-selinux available. Resolving Dependencies --&gt; Running transaction check ---&gt; Package php-pecl-memcache.x86_64 0:3.0.8-4.el7 will be installed --&gt; Processing Dependency: php(zend-abi) = 20100525-64 for package: php-pecl-memcache-3.0.8-4.el7.x86_64 --&gt; Processing Dependency: php(api) = 20100412-64 for package: php-pecl-memcache-3.0.8-4.el7.x86_64 --&gt; Processing Dependency: /usr/bin/pecl for package: php-pecl-memcache-3.0.8-4.el7.x86_64 --&gt; Processing Dependency: /usr/bin/pecl for package: php-pecl-memcache-3.0.8-4.el7.x86_64 --&gt; Running transaction check ---&gt; Package php-pear.noarch 1:1.9.4-21.el7 will be installed --&gt; Processing Dependency: php-posix for package: 1:php-pear-1.9.4-21.el7.noarch ---&gt; Package php-pecl-memcache.x86_64 0:3.0.8-4.el7 will be installed --&gt; Processing Dependency: php(zend-abi) = 20100525-64 for package: php-pecl-memcache-3.0.8-4.el7.x86_64 --&gt; Processing Dependency: php(api) = 20100412-64 for package: php-pecl-memcache-3.0.8-4.el7.x86_64 --&gt; Running transaction check ---&gt; Package php-pecl-memcache.x86_64 0:3.0.8-4.el7 will be installed --&gt; Processing Dependency: php(zend-abi) = 20100525-64 for package: php-pecl-memcache-3.0.8-4.el7.x86_64 --&gt; Processing Dependency: php(api) = 20100412-64 for package: php-pecl-memcache-3.0.8-4.el7.x86_64 ---&gt; Package php-process.x86_64 0:5.4.41-47.el7.art will be installed --&gt; Finished Dependency Resolution Error: Package: php-pecl-memcache-3.0.8-4.el7.x86_64 (base) Requires: php(zend-abi) = 20100525-64 Installed: php-common-5.4.41-47.el7.art.x86_64 (@atomic) php(zend-abi) = 20100525-x86-64 Available: atomic-php55-php-common-5.5.19-19.el7.art.x86_64 (atomic) php(zend-abi) = 20121212-64 Available: atomic-php55-php-common-5.5.20-20.el7.art.x86_64 (atomic) php(zend-abi) = 20121212-64 Available: atomic-php55-php-common-5.5.21-21.el7.art.x86_64 (atomic) php(zend-abi) = 20121212-64 Available: atomic-php55-php-common-5.5.22-22.el7.art.x86_64 (atomic) php(zend-abi) = 20121212-64 Available: atomic-php55-php-common-5.5.23-23.el7.art.x86_64 (atomic) php(zend-abi) = 20121212-64 Available: atomic-php55-php-common-5.5.24-24.el7.art.x86_64 (atomic) php(zend-abi) = 20121212-64 Available: atomic-php55-php-common-5.5.25-25.el7.art.x86_64 (atomic) php(zend-abi) = 20121212-64 Available: atomic-php56-php-common-5.6.3-19.el7.art.x86_64 (atomic) php(zend-abi) = 20131226-64 Available: atomic-php56-php-common-5.6.4-20.el7.art.x86_64 (atomic) php(zend-abi) = 20131226-64 Available: atomic-php56-php-common-5.6.5-21.el7.art.x86_64 (atomic) php(zend-abi) = 20131226-64 Available: atomic-php56-php-common-5.6.6-21.el7.art.x86_64 (atomic) php(zend-abi) = 20131226-64 Available: atomic-php56-php-common-5.6.7-22.el7.art.x86_64 (atomic) php(zend-abi) = 20131226-64 Available: atomic-php56-php-common-5.6.8-23.el7.art.x86_64 (atomic) php(zend-abi) = 20131226-64 Available: atomic-php56-php-common-5.6.9-24.el7.art.x86_64 (atomic) php(zend-abi) = 20131226-64 Available: php-common-5.4.16-23.el7_0.3.x86_64 (base) php(zend-abi) = 20100525-64 Available: php-common-5.4.35-41.el7.art.x86_64 (atomic) php(zend-abi) = 20100525-x86-64 Available: php-common-5.4.36-42.el7.art.x86_64 (atomic) php(zend-abi) = 20100525-x86-64 Available: php-common-5.4.37-43.el7.art.x86_64 (atomic) php(zend-abi) = 20100525-x86-64 Available: php-common-5.4.38-44.el7.art.x86_64 (atomic) php(zend-abi) = 20100525-x86-64 Available: php-common-5.4.39-45.el7.art.x86_64 (atomic) php(zend-abi) = 20100525-x86-64 Available: php-common-5.4.40-46.el7.art.x86_64 (atomic) php(zend-abi) = 20100525-x86-64 Error: Package: php-pecl-memcache-3.0.8-4.el7.x86_64 (base) Requires: php(api) = 20100412-64 Installed: php-common-5.4.41-47.el7.art.x86_64 (@atomic) php(api) = 20100412-x86-64 Available: atomic-php55-php-common-5.5.19-19.el7.art.x86_64 (atomic) php(api) = 20121113-64 Available: atomic-php55-php-common-5.5.20-20.el7.art.x86_64 (atomic) php(api) = 20121113-64 Available: atomic-php55-php-common-5.5.21-21.el7.art.x86_64 (atomic) php(api) = 20121113-64 Available: atomic-php55-php-common-5.5.22-22.el7.art.x86_64 (atomic) php(api) = 20121113-64 Available: atomic-php55-php-common-5.5.23-23.el7.art.x86_64 (atomic) php(api) = 20121113-64 Available: atomic-php55-php-common-5.5.24-24.el7.art.x86_64 (atomic) php(api) = 20121113-64 Available: atomic-php55-php-common-5.5.25-25.el7.art.x86_64 (atomic) php(api) = 20121113-64 Available: atomic-php56-php-common-5.6.3-19.el7.art.x86_64 (atomic) php(api) = 20131106-64 Available: atomic-php56-php-common-5.6.4-20.el7.art.x86_64 (atomic) php(api) = 20131106-64 Available: atomic-php56-php-common-5.6.5-21.el7.art.x86_64 (atomic) php(api) = 20131106-64 Available: atomic-php56-php-common-5.6.6-21.el7.art.x86_64 (atomic) php(api) = 20131106-64 Available: atomic-php56-php-common-5.6.7-22.el7.art.x86_64 (atomic) php(api) = 20131106-64 Available: atomic-php56-php-common-5.6.8-23.el7.art.x86_64 (atomic) php(api) = 20131106-64 Available: atomic-php56-php-common-5.6.9-24.el7.art.x86_64 (atomic) php(api) = 20131106-64 Available: php-common-5.4.16-23.el7_0.3.x86_64 (base) php(api) = 20100412-64 Available: php-common-5.4.35-41.el7.art.x86_64 (atomic) php(api) = 20100412-x86-64 Available: php-common-5.4.36-42.el7.art.x86_64 (atomic) php(api) = 20100412-x86-64 Available: php-common-5.4.37-43.el7.art.x86_64 (atomic) php(api) = 20100412-x86-64 Available: php-common-5.4.38-44.el7.art.x86_64 (atomic) php(api) = 20100412-x86-64 Available: php-common-5.4.39-45.el7.art.x86_64 (atomic) php(api) = 20100412-x86-64 Available: php-common-5.4.40-46.el7.art.x86_64 (atomic) php(api) = 20100412-x86-64 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest [root@localhost libmemcached-0.40]# yum install memcached php-pecl-memcache memcached-selinux </code></pre> </div>

Wamp Server 3.0.8图标托盘中的右键菜单是不同的

<div class="post-text" itemprop="text"> <p>all! So I have searched the web on how to upgrade the php version that Wamp server application is using and I found tutorials and so on. I have by default installed php 5.7.6 and php 7.0.6. </p> <p>Now I want to change it simply by right-clicking the icon tray and selecting the php version as I saw on tutorials. However, what I found really weird and pissing me off is that the right-click context menu is different. </p> <p>All the tutorials I've seen so far on youtube all have the same menu except in my case. Now the app is running ok.(php files are executing but on the older version of php which is 5.7.6). </p> <p>The problem is I want to change the php version and I can't do it from the context menu in the icon tray. Instead look at the picture to understand the difference. </p> <p><a href="https://i.stack.imgur.com/NN5W1.jpg" rel="nofollow noreferrer">Click on this link to see the image of My right-click context</a></p> <p><a href="https://i.stack.imgur.com/kyxch.jpg" rel="nofollow noreferrer">Click on this link to see the image of: This is what it normally should look like</a></p> </div>

在Heroku上部署Symfony2应用程序

<div class="post-text" itemprop="text"> <p>I am trying to deploy symfony2 application on heroku and I keep getting this error:</p> <pre><code>-----&gt; PHP app detected -----&gt; Resolved composer.lock requirement for PHP &gt;=5.3.3 to version 5.6.2. -----&gt; Installing system packages... - PHP 5.6.2 - Apache 2.4.10 - Nginx 1.6.0 -----&gt; Installing PHP extensions... - zend-opcache (automatic; bundled, using 'ext-zend-opcache.ini') -----&gt; Installing dependencies... Composer version 1.0-dev (ffffab37a294f3383c812d0329623f0a4ba45387) 2014-11-05 06:04:18 Loading composer repositories with package information Installing dependencies from lock file Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them. - Installing doctrine/lexer (v1.0) Downloading: connection... Downloading: 0% Downloading: 80% Downloading: 100% - Installing doctrine/annotations (v1.2.1) Downloading: connection... Downloading: 0% Downloading: 10% Downloading: 15% Downloading: 25% Downloading: 30% Downloading: 35% Downloading: 40% Downloading: 45% Downloading: 55% Downloading: 65% Downloading: 70% Downloading: 80% Downloading: 85% Downloading: 90% Downloading: 95% Downloading: 100% - Installing doctrine/cache (v1.3.1) Downloading: connection... Downloading: 0% Downloading: 20% Downloading: 25% Downloading: 40% Downloading: 45% Downloading: 65% Downloading: 90% Downloading: 95% Downloading: 100% - Installing doctrine/inflector (v1.0) Downloading: connection... Downloading: 0% Downloading: 55% Downloading: 100% - Installing doctrine/collections (v1.2) Downloading: connection... Downloading: 0% Downloading: 35% Downloading: 70% Downloading: 100% - Installing doctrine/common (v2.4.2) Downloading: connection... Downloading: 0% Downloading: 5% Downloading: 10% Downloading: 15% Downloading: 20% Downloading: 25% Downloading: 30% Downloading: 35% Downloading: 40% Downloading: 45% Downloading: 50% Downloading: 55% Downloading: 60% Downloading: 65% Downloading: 70% Downloading: 75% Downloading: 80% Downloading: 85% Downloading: 90% Downloading: 95% Downloading: 100% - Installing doctrine/data-fixtures (dev-master ac36ccc) Downloading: connection... Downloading: 0% Downloading: 5% Downloading: 10% Downloading: 15% Downloading: 20% Downloading: 25% Downloading: 30% Downloading: 35% Downloading: 40% Downloading: 45% Downloading: 50% Downloading: 55% Downloading: 60% Downloading: 100% - Installing twig/twig (v1.16.2) Downloading: connection... Downloading: 0% Downloading: 5% Downloading: 10% Downloading: 15% Downloading: 20% Downloading: 25% Downloading: 30% Downloading: 35% Downloading: 40% Downloading: 45% Downloading: 50% Downloading: 55% Downloading: 60% Downloading: 65% Downloading: 70% Downloading: 75% Downloading: 80% Downloading: 85% Downloading: 90% Downloading: 95% Downloading: 100% Downloading: 100% - Installing psr/log (1.0.0) Downloading: connection... Downloading: 0% Downloading: 15% Downloading: 30% Downloading: 45% Downloading: 60% Downloading: 75% Downloading: 100% - Installing symfony/symfony (v2.5.6) Downloading: connection... Downloading: 0% Downloading: 5% Downloading: 10% Downloading: 15% Downloading: 20% Downloading: 25% Downloading: 30% Downloading: 35% Downloading: 40% Downloading: 45% Downloading: 50% Downloading: 55% Downloading: 60% Downloading: 65% Downloading: 70% Downloading: 75% Downloading: 80% Downloading: 85% Downloading: 90% Downloading: 95% Downloading: 100% Downloading: 100% - Installing jdorn/sql-formatter (v1.2.17) Downloading: connection... Downloading: 0% Downloading: 10% Downloading: 35% Downloading: 45% Downloading: 80% Downloading: 95% Downloading: 100% - Installing doctrine/dbal (v2.4.3) Downloading: connection... Downloading: 0% Downloading: 5% Downloading: 10% Downloading: 15% Downloading: 20% Downloading: 25% Downloading: 30% Downloading: 35% Downloading: 40% Downloading: 45% Downloading: 50% Downloading: 55% Downloading: 60% Downloading: 65% Downloading: 70% Downloading: 75% Downloading: 80% Downloading: 85% Downloading: 90% Downloading: 95% Downloading: 100% Downloading: 100% - Installing doctrine/doctrine-bundle (v1.2.0) Downloading: connection... Downloading: 0% Downloading: 5% Downloading: 10% Downloading: 20% Downloading: 25% Downloading: 30% Downloading: 40% Downloading: 45% Downloading: 50% Downloading: 55% Downloading: 60% Downloading: 70% Downloading: 75% Downloading: 80% Downloading: 85% Downloading: 90% Downloading: 100% - Installing doctrine/doctrine-fixtures-bundle (dev-master 9a5b528) Downloading: connection... Downloading: 0% Downloading: 15% Downloading: 30% Downloading: 100% - Installing doctrine/orm (v2.4.6) Downloading: connection... Downloading: 0% Downloading: 5% Downloading: 10% Downloading: 15% Downloading: 20% Downloading: 25% Downloading: 30% Downloading: 35% Downloading: 40% Downloading: 45% Downloading: 50% Downloading: 55% Downloading: 60% Downloading: 65% Downloading: 70% Downloading: 75% Downloading: 80% Downloading: 85% Downloading: 90% Downloading: 95% Downloading: 100% Downloading: 100% - Installing incenteev/composer-parameter-handler (v2.1.0) Downloading: connection... Downloading: 0% Downloading: 25% Downloading: 50% Downloading: 75% Downloading: 100% - Installing knplabs/knp-components (1.3.1) Downloading: connection... Downloading: 0% Downloading: 5% Downloading: 10% Downloading: 30% Downloading: 35% Downloading: 40% Downloading: 60% Downloading: 65% Downloading: 70% Downloading: 75% Downloading: 80% Downloading: 100% - Installing knplabs/knp-paginator-bundle (2.4.1) Downloading: connection... Downloading: 0% Downloading: 20% Downloading: 40% Downloading: 60% Downloading: 80% Downloading: 100% - Installing knplabs/knp-snappy (0.2.1) Downloading: connection... Downloading: 0% Downloading: 35% Downloading: 70% Downloading: 100% - Installing knplabs/knp-snappy-bundle (dev-master 4e5a2cf) Downloading: connection... Downloading: 0% Downloading: 60% Downloading: 95% Downloading: 100% - Installing sensiolabs/security-checker (v2.0.0) Downloading: connection... Downloading: 0% Downloading: 90% Downloading: 100% - Installing sensio/distribution-bundle (v3.0.8) Downloading: connection... Downloading: 0% Downloading: 5% Downloading: 10% Downloading: 35% Downloading: 40% Downloading: 45% Downloading: 50% Downloading: 55% Downloading: 60% Downloading: 65% Downloading: 70% Downloading: 75% Downloading: 95% Downloading: 100% - Installing sensio/framework-extra-bundle (v3.0.2) Downloading: connection... Downloading: 0% Downloading: 15% Downloading: 30% Downloading: 40% Downloading: 45% Downloading: 55% Downloading: 60% Downloading: 70% Downloading: 75% Downloading: 85% Downloading: 90% Downloading: 100% - Installing kriswallsmith/assetic (v1.2.0) Downloading: connection... Downloading: 0% Downloading: 5% Downloading: 10% Downloading: 15% Downloading: 20% Downloading: 25% Downloading: 35% Downloading: 40% Downloading: 45% Downloading: 50% Downloading: 55% Downloading: 60% Downloading: 65% Downloading: 70% Downloading: 80% Downloading: 85% Downloading: 90% Downloading: 95% Downloading: 100% - Installing symfony/assetic-bundle (v2.5.0) Downloading: connection... Downloading: 0% Downloading: 10% Downloading: 20% Downloading: 30% Downloading: 35% Downloading: 40% Downloading: 45% Downloading: 50% Downloading: 55% Downloading: 60% Downloading: 70% Downloading: 80% Downloading: 90% Downloading: 100% - Installing monolog/monolog (1.11.0) Downloading: connection... Downloading: 0% Downloading: 5% Downloading: 10% Downloading: 15% Downloading: 20% Downloading: 25% Downloading: 30% Downloading: 35% Downloading: 40% Downloading: 45% Downloading: 50% Downloading: 55% Downloading: 60% Downloading: 65% Downloading: 70% Downloading: 75% Downloading: 80% Downloading: 85% Downloading: 90% Downloading: 95% Downloading: 100% Downloading: 100% - Installing symfony/monolog-bundle (v2.6.1) Downloading: connection... Downloading: 0% Downloading: 15% Downloading: 40% Downloading: 55% Downloading: 70% Downloading: 85% Downloading: 100% - Installing swiftmailer/swiftmailer (v5.3.0) Downloading: connection... Downloading: 0% Downloading: 5% Downloading: 10% Downloading: 15% Downloading: 20% Downloading: 25% Downloading: 30% Downloading: 35% Downloading: 40% Downloading: 45% Downloading: 50% Downloading: 55% Downloading: 60% Downloading: 65% Downloading: 70% Downloading: 75% Downloading: 80% Downloading: 85% Downloading: 90% Downloading: 95% Downloading: 100% Downloading: 100% - Installing symfony/swiftmailer-bundle (v2.3.7) Downloading: connection... Downloading: 0% Downloading: 5% Downloading: 25% Downloading: 30% Downloading: 55% Downloading: 60% Downloading: 85% Downloading: 90% Downloading: 100% - Installing twig/extensions (v1.2.0) Downloading: connection... Downloading: 0% Downloading: 10% Downloading: 20% Downloading: 30% Downloading: 75% Downloading: 100% Generating optimized autoload files Creating the "app/config/parameters.yml" file PHP Fatal error: Class 'Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle' not found in /tmp/build_634a4dfca497b3cefc3e87e3c0f3c462/app/AppKernel.php on line 30 Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-install-cmd event terminated with an exception </code></pre> <p>[RuntimeException]<br> An error occurred when executing the "'cache:clear --no-warmup'" command. </p> <p>install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [--ignore-platform-reqs] [packages1] ... [packagesN]</p> <p>! Push rejected, failed to compile PHP app<code>enter code here</code></p> </div>

我的react应用程序中的表单标签下载php文件。 怎么修?

<div class="post-text" itemprop="text"> <p>I am developing a react application which gives information about travel attractions in that country which user selects.</p> <p>Currently, my app coummnicates to the server with <code>&lt;form&gt;</code> tag.</p> <p>This is my react code:</p> <pre><code>class App extends React.Component{ submitForm = (e)=&gt;{ } render(){ return( &lt;div&gt; &lt;section id="Search" onSubmit={this.submitForm}&gt; &lt;form action="/public/server/search.php" method="GET"&gt; &lt;input placeholder="search country, attraction names" type="text" name="search"/&gt; &lt;button type="submit"&gt;SEARCH&lt;/button&gt; &lt;/form&gt; &lt;/section&gt; &lt;ItemList/&gt; &lt;/div&gt; ) } </code></pre> <p>}</p> <p>php file: This is just test code. For checking if my php file works. </p> <pre><code>&lt;?php $message = "wrong answer"; echo "&lt;script type='text/javascript'&gt;alert('$message');&lt;/script&gt;"; ?&gt; </code></pre> <p>There is no problem with the URL.</p> <p>Problem is when a user submits, the browser downloads php file instead of running it.</p> <p>I googled and found that if it downloads, there is some problem with my webserver configuration.</p> <p><a href="https://stackoverflow.com/questions/16398684/submit-button-is-downloading-the-php-instead-of-running-it">Submit button is downloading the php instead of running it</a></p> <p>and</p> <p><a href="https://stackoverflow.com/questions/9935677/form-submit-downloads-php">Form submit, downloads php</a></p> <p>But how can I fix the configuration problem whem I am running the file and localhost with npm start? not Apache? or is it same? </p> <p>I tried to run my file with apache webserver (I already have XAMPP) but it shows 404 error because it doesn't find bundle.js (webpack file). </p> <p>Here is my package.json file:</p> <pre><code>{ "name": "ReactExample", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" &amp;&amp; exit 1", "start": "webpack-dev-server --config ./webpack.config.js --mode development" }, "keywords": [], "author": "", "license": "ISC", "devDependencies": { "babel-core": "^6.26.3", "babel-loader": "^7.1.5", "babel-preset-env": "^1.7.0", "babel-preset-react": "^6.24.1", "babel-preset-stage-2": "^6.24.1", "webpack": "^4.16.0", "webpack-cli": "^3.0.8", "webpack-dev-server": "^3.1.4" }, "babel": { "presets": [ "env", "react", "stage-2" ] }, "dependencies": { "classnames": "^2.2.6", "react": "^16.4.1", "react-dom": "^16.4.1", "react-redux": "^5.0.7", "redux": "^4.0.0" } } </code></pre> </div>

如果某些目录权限不正确,phpbb 3.1.6会生成损坏的头像

<div class="post-text" itemprop="text"> <h2>NOTE: Resolved - see answer below. Question kept for reference.</h2> <p>Something is causing nginx or php or phpbb (or something else) to add 1 byte to the beginning of avatar files downloaded from phpbb. This corrupts the file.</p> <p>To exclude external factors like Cloudflare, I have now setup phpbb as non-https, localhost only, compression off.</p> <p>The problem can be seen from the following code:</p> <p>Get the file from localhost - no caching or cloudflare to interfere:</p> <pre><code>wget http://localhost/forum/download/file.php?avatar=4625_1413540046.jpg -O avatest_local.jpg ‘avatest_local.jpg’ saved [6419/6419] </code></pre> <p>Test the file</p> <pre><code>jpeginfo avatest_local.jpg avatest_local.jpg Not a JPEG file: starts with 0x0a 0xff [ERROR] </code></pre> <p>Find the identical file (phpbb does weird things to filenames)</p> <pre><code>find /var/www/forum/images/avatars/upload -size 6419c /var/www/forum/images/avatars/upload2a36dc33069249d6b1187fd84d7fc957_4625.jpg </code></pre> <p>Test THAT file and find it to be good</p> <pre><code>jpeginfo /var/www/forum/images/avatars/upload/2a36dc33069249d6b1187fd84d7fc957_4625.jpg ./2a36dc33069249d6b1187fd84d7fc957_4625.jpg 80 x 80 24bit JFIF N 6419 </code></pre> <p>Examine the first few bytes of the original file:</p> <pre><code>xdd /var/www/forum/images/avatars/upload/2a36dc33069249d6b1187fd84d7fc957_4625.jpg 0000000: ffd8 ffe0 0010 4a46 4946 0001 0101 013a ......JFIF.....: 0000010: 013a 0000 ffed 0036 5068 6f74 6f73 686f .:.....6Photosho 0000020: 7020 332e 3000 3842 494d 0404 0000 0000 p 3.0.8BIM...... </code></pre> <p>Examine the first few bytes of the downloaded file and see the extra bit:</p> <pre><code>xdd avatest_local.jpg 0000000: 0aff d8ff e000 104a 4649 4600 0101 0101 .......JFIF..... 0000010: 3a01 3a00 00ff ed00 3650 686f 746f 7368 :.:.....6Photosh 0000020: 6f70 2033 2e30 0038 4249 4d04 0400 0000 op 3.0.8BIM... </code></pre> <p>Strip the first bit back out of downloaded file to prove the point:</p> <pre><code>tail -c +2 avatest_local.jpg &gt; avatest_fixed.jpg jpeginfo avatest_fixed.jpg avatest_fixed.jpg 80 x 80 24bit JFIF N 6418 </code></pre> <p>May or may not be relevant, but if I use the chrome header viewer inspector, the http response headers for avatars show the following:</p> <pre><code>content-disposition inline; filename=4625.jpg </code></pre> <p>But if I use redbot, it shows:</p> <pre><code>Content-Disposition: inline; filename*=UTF-8''4625.jpg </code></pre> <p>and warns that</p> <blockquote> <p>The Content-Disposition header doesn't have a 'filename' parameter.</p> </blockquote> <p>However, on the official phpbb board, the content-disposition headers seem correct, although as you can see below, this doesn't seem to affect other methods of viewing the image.</p> <hr> <h2>Summary:</h2> <ul> <li><p>When downloading or viewing an avatar in the format <code>/download/file.php?avatar=4625_1413540046.jpg</code> a single byte is added to the file, making it invalid.</p></li> <li><p>When viewing an image like <code>/download/file.php?id=2871</code> the image is totally valid and displays OK.</p></li> <li><p>All image files currently on the server are valid.</p></li> <li>I have run php in "lint" mode and all files seem valid.</li> <li>I have tried running the board as "localhost" in non-https to completely remove external factors.</li> <li>I have disabled all the extensions, and even removed their files. </li> <li>This board was upgraded by deleting all core files and copying the new ones over.</li> <li>Nginx serves image and other files directly perfectly well, and other software on the same server runs fine.</li> </ul> <p>Server details:</p> <pre><code>nginx 1.9.4 PHP 5.6.4-4ubuntu6.3 phpbb 3.1.6 Linux 3.19.0-30-generic #34-Ubuntu SMP Fri Oct 2 22:07:32 UTC 2015 i686 i686 i686 GNU/Linux </code></pre> <p>One entire day spent on this, and both myself and the phpbb forum are totally flummoxed. Only started happening since update to phpbb 3.1.6. Clearly it's a problem unique to me. Or maybe not? </p> </div>

我无法在php中设置imagick模块

<div class="post-text" itemprop="text"> <p>I have a problem installing imagick and loading modules from php, but I have not found the cause of any problems at all. What is the workaround for this problem?</p> <p><strong>My environment</strong>:</p> <ul> <li>Apache : v2.4.25</li> <li>XAMPP-OSX - v5.6.30-1</li> <li>PHP - v5.6.30</li> <li>macOSX Sierra - v10.12.5</li> <li>Homebrew - v1.3.1</li> <li>php56-imagick - v3.4.3_4</li> <li>imagemagick - v7.0.6-9</li> </ul> <p><strong>Installation process</strong>:</p> <pre><code>brew install imagemagick brew search imagemagick brew install php56-imagick —build-from-source brew search php56-imagick </code></pre> <p><strong>My php.ini file:</strong></p> <pre><code>extension="/usr/local/Cellar/php56-imagick/3.4.3_4/imagick.so" </code></pre> <p><strong>My phpinfo:</strong></p> <pre><code>Loaded Configuration File - /Application/XAMPP?camppfiles/etc/php.in </code></pre> <p>**My error log **</p> <pre><code>[25-Aug-2017 12:40:55 Europe/Berlin] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/Cellar/php56-imagick/3.4.3_4/imagick.so' - dlopen(/usr/local/Cellar/php56-imagick/3.4.3_4/imagick.so, 9): Library not loaded: /usr/local/opt/freetype/lib/libfreetype.6.dylib Referenced from: /usr/local/opt/imagemagick/lib/libMagickWand-7.Q16HDRI.3.dylib Reason: Incompatible library version: libMagickWand-7.Q16HDRI.3.dylib requires version 21.0.0 or later, but libfreetype.6.dylib provides version 15.0.0 in Unknown on line 0 </code></pre> </div>

爬虫demo,运行application后一直提示All files are up-to-date,求助怎么解决

控制台信息: ``` "G:\IntelliJ IDEA 2019.3.3\jbr\bin\java.exe" -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true "-javaagent:G:\IntelliJ IDEA 2019.3.3\lib\idea_rt.jar=13492:G:\IntelliJ IDEA 2019.3.3\bin" -Dfile.encoding=UTF-8 -classpath G:\毕设爬虫\target\classes;C:\Users\Magiskboy\.m2\repository\org\springframework\boot\spring-boot-starter-web\2.2.2.RELEASE\spring-boot-starter-web-2.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\boot\spring-boot-starter\2.2.2.RELEASE\spring-boot-starter-2.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\boot\spring-boot\2.2.2.RELEASE\spring-boot-2.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\boot\spring-boot-autoconfigure\2.2.2.RELEASE\spring-boot-autoconfigure-2.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\boot\spring-boot-starter-logging\2.2.2.RELEASE\spring-boot-starter-logging-2.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;C:\Users\Magiskboy\.m2\repository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;C:\Users\Magiskboy\.m2\repository\org\apache\logging\log4j\log4j-to-slf4j\2.12.1\log4j-to-slf4j-2.12.1.jar;C:\Users\Magiskboy\.m2\repository\org\apache\logging\log4j\log4j-api\2.12.1\log4j-api-2.12.1.jar;C:\Users\Magiskboy\.m2\repository\org\slf4j\jul-to-slf4j\1.7.29\jul-to-slf4j-1.7.29.jar;C:\Users\Magiskboy\.m2\repository\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\spring-core\5.2.2.RELEASE\spring-core-5.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\spring-jcl\5.2.2.RELEASE\spring-jcl-5.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\yaml\snakeyaml\1.25\snakeyaml-1.25.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\boot\spring-boot-starter-json\2.2.2.RELEASE\spring-boot-starter-json-2.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.10.1\jackson-databind-2.10.1.jar;C:\Users\Magiskboy\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.10.1\jackson-annotations-2.10.1.jar;C:\Users\Magiskboy\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.10.1\jackson-core-2.10.1.jar;C:\Users\Magiskboy\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.10.1\jackson-datatype-jdk8-2.10.1.jar;C:\Users\Magiskboy\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.10.1\jackson-datatype-jsr310-2.10.1.jar;C:\Users\Magiskboy\.m2\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.10.1\jackson-module-parameter-names-2.10.1.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\boot\spring-boot-starter-tomcat\2.2.2.RELEASE\spring-boot-starter-tomcat-2.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\apache\tomcat\embed\tomcat-embed-core\9.0.29\tomcat-embed-core-9.0.29.jar;C:\Users\Magiskboy\.m2\repository\org\apache\tomcat\embed\tomcat-embed-el\9.0.29\tomcat-embed-el-9.0.29.jar;C:\Users\Magiskboy\.m2\repository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.29\tomcat-embed-websocket-9.0.29.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\boot\spring-boot-starter-validation\2.2.2.RELEASE\spring-boot-starter-validation-2.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\jakarta\validation\jakarta.validation-api\2.0.1\jakarta.validation-api-2.0.1.jar;C:\Users\Magiskboy\.m2\repository\org\hibernate\validator\hibernate-validator\6.0.18.Final\hibernate-validator-6.0.18.Final.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\spring-web\5.2.2.RELEASE\spring-web-5.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\spring-beans\5.2.2.RELEASE\spring-beans-5.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\spring-webmvc\5.2.2.RELEASE\spring-webmvc-5.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\spring-aop\5.2.2.RELEASE\spring-aop-5.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\spring-context\5.2.2.RELEASE\spring-context-5.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\spring-expression\5.2.2.RELEASE\spring-expression-5.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\boot\spring-boot-starter-data-jpa\2.2.2.RELEASE\spring-boot-starter-data-jpa-2.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\boot\spring-boot-starter-aop\2.2.2.RELEASE\spring-boot-starter-aop-2.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\aspectj\aspectjweaver\1.9.5\aspectjweaver-1.9.5.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\boot\spring-boot-starter-jdbc\2.2.2.RELEASE\spring-boot-starter-jdbc-2.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\com\zaxxer\HikariCP\3.4.1\HikariCP-3.4.1.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\spring-jdbc\5.2.2.RELEASE\spring-jdbc-5.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\jakarta\activation\jakarta.activation-api\1.2.1\jakarta.activation-api-1.2.1.jar;C:\Users\Magiskboy\.m2\repository\jakarta\persistence\jakarta.persistence-api\2.2.3\jakarta.persistence-api-2.2.3.jar;C:\Users\Magiskboy\.m2\repository\jakarta\transaction\jakarta.transaction-api\1.3.3\jakarta.transaction-api-1.3.3.jar;C:\Users\Magiskboy\.m2\repository\org\hibernate\hibernate-core\5.4.9.Final\hibernate-core-5.4.9.Final.jar;C:\Users\Magiskboy\.m2\repository\org\jboss\logging\jboss-logging\3.4.1.Final\jboss-logging-3.4.1.Final.jar;C:\Users\Magiskboy\.m2\repository\net\bytebuddy\byte-buddy\1.10.4\byte-buddy-1.10.4.jar;C:\Users\Magiskboy\.m2\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;C:\Users\Magiskboy\.m2\repository\org\jboss\jandex\2.1.1.Final\jandex-2.1.1.Final.jar;C:\Users\Magiskboy\.m2\repository\com\fasterxml\classmate\1.5.1\classmate-1.5.1.jar;C:\Users\Magiskboy\.m2\repository\org\dom4j\dom4j\2.1.1\dom4j-2.1.1.jar;C:\Users\Magiskboy\.m2\repository\org\hibernate\common\hibernate-commons-annotations\5.1.0.Final\hibernate-commons-annotations-5.1.0.Final.jar;C:\Users\Magiskboy\.m2\repository\org\glassfish\jaxb\jaxb-runtime\2.3.2\jaxb-runtime-2.3.2.jar;C:\Users\Magiskboy\.m2\repository\jakarta\xml\bind\jakarta.xml.bind-api\2.3.2\jakarta.xml.bind-api-2.3.2.jar;C:\Users\Magiskboy\.m2\repository\org\glassfish\jaxb\txw2\2.3.2\txw2-2.3.2.jar;C:\Users\Magiskboy\.m2\repository\com\sun\istack\istack-commons-runtime\3.0.8\istack-commons-runtime-3.0.8.jar;C:\Users\Magiskboy\.m2\repository\org\jvnet\staxex\stax-ex\1.8.1\stax-ex-1.8.1.jar;C:\Users\Magiskboy\.m2\repository\com\sun\xml\fastinfoset\FastInfoset\1.2.16\FastInfoset-1.2.16.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\data\spring-data-jpa\2.2.3.RELEASE\spring-data-jpa-2.2.3.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\data\spring-data-commons\2.2.3.RELEASE\spring-data-commons-2.2.3.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\spring-orm\5.2.2.RELEASE\spring-orm-5.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\spring-tx\5.2.2.RELEASE\spring-tx-5.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\org\slf4j\slf4j-api\1.7.29\slf4j-api-1.7.29.jar;C:\Users\Magiskboy\.m2\repository\org\springframework\spring-aspects\5.2.2.RELEASE\spring-aspects-5.2.2.RELEASE.jar;C:\Users\Magiskboy\.m2\repository\mysql\mysql-connector-java\8.0.18\mysql-connector-java-8.0.18.jar;C:\Users\Magiskboy\.m2\repository\org\apache\httpcomponents\httpclient\4.5.10\httpclient-4.5.10.jar;C:\Users\Magiskboy\.m2\repository\org\apache\httpcomponents\httpcore\4.4.12\httpcore-4.4.12.jar;C:\Users\Magiskboy\.m2\repository\commons-codec\commons-codec\1.13\commons-codec-1.13.jar;C:\Users\Magiskboy\.m2\repository\org\jsoup\jsoup\1.10.3\jsoup-1.10.3.jar;C:\Users\Magiskboy\.m2\repository\org\apache\commons\commons-lang3\3.9\commons-lang3-3.9.jar;C:\Users\Magiskboy\.m2\repository\org\javassist\javassist\3.20.0-GA\javassist-3.20.0-GA.jar cn.dzy.jd.Application . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.2.2.RELEASE) 2020-03-21 00:27:07.486 INFO 368 --- [ main] cn.dzy.jd.Application : Starting Application on DESKTOP-MBMAE94 with PID 368 (started by Magiskboy in G:\crawler-Test) 2020-03-21 00:27:07.488 INFO 368 --- [ main] cn.dzy.jd.Application : No active profile set, falling back to default profiles: default 2020-03-21 00:27:08.244 INFO 368 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2020-03-21 00:27:08.309 INFO 368 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 48ms. Found 1 JPA repository interfaces. 2020-03-21 00:27:08.577 INFO 368 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2020-03-21 00:27:08.803 INFO 368 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8081 (http) 2020-03-21 00:27:08.812 INFO 368 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2020-03-21 00:27:08.813 INFO 368 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.29] 2020-03-21 00:27:08.989 INFO 368 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2020-03-21 00:27:08.990 INFO 368 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 1445 ms 2020-03-21 00:27:09.169 INFO 368 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2020-03-21 00:27:09.288 INFO 368 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2020-03-21 00:27:09.329 INFO 368 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2020-03-21 00:27:09.386 INFO 368 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.4.9.Final} 2020-03-21 00:27:09.483 INFO 368 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.0.Final} 2020-03-21 00:27:09.615 INFO 368 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect 2020-03-21 00:27:10.321 INFO 368 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-03-21 00:27:10.327 INFO 368 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-03-21 00:27:10.727 WARN 368 --- [ main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning 2020-03-21 00:27:10.836 INFO 368 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' 2020-03-21 00:27:10.984 INFO 368 --- [ main] o.s.s.c.ThreadPoolTaskScheduler : Initializing ExecutorService 'taskScheduler' 2020-03-21 00:27:11.073 INFO 368 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8081 (http) with context path '' 2020-03-21 00:27:11.075 INFO 368 --- [ main] cn.dzy.jd.Application : Started Application in 3.966 seconds (JVM running for 5.233) ``` Event log上就一直显示:All files are up-to-date 我百度了几个答案,并没有用,急!!!

在一般java项目里面中总有一些commons的jar包,这些jar包是用来干嘛的?

在一般java项目里面中总有一些commons的jar包,这些jar包是用来干嘛的![图片说明](https://img-ask.csdn.net/upload/201703/29/1490776728_200393.png)

ubuntu 16.04怎么安装vlc,。

ubuntu 16.04系统(不能上网)。或者哪位兄弟有vlc的 deb安装包

gulp安装报错,卸了重装也报。新手入坑。求解答

![图片说明](https://img-ask.csdn.net/upload/201706/30/1498791110_602775.png)

用gem install安装的时候出现cannot load such file -- zlib

根据网上给的提示 #cd ext/zlib #ruby ./extconf.rb #make #make install 做到make这一步的时候出现这个界面 ![图片说明](https://img-ask.csdn.net/upload/201709/22/1506050693_479722.png) 怎么解决啊

MySQL 8.0.19安装教程(windows 64位)

话不多说直接开干 目录 1-先去官网下载点击的MySQL的下载​ 2-配置初始化的my.ini文件的文件 3-初始化MySQL 4-安装MySQL服务 + 启动MySQL 服务 5-连接MySQL + 修改密码 先去官网下载点击的MySQL的下载 下载完成后解压 解压完是这个样子 配置初始化的my.ini文件的文件 ...

Python+OpenCV计算机视觉

Python+OpenCV计算机视觉系统全面的介绍。

Vue.js 2.0之全家桶系列视频课程

基于新的Vue.js 2.3版本, 目前新全的Vue.js教学视频,让你少走弯路,直达技术前沿! 1. 包含Vue.js全家桶(vue.js、vue-router、axios、vuex、vue-cli、webpack、ElementUI等) 2. 采用笔记+代码案例的形式讲解,通俗易懂

navicat(内含激活码)

navicat支持mysql的可视化操作,内涵激活码,不用再忍受弹框的痛苦。

HTML期末大作业

这是我自己做的HTML期末大作业,花了很多时间,稍加修改就可以作为自己的作业了,而且也可以作为学习参考

150讲轻松搞定Python网络爬虫

【为什么学爬虫?】 &nbsp; &nbsp; &nbsp; &nbsp;1、爬虫入手容易,但是深入较难,如何写出高效率的爬虫,如何写出灵活性高可扩展的爬虫都是一项技术活。另外在爬虫过程中,经常容易遇到被反爬虫,比如字体反爬、IP识别、验证码等,如何层层攻克难点拿到想要的数据,这门课程,你都能学到! &nbsp; &nbsp; &nbsp; &nbsp;2、如果是作为一个其他行业的开发者,比如app开发,web开发,学习爬虫能让你加强对技术的认知,能够开发出更加安全的软件和网站 【课程设计】 一个完整的爬虫程序,无论大小,总体来说可以分成三个步骤,分别是: 网络请求:模拟浏览器的行为从网上抓取数据。 数据解析:将请求下来的数据进行过滤,提取我们想要的数据。 数据存储:将提取到的数据存储到硬盘或者内存中。比如用mysql数据库或者redis等。 那么本课程也是按照这几个步骤循序渐进的进行讲解,带领学生完整的掌握每个步骤的技术。另外,因为爬虫的多样性,在爬取的过程中可能会发生被反爬、效率低下等。因此我们又增加了两个章节用来提高爬虫程序的灵活性,分别是: 爬虫进阶:包括IP代理,多线程爬虫,图形验证码识别、JS加密解密、动态网页爬虫、字体反爬识别等。 Scrapy和分布式爬虫:Scrapy框架、Scrapy-redis组件、分布式爬虫等。 通过爬虫进阶的知识点我们能应付大量的反爬网站,而Scrapy框架作为一个专业的爬虫框架,使用他可以快速提高我们编写爬虫程序的效率和速度。另外如果一台机器不能满足你的需求,我们可以用分布式爬虫让多台机器帮助你快速爬取数据。 &nbsp; 从基础爬虫到商业化应用爬虫,本套课程满足您的所有需求! 【课程服务】 专属付费社群+每周三讨论会+1v1答疑

三个项目玩转深度学习(附1G源码)

从事大数据与人工智能开发与实践约十年,钱老师亲自见证了大数据行业的发展与人工智能的从冷到热。事实证明,计算机技术的发展,算力突破,海量数据,机器人技术等,开启了第四次工业革命的序章。深度学习图像分类一直是人工智能的经典任务,是智慧零售、安防、无人驾驶等机器视觉应用领域的核心技术之一,掌握图像分类技术是机器视觉学习的重中之重。针对现有线上学习的特点与实际需求,我们开发了人工智能案例实战系列课程。打造:以项目案例实践为驱动的课程学习方式,覆盖了智能零售,智慧交通等常见领域,通过基础学习、项目案例实践、社群答疑,三维立体的方式,打造最好的学习效果。

基于STM32的电子时钟设计

时钟功能 还有闹钟功能,温湿度功能,整点报时功能 你值得拥有

学生成绩管理系统(PHP + MYSQL)

做的是数据库课程设计,使用的php + MySQL,本来是黄金搭配也就没啥说的,推荐使用wamp服务器,里面有详细的使用说明,带有界面的啊!呵呵 不行的话,可以给我留言!

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?

最近面试了一个31岁8年经验的程序猿,让我有点感慨,大龄程序猿该何去何从。

程序员的兼职技能课

获取讲师答疑方式: 在付费视频第一节(触摸命令_ALL)片头有二维码及加群流程介绍 限时福利 原价99元,今日仅需39元!购课添加小助手(微信号:itxy41)按提示还可领取价值800元的编程大礼包! 讲师介绍: 苏奕嘉&nbsp;前阿里UC项目工程师 脚本开发平台官方认证满级(六级)开发者。 我将如何教会你通过【定制脚本】赚到你人生的第一桶金? 零基础程序定制脚本开发课程,是完全针对零脚本开发经验的小白而设计,课程内容共分为3大阶段: ①前期将带你掌握Q开发语言和界面交互开发能力; ②中期通过实战来制作有具体需求的定制脚本; ③后期将解锁脚本的更高阶玩法,打通任督二脉; ④应用定制脚本合法赚取额外收入的完整经验分享,带你通过程序定制脚本开发这项副业,赚取到你的第一桶金!

实用主义学Python(小白也容易上手的Python实用案例)

原价169,限时立减100元! 系统掌握Python核心语法16点,轻松应对工作中80%以上的Python使用场景! 69元=72讲+源码+社群答疑+讲师社群分享会&nbsp; 【哪些人适合学习这门课程?】 1)大学生,平时只学习了Python理论,并未接触Python实战问题; 2)对Python实用技能掌握薄弱的人,自动化、爬虫、数据分析能让你快速提高工作效率; 3)想学习新技术,如:人工智能、机器学习、深度学习等,这门课程是你的必修课程; 4)想修炼更好的编程内功,优秀的工程师肯定不能只会一门语言,Python语言功能强大、使用高效、简单易学。 【超实用技能】 从零开始 自动生成工作周报 职场升级 豆瓣电影数据爬取 实用案例 奥运冠军数据分析 自动化办公:通过Python自动化分析Excel数据并自动操作Word文档,最终获得一份基于Excel表格的数据分析报告。 豆瓣电影爬虫:通过Python自动爬取豆瓣电影信息并将电影图片保存到本地。 奥运会数据分析实战 简介:通过Python分析120年间奥运会的数据,从不同角度入手分析,从而得出一些有趣的结论。 【超人气老师】 二两 中国人工智能协会高级会员 生成对抗神经网络研究者 《深入浅出生成对抗网络:原理剖析与TensorFlow实现》一书作者 阿里云大学云学院导师 前大型游戏公司后端工程师 【超丰富实用案例】 0)图片背景去除案例 1)自动生成工作周报案例 2)豆瓣电影数据爬取案例 3)奥运会数据分析案例 4)自动处理邮件案例 5)github信息爬取/更新提醒案例 6)B站百大UP信息爬取与分析案例 7)构建自己的论文网站案例

Java8零基础入门视频教程

这门课程基于主流的java8平台,由浅入深的详细讲解了java SE的开发技术,可以使java方向的入门学员,快速扎实的掌握java开发技术!

Python数据挖掘简易入门

&nbsp; &nbsp; &nbsp; &nbsp; 本课程为Python数据挖掘方向的入门课程,课程主要以真实数据为基础,详细介绍数据挖掘入门的流程和使用Python实现pandas与numpy在数据挖掘方向的运用,并深入学习如何运用scikit-learn调用常用的数据挖掘算法解决数据挖掘问题,为进一步深入学习数据挖掘打下扎实的基础。

零基础学C#编程—C#从小白到大咖

本课程从初学者角度出发,提供了C#从入门到成为程序开发高手所需要掌握的各方面知识和技术。 【课程特点】 1 由浅入深,编排合理; 2 视频讲解,精彩详尽; 3 丰富实例,轻松易学; 4 每章总结配有难点解析文档。 15大章节,228课时,1756分钟与你一同进步!

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

多功能数字钟.zip

利用数字电子计数知识设计并制作的数字电子钟(含multisim仿真),该数字钟具有显示星期、24小时制时间、闹铃、整点报时、时间校准功能

极简JAVA学习营第四期(报名以后加助教微信:eduxy-1)

想学好JAVA必须要报两万的培训班吗? Java大神勿入 如果你: 零基础想学JAVA却不知道从何入手 看了一堆书和视频却还是连JAVA的环境都搭建不起来 囊中羞涩面对两万起的JAVA培训班不忍直视 在职没有每天大块的时间专门学习JAVA 那么恭喜你找到组织了,在这里有: 1. 一群志同道合立志学好JAVA的同学一起学习讨论JAVA 2. 灵活机动的学习时间完成特定学习任务+每日编程实战练习 3. 热心助人的助教和讲师及时帮你解决问题,不按时完成作业小心助教老师的家访哦 上一张图看看前辈的感悟: &nbsp; &nbsp; 大家一定迫不及待想知道什么是极简JAVA学习营了吧,下面就来给大家说道说道: 什么是极简JAVA学习营? 1. 针对Java小白或者初级Java学习者; 2. 利用9天时间,每天1个小时时间; 3.通过 每日作业 / 组队PK / 助教答疑 / 实战编程 / 项目答辩 / 社群讨论 / 趣味知识抢答等方式让学员爱上学习编程 , 最终实现能独立开发一个基于控制台的‘库存管理系统’ 的学习模式 极简JAVA学习营是怎么学习的? &nbsp; 如何报名? 只要购买了极简JAVA一:JAVA入门就算报名成功! &nbsp;本期为第四期极简JAVA学习营,我们来看看往期学员的学习状态: 作业看这里~ &nbsp; 助教的作业报告是不是很专业 不交作业打屁屁 助教答疑是不是很用心 &nbsp; 有奖抢答大家玩的很嗨啊 &nbsp; &nbsp; 项目答辩终于开始啦 &nbsp; 优秀者的获奖感言 &nbsp; 这是答辩项目的效果 &nbsp; &nbsp; 这么细致的服务,这么好的氛围,这样的学习效果,需要多少钱呢? 不要1999,不要199,不要99,只要9.9 是的你没听错,只要9.9以上所有就都属于你了 如果你: 1、&nbsp;想学JAVA没有基础 2、&nbsp;想学JAVA没有整块的时间 3、&nbsp;想学JAVA没有足够的预算 还等什么?赶紧报名吧,抓紧抢位,本期只招300人,错过只有等时间待定的下一期了 &nbsp; 报名请加小助手微信:eduxy-1 &nbsp; &nbsp;

Python可以这样学(第一季:Python内功修炼)

董付国系列教材《Python程序设计基础》、《Python程序设计(第2版)》、《Python可以这样学》配套视频,讲解Python 3.5.x和3.6.x语法、内置对象用法、选择与循环以及函数设计与使用、lambda表达式用法、字符串与正则表达式应用、面向对象编程、文本文件与二进制文件操作、目录操作与系统运维、异常处理结构。

Java基础知识面试题(2020最新版)

文章目录Java概述何为编程什么是Javajdk1.5之后的三大版本JVM、JRE和JDK的关系什么是跨平台性?原理是什么Java语言有哪些特点什么是字节码?采用字节码的最大好处是什么什么是Java程序的主类?应用程序和小程序的主类有何不同?Java应用程序与小程序之间有那些差别?Java和C++的区别Oracle JDK 和 OpenJDK 的对比基础语法数据类型Java有哪些数据类型switc...

机器学习实战系列套餐(必备基础+经典算法+案例实战)

机器学习实战系列套餐以实战为出发点,帮助同学们快速掌握机器学习领域必备经典算法原理并结合Python工具包进行实战应用。建议学习顺序:1.Python必备工具包:掌握实战工具 2.机器学习算法与实战应用:数学原理与应用方法都是必备技能 3.数据挖掘实战:通过真实数据集进行项目实战。按照下列课程顺序学习即可! 课程风格通俗易懂,用最接地气的方式带领大家轻松进军机器学习!提供所有课程代码,PPT与实战数据,有任何问题欢迎随时与我讨论。

Java面试题大全(2020版)

发现网上很多Java面试题都没有答案,所以花了很长时间搜集整理出来了这套Java面试题大全,希望对大家有帮助哈~ 本套Java面试题大全,全的不能再全,哈哈~ 一、Java 基础 1. JDK 和 JRE 有什么区别? JDK:Java Development Kit 的简称,java 开发工具包,提供了 java 的开发环境和运行环境。 JRE:Java Runtime Environ...

程序员垃圾简历长什么样?

已经连续五年参加大厂校招、社招的技术面试工作,简历看的不下于万份 这篇文章会用实例告诉你,什么是差的程序员简历! 疫情快要结束了,各个公司也都开始春招了,作为即将红遍大江南北的新晋UP主,那当然要为小伙伴们做点事(手动狗头)。 就在公众号里公开征简历,义务帮大家看,并一一点评。《启舰:春招在即,义务帮大家看看简历吧》 一石激起千层浪,三天收到两百多封简历。 花光了两个星期的所有空闲时...

深度学习原理+项目实战+算法详解+主流框架(套餐)

深度学习系列课程从深度学习基础知识点开始讲解一步步进入神经网络的世界再到卷积和递归神经网络,详解各大经典网络架构。实战部分选择当下最火爆深度学习框架PyTorch与Tensorflow/Keras,全程实战演示框架核心使用与建模方法。项目实战部分选择计算机视觉与自然语言处理领域经典项目,从零开始详解算法原理,debug模式逐行代码解读。适合准备就业和转行的同学们加入学习! 建议按照下列课程顺序来进行学习 (1)掌握深度学习必备经典网络架构 (2)深度框架实战方法 (3)计算机视觉与自然语言处理项目实战。(按照课程排列顺序即可)

HoloLens2开发入门教程

本课程为HoloLens2开发入门教程,讲解部署开发环境,安装VS2019,Unity版本,Windows SDK,创建Unity项目,讲解如何使用MRTK,编辑器模拟手势交互,打包VS工程并编译部署应用到HoloLens上等。

几率大的Redis面试题(含答案)

本文的面试题如下: Redis 持久化机制 缓存雪崩、缓存穿透、缓存预热、缓存更新、缓存降级等问题 热点数据和冷数据是什么 Memcache与Redis的区别都有哪些? 单线程的redis为什么这么快 redis的数据类型,以及每种数据类型的使用场景,Redis 内部结构 redis的过期策略以及内存淘汰机制【~】 Redis 为什么是单线程的,优点 如何解决redis的并发竞争key问题 Red...

MFC一站式终极全套课程包

该套餐共包含从C小白到C++到MFC的全部课程,整套学下来绝对成为一名C++大牛!!!

【数据结构与算法综合实验】欢乐连连看(C++ & MFC)案例

这是武汉理工大学计算机学院数据结构与算法综合实验课程的第三次项目:欢乐连连看(C++ & MFC)迭代开发代码。运行环境:VS2017。已经实现功能:开始游戏、消子、判断胜负、提示、重排、计时、帮助。

YOLOv3目标检测实战:训练自己的数据集

YOLOv3是一种基于深度学习的端到端实时目标检测方法,以速度快见长。本课程将手把手地教大家使用labelImg标注和使用YOLOv3训练自己的数据集。课程分为三个小项目:足球目标检测(单目标检测)、梅西目标检测(单目标检测)、足球和梅西同时目标检测(两目标检测)。 本课程的YOLOv3使用Darknet,在Ubuntu系统上做项目演示。包括:安装Darknet、给自己的数据集打标签、整理自己的数据集、修改配置文件、训练自己的数据集、测试训练出的网络模型、性能统计(mAP计算和画出PR曲线)和先验框聚类。 Darknet是使用C语言实现的轻型开源深度学习框架,依赖少,可移植性好,值得深入探究。 除本课程《YOLOv3目标检测实战:训练自己的数据集》外,本人推出了有关YOLOv3目标检测的系列课程,请持续关注该系列的其它课程视频,包括: 《YOLOv3目标检测实战:交通标志识别》 《YOLOv3目标检测:原理与源码解析》 《YOLOv3目标检测:网络模型改进方法》 敬请关注并选择学习!

u-boot-2015.07.tar.bz2

uboot-2015-07最新代码,喜欢的朋友请拿去

相关热词 c# 开发接口 c# 中方法上面的限制 c# java 时间戳 c#单元测试入门 c# 数组转化成文本 c#实体类主外键关系设置 c# 子函数 局部 c#窗口位置设置 c# list 查询 c# 事件 执行顺序
立即提问
相关内容推荐