V-TEK Weblog about webdevelopment and linux

18Dec/081

A call for cakephp favourite links

Hi Y'all.

I want to make a special part on my blog, containing your favourite and best links regarding cakephp.
If you feel, you got that perfect, ideal link to a blog, pdf or site please feel free to use the comments form!

I'll start of with a few...

20Apr/081

linux php editor with ftp and webdav support

If you have been looking around to get a php editor with ftp and/or webdav support, look no further ( and especially, dont BUY anything! ).It has brought to my attention that the famous Zend Studio has a lot of hot features, like ftp and webdav support. But what are the parts where Zend Studio is build on? Right, the open source package Eclipse and a couple of other eclipse plugins ( which in this case have been made by Zend themselves ). Hot features for me are the ftp and webdav support,.. but can you imagine that these features aren't uniquely provided by Zend only? No they are just plain default plugins which are provided open source by Eclipse themselves too!

As you might feel in the text above, there are other solutions... Open source solutions I mean!

Ok, so how do we create a Zend Studio environment with equal features? It's quit simple:

1) Download the latest Eclipse SDK from eclipse.org

2) Install PDT ( PHP Development Tools) using http://download.eclipse.org/tools/pdt/updates/

3) Install the features you'd like ( such as 'ftp and webdav support') by using the Target Management plugin for eclipse. More info at: http://www.eclipse.org/dsdp/tm/

Probably saved you guys or girls quit a few bucks with this ;)

Tagged as: , 1 Comment
3Apr/083

Magento, Open Source E-commerce Evolved!

A time ago, I told you people about the ePages software that is hosted by XXL Webhosting. This time I will attend you to an open source e-commerce solution that is quit as good as the ePages software ( or even better ;) ). The open source e-commerce solution I mean is "Magento".

Magento is a feature rich e-commerce solution offering complete flexibility and control over the look, content and functionality of your webstore.

I will not paste the features here, because there are too much :p Instead of that you can use the following link to the feature list:
http://www.magentocommerce.com/doc/features.pdf

Oh yeah, ofcourse you can find this product and it's screencasts, videocasts and more at:
http://www.magentocommerce.com

Tagged as: 3 Comments
9Nov/071

Enable mime magic for php4 or php5 on a cpanel server

The following steps help you to enable mime magic on a cPanel server
1 - First do a ‘normal’ Apache Update with all the features you like
2 - Login into the commandline using putty or any other program that can be used to access commandline
3 - Edit the “buildscript” which you can locate at : /home/cpapachebuild/buildapache
4 - In that file search for the phrase “Running configure”.
5 - You will find 4 lines which start with “LDFLAGS=”, after them you append the following phrase “–with-xsl”
6 - For example it might look like this

if [ “1″ = “1″ ]; then
LDFLAGS=”-L/usr/X11R6/lib64 -lstdc++” $configure $PIC $APXS –prefix=/usr/local –with-xml $MM –enable-bcmath –enable-calendar –with-curl –enable-exif –with-swf=/usr/local/flash –enable-ftp $WITHGD –with-gettext –with-iconv $WITHIMAP –enable-mbstring –enable-mbstr-enc-trans –enable-mbregex –with-mcrypt –enable-magic-quotes $WITHMYSQL –with-openssl –enable-discard-path –with-pear –enable-xslt –with-xslt-sablot –enable-safe-mode –enable-sockets –enable-track-vars $ttfopts –enable-versioning –with-xmlrpc –with-zip –with-zlib –with-mime-magic
else
LDFLAGS=”-L/usr/X11R6/lib64″ $configure $PIC $APXS –prefix=/usr/local –with-xml $MM –enable-bcmath –enable-calendar –with-curl –enable-exif –with-swf=/usr/local/flash –enable-ftp $WITHGD –with-gettext –with-iconv $WITHIMAP –enable-mbstring –enable-mbstr-enc-trans –enable-mbregex –with-mcrypt –enable-magic-quotes $WITHMYSQL –with-openssl –enable-discard-path –with-pear –enable-xslt –with-xslt-sablot –enable-safe-mode –enable-sockets –enable-track-vars $ttfopts –enable-versioning –with-xmlrpc –with-zip –with-zlib –with-mime-magic
fi
echo “#undef COMPILE_DL_ZLIB” >> main/php_config.h

7 - Now save your “buildscript” file and run it from the commandline

8 - Now update the following line in your php.ini to let the magic point to the right file

mime_magic.magicfile = "$PHP_INSTALL_DIR\magic.mime"

( You can lookup the magic.mime file on your server using tools like find or locate )

Tagged as: , , 1 Comment