How to edit php.ini from ssh

Code Library, Linux Apache Server 1 Comment »

Type:

1. “cd /etc”
2. “ls”

Check that there is the php.ini listed if not you will have to ask your hosting provider where it is.

3. “vi php.ini”

Find the bit in php.ini you would like to edit.

4. “i” - This enables you to edit the php.ini file

5. After changing the file, please Esc.

6: “:wq” - (w = saves the file, q = quit)

7. reboot your server and your done.

Rate This Post:

Safari 3 for Windows XP - Finally

Browsers, Web Development Stuff No Comments »

Safari 3 for windows

http://www.apple.com/safari/

Although only beta it’s a start. I remember this time last year looking for a windows KHTML or WebKit browser and could only find the swift browser which at the time was very buggy. Since then I think it’s changed hand and probably still worth a look.

http://try.swift.ws/

For me this is great news, no longer do I have to keep on checking browsershots or browsercamp even time I make a slight change to my css or html. I know it probably wont render exactly as it does on the mac but still it’s a great start.

Rate This Post:

Getting .htaccess to work on windows apache

Code Library, Linux Apache Server, Windows IIS Server 3 Comments »

Could figure out how to actually write the .htaccess file in windows as when i tried to rename the txt file I created to .htaccess it popped up an error saying “You must type a file name”.

The solution:

1. Open up notepad

2. Write the contents of your .htaccess

3. Save as

4. “.htacess” - Make sure you keep the speech marks.

5. Sorted

Rate This Post:
Entries RSS Comments RSS