CustomBuild Network Error

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,629
Location
LT, EU
It's most likely your php erroring. Please check the output of "php -v".
 

birapn

New member
Joined
Sep 11, 2019
Messages
2
I found the problem..

Noting that the chosen version of PHP (7.3 and 7.1) was not the same as displayed in phpinfo (), I decided to remove for all versions of PHP in custombuild.

That's why my CustomBuild has stopped working.

Fix by applying:


# cd /usr/local/directadmin/custombuild
# ./build php
 

IPserv.nl

New member
Joined
Sep 16, 2019
Messages
1
It's most likely your php erroring. Please check the output of "php -v".

I have the same problem.
The output from my php -v command is:

Code:
PHP 5.3.29 (cli) (built: Sep 17 2018 10:44:01)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2014 Zend Technologies
    with the ionCube PHP Loader v10.3.8, Copyright (c) 2002-2019, by ionCube Ltd.

Could it be that my primary PHP version is no longer supported?
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,629
Location
LT, EU
I have the same problem.
The output from my php -v command is:

Code:
PHP 5.3.29 (cli) (built: Sep 17 2018 10:44:01)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2014 Zend Technologies
    with the ionCube PHP Loader v10.3.8, Copyright (c) 2002-2019, by ionCube Ltd.

Could it be that my primary PHP version is no longer supported?

Yes, PHP 5.3 is not supported by CB code. You'd need to have something newer as primary version of PHP.
 

adam2020

Verified User
Joined
Mar 3, 2020
Messages
13
Hi,

I have this problem at the moment and have:

Code:
PHP 7.1.33 (cli) (built: Mar  4 2020 14:11:04) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies

I tried using
Code:
 ./build php

Scrolling back through the code I everything seemed to run ok except I see a message:

Code:
libtool: install: install .libs/libphp7.so /usr/lib/apache/libphp7.so
libtool: install: install .libs/libphp7.lai /usr/lib/apache/libphp7.la
libtool: warning: remember to run 'libtool --finish /usr/local/directadmin/custombuild/php-7.1.33/libs'

I tried to run:
Code:
libtool --finish /usr/local/directadmin/custombuild/php-7.1.33/libs

But the output is:
Code:
libtool: finish: invalid argument `/usr/local/directadmin/custombuild/php-7.1.33/libs'

Not sure what I'm doing wrong...
Can anyone help?
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,629
Location
LT, EU
This one shouldn't be related to network error in CustomBuild plugin. I'd suggest opening a support ticket if you cannot get CustomBuild plugin to work :)
 

tomazs

New member
Joined
Aug 17, 2020
Messages
1
Hi,

I also have this problem, when I click on the plugin in DA. I have rebuilt PHP but issue persists. Running newest version of the plugin.



[root@host src]# php -v

PHP 7.3.21 (cli) (built: Aug 17 2020 14:47:28) ( NTS )

Copyright (c) 1997-2018 The PHP Group

Zend Engine v3.3.21, Copyright (c) 1998-2018 Zend Technologies
 

Attachments

  • Screenshot 2020-08-17 at 14.34.44.png
    Screenshot 2020-08-17 at 14.34.44.png
    110.2 KB · Views: 7

sce

Verified User
Joined
Aug 22, 2008
Messages
99
Location
EU
Unfortunately I also have this problem. "php -v" works fine, as are sites. I also tried to rebuild php and have tried it on different versions.
 

sce

Verified User
Joined
Aug 22, 2008
Messages
99
Location
EU
DirectAdmin support found the problem. Chmod 755 two dirs: /usr/local/icu and /usr/local/icu/lib

@tomazs try this, I hope it fixes this for you.

Original post:
 
Top