http://blog.chinaunix.net/uid-26559452-id-3093121.html提高Magento性能的一个很重要的方法是开启Magento编译模式,可以在后台System>Tools>Compilation,点击Run Compilation Process按钮,一段时间后,我们发现Compiler Status由Disabled变为Enabled,已经
转载 精选 2013-08-27 18:22:01
548阅读
$customer = Mage::getModel('customer/customer');//$customer = new
原创 2015-11-18 02:37:06
62阅读
Shell#php indexer.php info
原创 2013-10-26 10:11:37
908阅读
当数据量较大时 后台索引的速度往往过慢导致异常当然使用shell更新索引,,操作起来也更简单快捷,
原创 2023-05-19 14:05:42
33阅读
./configure--prefix=/usr/local/php--with-curl--with-apxs2=/usr/local/apache2.4/bin/apxs--with-freetype-dir--with-gd--with-gettext--with-iconv-dir--with-kerberos--with-libdir=lib64--with-libxml-dir--wi
转载 2018-12-13 15:24:25
457阅读
[root@lnmp01 tools]# tar xf php-5.3.27.tar.gz解压压缩包[root@lnmp01 tools]# cd php-5.3.27 进入php安装目录./configure 编译参数–prefix=/application/php5.3.27 指定php的安装路径为/application/php5.3.27–with-mysql
php
转载 2016-10-14 00:12:38
810阅读
I am running a Magento Store and have created a seperate login outside
原创 2015-12-22 03:02:04
201阅读
关于如何去掉magento网址烦人的index.php及解决出现的404error错误
原创 2014-02-26 14:23:04
2158阅读
1点赞
3评论
通常我们创建一个cms page之后,在后台可以借助magento自带的编辑器进行一些简单的变量插入,但是如果页面内容比较复杂并且有很多自定义变量的时候,比如我们需要从db取一些数据或者对数据进行复杂处理时,自带的编辑器就无能为力了;一个比较好的方法就是创建自己的phtml,例如创建page.phtml: app/design/frontend/default/yourtheme/template/page/page.phtml 然后在后台cms page的content里合适位置写入以下内容: {{block type="core/template" template=&
转载 2013-04-03 20:03:00
95阅读
2评论
magento索引管理当我们网站商品很多的时候,比如有几千件,我们刷新Magento的索引管理(Index Management)经常会失败。那么后台
原创 2023-05-09 11:04:02
106阅读
IntroductionBeing a PHP developer, you are no way hiding from PHP’s date() function.In case of Magento, makes an usage of timezone which is configured from the backend (System > Configurati...
原创 2023-05-05 14:24:05
92阅读
./configure –prefix=/usr/local/php                                 &
转载 2011-02-19 15:33:55
477阅读
目前最常见的PHP编译缓存工具有:APC,Accelerator,xcache(国产)等。   PHP是一种解释型语言,在PHP语言执行代码的时候,需要下面两步:   1、编译过程。PHP读取文件,并编译该文件,然后生成能够在Zend Engine虚拟机上执行的中间码。   2、执行过程。PHP直接执行中间码。   以下两种情况,会导致PHP运行程序代码效率低下:   1、即使PHP代码文件没有
原创 2012-12-21 15:42:14
690阅读
1.去php官网下载源码 http://www.php.net/downloads.php ,我下载使用的版本是(php-5.4.8.tar.gz)2.解压到/usr/src目录,执行命令:sudo tar -zxvf php-5.4.8.tar.gz -C /usr/src3.执行./configure --prefix=/usr/local/php --enable-fpm  --w
转载 精选 2013-07-03 09:19:12
699阅读
2010-08-08 13:33 cannot find -lltdl ,编译php又出错了 php在make过程中出现“usr bin ld cannot find lltdl”错误,详细错误如下: /usr/bin/ld: cannot find -lltdl collect2: ld returned 1 exit status make: *** [libphp5.la
php
原创 2014-05-31 11:31:58
793阅读
安装PHP   安装前置    yum install libpng libjpeg freetype libmcrypt libmcrypt-devel libpng-devel libjpeg-devel freetype-devel libxml2 libxml2-devel libcurl libcurl-devel   下载解压
原创 2016-01-20 16:40:23
810阅读
1点赞
./configure   --prefix=/usr/local/php   --with-apxs2=/usr/local/apache2/bin/apxs   --with-config-file-path=/usr/local/php/etc   --with-mysql=/usr/local/mysql   --with-libxml-d
原创 2016-02-18 17:12:36
505阅读
Php编译安装 1.解压缩php包 2.编译参数 ./configure --prefix=/usr/local/lnm--witconfig-file-path=/usr/local/lnmp/php/etc --with-mysql --with-mysqli --with-pdo-mysql --enable-mysqlnd --with-openssl --with-snmp -
原创 2016-09-19 15:12:22
470阅读
nginx和mysql数据库不在一台服务器上面./configure \--prefix=/application/php-5.5.32 \--with-iconv-dir=/usr/local/libiconv \--with-mysql=mysqlnd \--with-pdo-mysql=mysqlnd \--with-freetype-dir \--with-jpeg-dir \--with
原创 2016-09-26 18:06:55
589阅读
php安装## 下载包源码包[root@localhost src]# wget http://cn2.php.net/distributions/php-5.3.28.tar.gz## 解压缩[root@localhost src]# tar zxf php-5.3.28.tar.gz[root@localhost src]# cd php-5.3.28## 初始化[root@loca
php
原创 2017-01-01 17:59:29
654阅读
  • 1
  • 2
  • 3
  • 4
  • 5