Categorized | php, wamp, wamp server

- PHP, Apache, MySQL, Windows : WampServer

Posted on 20 January 2010 by

I have no problems at all with WAMP. if your code on WAMP displays notices/errors then its your code at fault. Again your webhost has error reporting disabled and this is why you think everything is working fine on your website. If you checked your sites error logs youll see the same errors are logged. Some of the reason why your script on WAMP doesnt work could be Your script relies on a setting called register_globals, then your script will not work as PHP has disabled this setting since PHP4.2. Unfortunately hosts tend to leave this setting enabled so older scripts to do not break. WAMP keeps this setting disabled, it soon to be removed completely as of PHP6. However this can be enabled via PHP > PHP Settings menu from the wamp task bar icon. Another reason why your script doesnt work is because you use short tags <? ?> or <?= ?>. These are disabled by default however you can enable this via the PHP > PHP settings menu from the wamp taksbar icon. You should also compare the php.ini settings for wamp and your website by running phpinfo on both. Your should set WAMPs PHP configuration as close to that of your webhosts.

via - PHP, Apache, MySQL, Windows : WampServer.

Tags |

One Response to “- PHP, Apache, MySQL, Windows : WampServer”

  1. It’s good, it’s useful (as usual), actionable and concise. Love it.


Leave a Reply

kirk72

Level 1

9/4/09

Hi Ravi,

Try adding “z=1&amp” before “output=embed”.

or z=2, z=3, … to change level of zoom.

<iframe width=”425″ height=”350″ frameborder=”0″ scrolling=”no” marginheight=”0″ marginwidth=”0″ src=”http://maps.google.com/maps/ms?hl=en&ie=UTF8&msa=0&msid=115150635003777563784.00046fa19eb2776151ec6&ll=52.65856,-1.10776&spn=0.02128,0.05744&z=1&output=embed”></iframe><br /><small>View <a href=”http://maps.google.com/maps/ms?hl=en&ie=UTF8&msa=0&msid=115150635003777563784.00046fa19eb2776151ec6&ll=52.65856,-1.10776&spn=0.02128,0.05744&source=embed” style=”color:#0000FF;text-align:left”> Driving Test Centre Example 1</a> in a larger map</small>

-Kirk

via How to control level of zoom in an embedded map? – Maps Help.

Recent Videos