copy php-fpm.conf to /usr/local/cgiphp/etc
chmod src/php-5.3.3/sapi/fpm/init.d*
make /usr/local/cgiphp/var writable to user 'nobody' or just make it writable
both log and run dirs must be writable so that default log
and pid files can be created
//
lighttpd server
after ./configure
make
make install
// need to manually create
/etc/lighttpd
and copy from src/lighttpd-XXX/doc/config/lighttpd.conf
//
and also copy modules.conf there too
manually create dir /var/log/lighttpd/
and create files access.log and error.log in there
and make them writable
if files don't exist server will not be able to start
manually create /tmp/lighttpd/cache
for compression
change ipv6 to "disabled" otherwise the SERVER["REMOVE_HOST"]
shows weird looking ip stat starts with hex:$ip
Monday, November 15, 2010
Friday, July 30, 2010
Recent apache Bookmarks on Delicious
Recent apache Bookmarks on Delicious: "- Sent using Google Toolbar"
Sunday, July 18, 2010
How to work around “sorry, you must have a tty to run sudo” without sacrificing security
Edit the /etc/sudoers file and comment out this line:
Defaults requiretty
Done!
Defaults requiretty
Done!
Tuesday, July 13, 2010
Notes for Twitter image aggregator
Need per-twitter-user stats
in order to show other pics by the same user.
==================================================
Image rate up/down
favorites
comments
/reply
===========
most commented
most liked
most favorited
============
By tags....
How to best display other thumbs? In carousel or just on side block?
The idea is to auto retweet every new one
User may "Retweet", "Favorite", "Like", "Hate"
and "Comment" and "Reply"
Also may "Follow"
===================\\
Home page will have thumbs of new images + hash tag + tweet...
+ 'minutes' ago.... use JS for that?
+ javascript will auto-insert new images to top
==============
Nav column will have just recent tweets with auto-update
=============
Will also have tabs with most viewed, most commented, most liked, most favorited....
And will also have a per/tag pages...
=========
Settings to not include the user in 'viewed' image
Setting to not auto tweet the "Like" action
========
Keep tab on Next/Prev per image
========
store image paths like 23/54.jpg
then can easily create mini thumbs, thumbs, orig
===========
in order to show other pics by the same user.
==================================================
Image rate up/down
favorites
comments
/reply
===========
most commented
most liked
most favorited
============
By tags....
How to best display other thumbs? In carousel or just on side block?
The idea is to auto retweet every new one
User may "Retweet", "Favorite", "Like", "Hate"
and "Comment" and "Reply"
Also may "Follow"
===================\\
Home page will have thumbs of new images + hash tag + tweet...
+ 'minutes' ago.... use JS for that?
+ javascript will auto-insert new images to top
==============
Nav column will have just recent tweets with auto-update
=============
Will also have tabs with most viewed, most commented, most liked, most favorited....
And will also have a per/tag pages...
=========
Settings to not include the user in 'viewed' image
Setting to not auto tweet the "Like" action
========
Keep tab on Next/Prev per image
========
store image paths like 23/54.jpg
then can easily create mini thumbs, thumbs, orig
===========
Sunday, May 30, 2010
Cannot start XAMPP on Windows 7?
If you having problem starting apache server on Windows 7 after installing the XAMPP, the problem is most likely that you already have a web server running.
Windows 7 comes with the IIS server and it's started up by default on many Windows 7 installations.
This is usually a very bad security risk, mainly because you should never have any server running that you don't need. Even more important, you should never have any server running that you are not aware of.
Anyway, on Windows 7 you should check if IIS is running and stop it if it is running.
Do this:
Start -> Control Panel -> System and security -> Internet Information service.
You then look in the right panel to see if Start button is grey and stop button is green. This would indicate that IIS service is running. Just click on Stop button to stop it.
Then you should be able to start the Apache server from the XAMPP control panel
Windows 7 comes with the IIS server and it's started up by default on many Windows 7 installations.
This is usually a very bad security risk, mainly because you should never have any server running that you don't need. Even more important, you should never have any server running that you are not aware of.
Anyway, on Windows 7 you should check if IIS is running and stop it if it is running.
Do this:
Start -> Control Panel -> System and security -> Internet Information service.
You then look in the right panel to see if Start button is grey and stop button is green. This would indicate that IIS service is running. Just click on Stop button to stop it.
Then you should be able to start the Apache server from the XAMPP control panel
Subscribe to:
Posts (Atom)