Another need for try php on google app engine make install all required stuff : Install python $ sudo apt-get install python Check version : $ python -V Python 2.7.4 Install PHP CGI Download latest php 5.4 from download page : $ wget -c http://au1.php.net/get/php-5.4.22.tar.gz/from/this/mirror -O php-5.4.22.tar.gz $ tar xvzf php-5.4.22.tar.gz $ cd php-5.4.22/ $ […]
Tag: PHP
undefined function imagecreatefromjpeg()
Call to undefined function imagecreatefromjpeg() in /home/materi/prog/cms_study/admin/pageuploadadd.php on line 88 Â Yes, that message show up when my friend try to access web based application. I think thats my fault 🙂 Doing preliminary check : edp# pkg_info | grep php5-gd edit /etc/make.conf PERL_VER=5.8.8 PERL_VERSION=5.8.8 WITHOUT_X11=yes save. edp# whereis php5-gd php5-gd: /usr/ports/graphics/php5-gd edp# cd /usr/ports/graphics/php5-gd && […]
Create Paging with PHP : Link collection
Soon or later everyone who learn php will face this thing : ‘paging‘ blog, guest book, search result are using paging for displaying data. Make it easy to read and more friendly some picture of paging implementation : Good paging code will survive when record in database or file system getting bigger. many url […]