您好,登錄后才能下訂單哦!
安裝出現(xiàn) error: ‘struct gdIOCtx’ has no member named ‘data’
vi <gd_dir>/include/gd_io.h
typedef struct gdIOCtx
{
int (*getC) (struct gdIOCtx *);
int (*getBuf) (struct gdIOCtx *, void *, int);
void (*putC) (struct gdIOCtx *, int);
int (*putBuf) (struct gdIOCtx *, const void *, int);
/* seek must return 1 on SUCCESS, 0 on FAILURE. Unlike fseek! */
int (*seek) (struct gdIOCtx *, const int);
long (*tell) (struct gdIOCtx *);
void (*gd_free) (struct gdIOCtx *);
}
括號(hào)內(nèi)增加 void (*data);
php動(dòng)態(tài)增加模塊
cd {php安裝文件路徑}/root/repo/php-5.4.11/ext/gettext
/usr/local/php/bin/phpize
./configur –with-php-config=/usr/local/php/bin/php-config
make && make install
重起apache
apachectl stop
apachectl start
cd /usr/local/php/lib/php/extensions/no-debug-non-zts-20100525/
ls |grep gettext
gettext.so
vi /usr/local/php/lib/php.ini
在加載模塊的地加上一行extension=gettext.so
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。