Microsoft Windows Vista and Linux Samba Shares

Having Problems with access Samba shares from your linux box?
Getting “error code 0×80070035 network path was not found” even though the path IS correct?
Then try this:-
Run secpol.msc
Go to: Local Policies > Security Options
Find “Network Security: LAN Manager authentication level”
Change Setting from “Send NTLMv2 response only” to
“Send LM & NTLM – use NTLMv2 session security if negotiated”

Advertisements

Installing PHP 5.2.x on RedHat ES5, CentOS 5, etc

I’ve had to follow this tutorial a few times myself now so decided I should share it with the world.

Problem is, RedHat ES5 does not have support at this time for anything higher than 5.1.6, and we didn’t want to break RPM dependancys etc by installing from source.

To install PHP 5.2.5 (Highest in repository at this time) you can make use of a RPM repository maintained by Remi at:

http://blog.famillecollet.com/post/2005/10/02/8-telechargement-installation-et-yum

He has a repository for each distro, but to save you translating into english for the ES5 one I’ll give you the commands here. Run the following to get up and running:

Execute at the command prompt:

wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-2.noarch.rpm

then:

wget http://rpms.famillecollet.com/el5.i386/remi-release-5-4.el5.remi.noarch.rpm

now run:

rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm

You now have the Remi repository on your system, however it is disabled by default. Obviously you don’t want all of your packages been effected by this repository, however to enable it for a specific package, run the following:

yum –enablerepo=remi update php

You should now have the latest PHP5 installed, to verify this run:

php -v

PHP 5.2.5 (cli) (built: Nov 10 2007 10:52:30)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies