Tags
android awstats beans clearcase clearquest curl debian dev dhcp dreamhost dvb eclipse ethernet html http java javascript licensing linux mac macfuse mpeg mysql mythtv network networking openoffice php random root safari samba scripting shell spring sshfs ssh linux sudoers requiretty touch tr ubuntu vpn vsftp WOL xmltv yum
Tag Archives: php
Fatal error: Call to undefined function curl_init()
If you’re using curl functionality in PHP you’ll need the cURL module installed otherwise you’ll see this error. “Fatal error: Call to undefined function curl_init()” sudo apt-get install php5-curl sudo service apache2 restart
Enabling PHP system calls
If you’re struggling to enable any of the functions (system, exec, popen etc) by disabling safe mode, then you’re going down the wrong path. You need to change the disabled_functions key in php.ini instead. ; This directive allows you to … Continue reading
LAMP hello world
Quick start/refresher cheat-sheet on setup of fresh LAMP test server on Ubuntu 9.10. Intended for local development only, no security concerns addressed. Installation apt-get install apache2 libapache2-mod-php5 php5 mysql-server php5-mysql Login as root user to create a dedicated user and … Continue reading
PHP with apache on Mac OS X
Enable apache server with System Preferences -> Sharing -> Web Sharing -> Enable sudo emacs /etc/apache2/httpd.conf # Comment in the following lines #LoadModule php5_module libexec/apache2/libphp5.so #LoadModule fastcgi_module libexec/apache2/mod_fastcgi.so # Restart apache to pickup config changes sudo /usr/sbin/apachectl restart By default … Continue reading

