Author Topic: php version swticher error  (Read 8616 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
php version swticher error
« on: August 10, 2016, 02:12:30 AM »
Hi,

I was trying to update php to php 7 but php swticher is not compiling it. below is the error in logd

#############################################
checking pcre install prefix... no
checking whether to enable FTP support... yes
checking OpenSSL dir for FTP... no
checking for GD support... yes
checking for the location of libwebp... no
checking for the location of libjpeg... /usr
checking for the location of libpng... /usr
checking for the location of libXpm... /usr
checking for FreeType 2... /usr
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... yes
If configure fails try --with-webp-dir=<DIR>
checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
configure: error: xpm.h not found.
Configure DONE!
####################
make: *** No targets specified and no makefile found.  Stop.
Make DONE!
##########################################

Any idea how to fix this?

Offline
*****
Re: php version swticher error
« Reply #1 on: August 10, 2016, 12:39:23 PM »
Hi, you have to install some dependience.

Code: [Select]
yum -y install libXpm-devel libpng-devel  libvpx-devel
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: php version swticher error
« Reply #2 on: August 10, 2016, 01:29:43 PM »
it worked using php selecter then used php version switcher