[ITA] Configurare Apache/php/mysql + Eclipse + xDebug su Mac Os X con Mamp

osx-php-eclipse-pdt-apache-xdebugA causa delle numerose tribolazioni degli utenti mac Os X nel tentativo di configurare un buon ambiente di sviluppo dedicato al php, ho deciso di scrivere questa semplice guida, utile per Mac Os X che utilizzerà:

  • Mamp
  • Eclipse
  • Xdebug

Continue reading “[ITA] Configurare Apache/php/mysql + Eclipse + xDebug su Mac Os X con Mamp”

Incoming search terms:

  • configurare php su IMAC (18)
(Visited 3,336 times, 1 visits today)

Shineisp Installation Log / mini How to

Shineisp is an italian open source WHM (Web Hosing Management) and we are going to give it a try. I recall i alredy installed it last year, but the machine had a poor hardware and shineisp is a greedy MVC phpmysql program. For this “instalfiguration” we assume we are on Debian Squeeze and we will cover the steps needed to get shineisp up and running in 10 minutes.

Continue reading “Shineisp Installation Log / mini How to”

(Visited 2,301 times, 1 visits today)

Arduino as flight simulator interface for any rc receiver

Important Update

If you are going to use this code, please read on comments, you will find a better written code, shorter and with no conversions. Thanks to Fabien.

You might be interested also in :Quacopter hexcopter, optocopter FMS models

I have left my usb adapter for my RC Radio to flight simulator to my friend Simone.
I have a spare arduino (any arduino is suitable, until it as at least the usb port, obviously 🙂 ) and a spare turnigy receiver with damaged antenna (max range 5 meters, enough for the coach). Continue reading “Arduino as flight simulator interface for any rc receiver”

Incoming search terms:

  • arduino rc simulator (23)
  • arduino rc receiver (18)
  • arduino (17)
  • arduino flight simulator (15)
  • arduino rc receiver interface (15)
  • gy-65 arduino (15)
  • r/c receiver usb (10)
(Visited 23,646 times, 1 visits today)

How to configure Wireless Lan Raspberry Headless Server

It could be useful for wlan configuration without a Desktop GUI or just from ssh client, you choose why.

The point is: you can’t do it with iwconfig, unless you have just wep encription enabled, if you use to have wpa/wpa2, instead you want to use wpa_supplicant.
If you type Continue reading “How to configure Wireless Lan Raspberry Headless Server”

Incoming search terms:

  • raspberian (14)
(Visited 4,458 times, 1 visits today)

WordPress and “ALERT – script tried to increase memory_limit to 268435456 bytes” issue

untitledSometimes you can find the following line appearing in your webserver error logs:

[Tue Mar 13 10:48:03 2012] [error] [client] ALERT - script tried to increase memory_limit to 268435456 bytes which is above the allowed value (attacker '23.xx.25.190', file '/var/www/xxxxx/xxxxxx/xxxxxx/web/wp-admin/admin.php', line 109), referer: http://website.com/wp-admin/edit.php

There is a quick solution and it can be found in a file called:


[20121223 – UPDATED]: Please, see the Andreas comment below.
It seems to be better to move the “define(‘WP_MAX_MEMORY_LIMIT’, ’64M’);” in wp-config.php rather than default-constants.php. Anyway this stopped after the wordpress update
Thank you Andreas!

you can easily change (around line 96) the var value from 256 megs to the memory size that best suits your server needs.

Do not hesitate to comment for help.

(Visited 1,922 times, 1 visits today)

WordPress and “ALERT – configured POST variable limit exceeded – dropped variable” issue

ICustom Grunge WordPress Logot may happen in several hosting environments to discover this line in your webserver error log:

ALERT - configured POST variable limit exceeded - dropped variable 'name_of_dropped_variable' (attacker '', file '/several dirs..../wp-admin/post.php'), referer: http://sitename.tld/wp-admin/post.php?post=181&action=edit

Well i discovered and solved this situation:

Cause: It is caused by PHP suhosin

you can “locate” it on your disk it using the “locate” command as follows

(if it is first time you use locate) type:

# updatedb

then type:

# locate suhosin

for my machine (debian) it is located within /etc/php5/conf.d/suhosin.ini

so you can edit it by typing:

#nano /etc/php5/conf.d/suhosin.ini

Now, look into your suhosin.ini fìle until you see the followings vars:



You want to remove the comment symbol “;” from the very beginning of these two lines and the increase the default value (it should be 200) to at least 500 in order to make complex wordpress themes working properly.

Remember to kick apache2 typing

#/etc/init.d/apache2 restart

Incoming search terms:

  • alert - configured post variable limit exceeded - dropped variable (12)
(Visited 2,910 times, 1 visits today)