This is for the newbies in the world of Ubuntu. Use the following steps to install LAMP (Linux, Apache, MySQL and PHP) in Ubuntu. (more…)
PHP is mainly a server side language which renders the code at server and throws the output to the client end through Apache or any other HTTP server. So, being a newbie we often suffer from GD support in Ubuntu. This are the following steps to install or add PHP GD support in Ubuntu.
$ apt-get install php5-gd
$ sudo apt-get install php5-gd $ /etc/init.d/apache2 restart
Now PHP GD support is ready to work.
I have a CentOS server to test my all projects. According to clients requirement webmin is installed as admin panel. Today I had tried to use a cron PHP script in that server and succeeded. This is how I have setup the cron job.
In the webmin panel ther is a menu group named ‘Cluster’;
So from that menu group -> Cluster Cron Job.
Then I have added a new cron job.
1. Selected user ‘apache’.
2. in the command box:
/usr/bin/php -q /full/path/to/the/cronjob.php
3. Then selected the time which I want the cron job should be done.
Wow… It’s working. Please feel free to ask if you need any further help regarding this.