Tag Archives: var

2002 Cannot log in to the MySQL server – MAC

To fix In /etc/php.ini, replaced the three occurences of /var/mysql/mysql.sock with /tmp/mysql.sock prompt% sudo chmod u+w php.ini   <- had to give myself write permission to that file.. you may need to become root user to actually edit the file.. depends … Continue reading

Posted in PHP, SQL | Tagged , , , , , , | Leave a comment

Open_basedir issues

Check /var/www/php-fcgi-scripts/web4/.php-fcgi-starter    

Posted in PHP | Tagged , , , , | Leave a comment

Shell, KSH Read Variables

Read in a Variable From a user we read with: read var. Then the users can type something in. One should first print something like: print -n “Enter your favorite haircolor: “; read var; print “”. The -n suppresses the … Continue reading

Posted in UNIX | Tagged , , , , , , , , , | Leave a comment

change passwd – permission denied (NIS)

I setup a new NIS server and put the NIS source files in /var/yp/src/ The command line “passwd” gave me a permission denied when changing an NIS user’s password. A restart of yp fixed the problem for me.. Eventually I … Continue reading

Posted in UNIX | Tagged , , , , , , , , | Leave a comment