pROCKrammers BLOG

My Blog about Computez and ...

How to install CakePHP on openSUSE 11.3 (mod_rewrite)

, , , ,

openSUSE 11.3 is realized but. While installing CakePHP to openSUSE i got some problems, and did not found any article on installing it.

First off all, install LAMP pattern from YAST.

Now we should enable mod_rewrite

/usr/sbin/a2enmod rewrite


Now lets edit website file, in order to make mod_rewrite better.

sudo vim /etc/apache2/default-server.conf


Here you should edit 2 lines, edit it like this. Options should be All, and AllowOverride should be also all.

<Directory "/srv/www/htdocs">
........................
        Options All
........................
        AllowOverride All
</Directory>


Then start your apache web server with command

sudo /etc/init.d/apache2 start
sudo /etc/init.d/mysql start



Now its ready for using.

apt vs zypperMy New Blog

Comments

Anonymous Thursday, August 18, 2011 4:58:10 AM

J.v.C writes: Thanks for information

Anonymous Saturday, February 4, 2012 6:00:07 PM

Anônimo writes: Funcionou numa boa no suse. Só precisa alterar isso mesmo, sem mais guéri-guéri!

Anonymous Saturday, February 4, 2012 6:02:08 PM

Alexandre writes: Complementando: no meu caso funcionou utilizando o phpmyadmin. Valeu, Sardorbek

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies