Re: Installing PEAR os x 10.4.9
| From: | Simon Ruderich | Date: | Fri, 13 Apr 2007 01:01:07 +0000 |
| Subject: | Re: Installing PEAR os x 10.4.9 | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-27040@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Michael Nease wrote:
> "FATAL ERROR! We cannot initialize the temp directory. Please be sure
> to give full write access to this directory and the install directory.
> '/Users/"my name"/Sites/pear/temp' was given."
>
> I have checked the folder preferences many times and know read/write
> privileges are given.
I think the easiest way to do this is to open the Terminal (in
Applications/Utilities) and type "sudo chmod -R 0777 " (without the
quotes, watch the last space) and then drag the Sites directory (in your
home directory) into the Terminal window. Hit enter and type your login
password and hit enter again. Then the directory should be writable by
php. (chmod changes the access rights on a file or directory)
If you work alone on your computer (no other users created) then this is
not a problem, but if there are other users, they all can read your
webpages in Sites. If this is not a problem there should be no drawbacks
with this action.
There are some better ways to handle these access problems, but they are
a bit more complex. If you want more help with this you can ask me off
the mailing list.
Hope this helps,
Simon
- --
+ privacy is necessary
+ using http://gnupg.org
+ public key id: 0x6115F804EFB33229
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iD8DBQFGHtZTYRX4BO+zMikRCo2gAKCcIDxuWXyWVNzXiy4BMoIpmpvgigCdHAPE
rVnw0Se3F77NF0UrYgtX574=
=X8H6
-----END PGP SIGNATURE-----