li's profileSharing LifePhotosBlogListsMore ![]() | Help |
|
May 31 最新Apache 2.2.4+PHP 5.2.2-+MySQL 5.0.41 + phpMyAdmin配置方法
第一步:安装 apache_2.2.4-win32-x86-no_ssl.msi
第二步:解压php-5.2.2-Win32到C:\php目录下
第三步:修改C:\Program Files\Apache Software Foundation\Apache2.2\conf目录下面的httpd.conf 在 # 'Main' server configuration 这一行的上面加入:
# For PHP 5 do something like this: LoadModule php5_module c:/php/php5apache2_2.dll AddType application/x-httpd-php .php
# configure the path to php.ini PHPIniDir C:/php
重新启动apache服务 到此apache 支持php了
第四步:安装mysql-5.0.41-win32 Setup.exe
第五步:配置php.ini 将C:\php目录下的php.ini-recommended拷贝一份并更名为php.ini
修改php.ini 1) 找到extension_dir = "./" 修改为extension_dir = "C:\php\ext" 2) 找到 ;extension= php_mbstring.dll ;extension= php_mcrypt.dll ;extension=php_mysql.dll ;extension=php_mysqli.dll ;extension=php_pdo.dll ;extension=php_pdo_mysql.dll 去掉前面的分号 ; 3) 到C:\php目录下拷贝 libmysql.dll msql.dll 到window system32, system, system32/drivers/ext下面 4) 如果还有问题拷贝 C:\php\ext php_mysql.dll php_mysqli.dll php_pdo.dll php_pdo_mysql.dll都到window system32, system, system32/drivers/ext下面 5) 记得要重新启动apache服务
第六步:phpMyAdmin的配置太简单了拷贝一份config.sample.inc.php更名为config.inc.php修改一下里面的$cfg['blowfish_secret'] = 'ba17c1ec07d65003'; 乱加一些数字字母就ok了;
May 30 Efficent Web Design & Development: Hacks to Save Time & MoneyI have been writing too many in theory type posts, so here is a post offering many practical tips to increase productivity and lower your site development costs. Site IdeasIf you have a deep interest in a particular market or understand some general macro-trends (online or offline) that gives you a big advantage over others in choosing what to make a site about.
I also like to look at sites like Elance or ScriptLance to see what kinds of projects other people are creating. Also look at some of the past projects from some of the better service providers to find rich markets. Buying a Domain NameGo to PsychicWhois to look for names in related fields. If you can get an exact match keyword .net or .org domain for $8 it might be worth registering it. If you are aiming for a local market your local .co.uk or .ca might be a nice buy too.
Sites like Afternic, BuyDomains, Sedo, and Fabulous offer domains for sale for set prices, while SnapNames, Pool, TDNam, and Sedo (again) sell domains at auction. A couple years ago Mike Davidson wrote an article about buying expiring domain names. At domain auctions the domains tend to typically go for fairly affordable prices. The .net and .org prices are fairly reasonable because many of the top auctions are based on some multiple of type in value. If the .com names seem a bit more mainstream they can get really expensive unless you have a strong monetization model or a large passive revenue stream. Frank Schilling mentioned that he paid 140x yearly earnings for SnoringCure.com, (over $8,000). Prices can vary widely though. A .net or .org or a URL with keywords in an alternate order may go way cheaper. If you are creating a new word or brand it is best to get the .com of it, but if the .com is already registered and not much is being done with it yet you might be better off going with a .org or .net and using the price differential for site design, content development, and marketing. Remember that once you start developing a name many of the associated costs (site design, content, market, etc.) are the same if you have a good name or a bad one. Eventually a good name should be able to pay for itself through lower recurring marketing costs. Website DesignSome people are graphically inclined while being bad at coding. Working with a bad site design wastes time and may kill your interest in a project. Requiring the designer to produce quality workable code or turning design into a 2 step process might make it more manageable. You can pay one person to create the graphics and use a company like psd2html.com to convert the design into code can keep design costs low while keeping the code usable.
Another great design option is to just get a free blog template or free site template, then buy a logo from an affordable source. You can buy the logos from logo designers like The Logo Company or Logo Design Works, contests in design forums, or outsourcing sites like Elance or Scriptlance. Content DevelopmentCloak Affiliate LinksBy cloaking affiliate links through your .htaccess file or a PHP jump script it makes it easy to change affiliate partners if merchants change networks or payout levels.
Dynamic DevelopmentI like using dynamic programing or server side includes to make it easy to change sections of a site without having to edit pages one page at a time. For example, many of my new sites have blank server side includes where the ads go. When the site gets some good traction ads magically appear.
Track Your ProgressInstall a tracking script to track your progress to see what keywords you are ranking for and where you need to do more work. If certain sections of your site are more profitable than others make sure to over-represent them in your internal link profile.
How to Write Content:You can find writers from sites like Craigslist, popular industry forums, look for local college students, or people who are already blogging about your topic. Six keys to profitable content development
|
|
|