custombuild mod_php fails to update

Driesp

Verified User
Joined
Mar 12, 2007
Messages
107
Hi

I am trying to update mod_php on centos 7 but it fails.
After the update, the build script has to move the binaries to the folder /usr/local/php74/bin/ but it seems to 'forget' to do this.
It just creates symlinks instead deleting the newly built binaries.

The file configure/ap2/configure.php74 does not have --prefix=/usr/local/php74 --program-suffix=74
maybe that is the issue?

When running php -v the old version is installed, but in apache, the new php module is loaded.

Also the symlink proces deletes the pear, pecl and phar binaries, but I already signaled it over a year ago on this forum.

Kr
Dries
 

Driesp

Verified User
Joined
Mar 12, 2007
Messages
107
Yes, I have copied the script from configure/ap2/ and modified it in custom/ap2/.

Kr
Dries
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,992
Location
LT, EU
If you had it without prefix in custom/ - it would have caused the problems. Latest version of CB is using configure/php/configure.php74, if you've placed custom/ap2/configure.php74 there - it will use it.
 

Driesp

Verified User
Joined
Mar 12, 2007
Messages
107
Thank you for your reply.

This configuration file has --enable-fpm --enable-litespeed in it.
Should I delete these parameters? I am running mod_php only.

Kr
Dries
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,992
Location
LT, EU
Thank you for your reply.

This configuration file has --enable-fpm --enable-litespeed in it.
Should I delete these parameters? I am running mod_php only.

Kr
Dries
These shouldn’t do any harm, they just buld additional modes of PHP so that switching would not require recompilation. I’d like to note HTTP/2 won’t work with mod_php.
 
Top