Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - lecter23

Pages: [1]
1
Apache / Re: domain.com to www.domain.com
« on: February 24, 2021, 10:50:43 AM »
Hi Paky1099, did you solve this? I have the same problem.

Subdomains, including www, are ok, but domain.com without www shows test page.

Thanks!

2
Updates / Re: Error building php-fpm73 with memcached
« on: December 20, 2018, 01:08:21 PM »
I reply to myself: libmemcached is still not available for php 7.3 :(

3
Updates / Error building php-fpm73 with memcached
« on: December 20, 2018, 12:32:50 PM »
Hello.

FPM builds successfully and it's working with all options but memcached (not available). Reading the build log, I found this:

cc -I/opt/alt/php-fpm73/usr/include/php -I. -I/usr/local/src/php-memcached -DPHP_ATOM_INC -I/usr/local/src/php-memcached/include -I/usr/local/src/php-memcached/main -I/usr/local/src/php-memcached -I/opt/alt/php-fpm73/usr/include/php -I/opt/alt/php-fpm73/usr/include/php/main -I/opt/alt/php-fpm73/usr/include/php/TSRM -I/opt/alt/php-fpm73/usr/include/php/Zend -I/opt/alt/php-fpm73/usr/include/php/ext -I/opt/alt/php-fpm73/usr/include/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -I/opt/alt/php-fpm73/usr/include/php -I/opt/alt/php-fpm73/usr/include/php/main -I/opt/alt/php-fpm73/usr/include/php/TSRM -I/opt/alt/php-fpm73/usr/include/php/Zend -I/opt/alt/php-fpm73/usr/include/php/ext -I/opt/alt/php-fpm73/usr/include/php/ext/date/lib -I/usr/local/include -c /usr/local/src/php-memcached/php_memcached.c  -fPIC -DPIC -o .libs/php_memcached.o
/usr/local/src/php-memcached/php_memcached.c: In function 'zim_Memcached___construct':
/usr/local/src/php-memcached/php_memcached.c:1282:20: error: lvalue required as left operand of assignment
   GC_REFCOUNT(&le) = 1;
                    ^
make: *** [php_memcached.lo] Error 1


And after that build continues without memcached module. Any clue?

Thanks in advance :)

4
Updates / Re: ERROR: Missing extension file /apcu.so
« on: December 13, 2018, 08:58:34 AM »
I've just tried again building and it worked at second time.

5
Hello.

I've solved it. libxml2 was not installed. I had to install many other libs after this, and finally build was successfully completed.


6
Updates / Re: ERROR: Missing extension file /apcu.so
« on: December 12, 2018, 10:13:23 AM »
Seems you don't have libxml2-devel installed, causing cascade effects in other libs.

Try to install with yum:
# yum install libxml2 libxml2-devel

Regards,
Netino

Thank you for your help! I installed libxml2 and other libraries required and... it started compiling. After 10 minutes it stopped with this error:



/bin/sh /tmp/php-build/php-7.2.13/libtool --silent --preserve-dup-deps --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/session/ -I/tmp/php-build/php-7.2.13/ext/session/ -DPHP_ATOM_INC -I/tmp/php-build/php-7.2.13/include -I/tmp/php-build/php-7.2.13/main -I/tmp/php-build/php-7.2.13 -I/tmp/php-build/php-7.2.13/ext/date/lib -I/usr/include/libxml2 -I/usr/X11 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/tmp/php-build/php-7.2.13/ext/mbstring/oniguruma -I/tmp/php-build/php-7.2.13/ext/mbstring/libmbfl -I/tmp/php-build/php-7.2.13/ext/mbstring/libmbfl/mbfl -I/tmp/php-build/php-7.2.13/ext/sqlite3/libsqlite -I/usr/include/pspell -I/tmp/php-build/php-7.2.13/ext/zip/lib -I/tmp/php-build/php-7.2.13/TSRM -I/tmp/php-build/php-7.2.13/Zend    -I/usr/include -g -O2 -fvisibility=hidden -DZEND_SIGNALS   -c /tmp/php-build/php-7.2.13/ext/session/mod_user.c -o ext/session/mod_user.lo
/bin/sh /tmp/php-build/php-7.2.13/libtool --silent --preserve-dup-deps --mode=compile cc  -Iext/simplexml/ -I/tmp/php-build/php-7.2.13/ext/simplexml/ -DPHP_ATOM_INC -I/tmp/php-build/php-7.2.13/include -I/tmp/php-build/php-7.2.13/main -I/tmp/php-build/php-7.2.13 -I/tmp/php-build/php-7.2.13/ext/date/lib -I/usr/include/libxml2 -I/usr/X11 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/tmp/php-build/php-7.2.13/ext/mbstring/oniguruma -I/tmp/php-build/php-7.2.13/ext/mbstring/libmbfl -I/tmp/php-build/php-7.2.13/ext/mbstring/libmbfl/mbfl -I/tmp/php-build/php-7.2.13/ext/sqlite3/libsqlite -I/usr/include/pspell -I/tmp/php-build/php-7.2.13/ext/zip/lib -I/tmp/php-build/php-7.2.13/TSRM -I/tmp/php-build/php-7.2.13/Zend    -I/usr/include -g -O2 -fvisibility=hidden -DZEND_SIGNALS   -c /tmp/php-build/php-7.2.13/ext/simplexml/simplexml.c -o ext/simplexml/simplexml.lo
Terminated
make: *** [ext/simplexml/simplexml.lo] Error 1



Any hint?

7
Updates / Re: ERROR: Missing extension file /apcu.so
« on: December 11, 2018, 08:52:28 AM »
Hello.
Same error here. I tried to increase swap but didn't work.


checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path...
checking for pkg-config... /usr/bin/pkg-config
configure: error: libxml2 not found. Please check your libxml2 installation.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
mkdir: cannot create directory '/opt/alt/php-fpm73/usr/var/sockets/': No such file or directory
mkdir: cannot create directory '/opt/alt/php-fpm73/usr/etc/php-fpm.d/': No such file or directory
mkdir: cannot create directory '/opt/alt/php-fpm73/usr/etc/php-fpm.d/users/': No such file or directory
/usr/local/src/php-fpm-7.3.sh: line 87: /opt/alt/php-fpm73/usr/etc/php-fpm.d/users.conf: No such file or directory
/usr/local/src/php-fpm-7.3.sh: line 88: /opt/alt/php-fpm73/usr/etc/php-fpm.conf: No such file or directory
/usr/local/src/php-fpm-7.3.sh: line 90: /opt/alt/php-fpm73/usr/etc/php-fpm.d/cwpsvc.conf: No such file or directory
cp: cannot stat 'sapi/fpm/php-fpm.service': No such file or directory
sed: can't read /usr/lib/systemd/system/php-fpm73.service: No such file or directory
sed: can't read /usr/lib/systemd/system/php-fpm73.service: No such file or directory
Failed to execute operation: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
/usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/external_modules/7.3/opcache.sh: line 3: /opt/alt/php-fpm73/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /opcache.so
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
--2018-12-11 08:50:41--  https://pecl.php.net/get/apcu-5.1.12.tgz
Resolving pecl.php.net (pecl.php.net)... 104.236.228.160
Connecting to pecl.php.net (pecl.php.net)|104.236.228.160|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 105890 (103K) [application/octet-stream]
Saving to: 'apcu-5.1.12.tgz'

     0K .......... .......... .......... .......... .......... 48%  384K 0s
    50K .......... .......... .......... .......... .......... 96%  193K 0s
   100K ...                                                   100% 6501G=0.4s

2018-12-11 08:50:41 (266 KB/s) - 'apcu-5.1.12.tgz' saved [105890/105890]

/usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/external_modules/7.3/apcu.sh: line 8: /opt/alt/php-fpm73/usr/bin/phpize: No such file or directory
/usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/external_modules/7.3/apcu.sh: line 9: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.

/usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/external_modules/7.3/apcu.sh: line 13: /opt/alt/php-fpm73/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /apcu.so
exe:/opt/alt/php-fpm73/usr/sbin/php-fpm
Redirecting to /bin/systemctl restart httpd.service

Build Completed
###################


Error:Can't add notification!

8
Did you look at the entire log?  I had virtual memory issues. I increased the swap file size on my VPS and now have no problems compiling.

Hello. Thanks for your help!
I increased the swap file, but still the same error :(

...
checking for strftime... (cached) yes
checking for gettimeofday... (cached) yes
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path...
checking for pkg-config... /usr/bin/pkg-config
configure: error: libxml2 not found. Please check your libxml2 installation.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
mkdir: cannot create directory '/opt/alt/php-fpm73/usr/var/sockets/': No such file or directory
mkdir: cannot create directory '/opt/alt/php-fpm73/usr/etc/php-fpm.d/': No such file or directory
mkdir: cannot create directory '/opt/alt/php-fpm73/usr/etc/php-fpm.d/users/': No such file or directory
/usr/local/src/php-fpm-7.3.sh: line 87: /opt/alt/php-fpm73/usr/etc/php-fpm.d/users.conf: No such file or directory
/usr/local/src/php-fpm-7.3.sh: line 88: /opt/alt/php-fpm73/usr/etc/php-fpm.conf: No such file or directory
/usr/local/src/php-fpm-7.3.sh: line 90: /opt/alt/php-fpm73/usr/etc/php-fpm.d/cwpsvc.conf: No such file or directory
cp: cannot stat 'sapi/fpm/php-fpm.service': No such file or directory
sed: can't read /usr/lib/systemd/system/php-fpm73.service: No such file or directory
sed: can't read /usr/lib/systemd/system/php-fpm73.service: No such file or directory
Failed to execute operation: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
/usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/external_modules/7.3/opcache.sh: line 3: /opt/alt/php-fpm73/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /opcache.so
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
--2018-12-11 08:33:25--  https://pecl.php.net/get/apcu-5.1.12.tgz
Resolving pecl.php.net (pecl.php.net)... 104.236.228.160
Connecting to pecl.php.net (pecl.php.net)|104.236.228.160|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 105890 (103K) [application/octet-stream]
Saving to: 'apcu-5.1.12.tgz'

     0K .......... .......... .......... .......... .......... 48%  385K 0s
    50K .......... .......... .......... .......... .......... 96%  769K 0s
   100K ...                                                   100% 6501G=0.2s

2018-12-11 08:33:26 (531 KB/s) - 'apcu-5.1.12.tgz' saved [105890/105890]

/usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/external_modules/7.3/apcu.sh: line 8: /opt/alt/php-fpm73/usr/bin/phpize: No such file or directory
/usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/external_modules/7.3/apcu.sh: line 9: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.

/usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/external_modules/7.3/apcu.sh: line 13: /opt/alt/php-fpm73/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /apcu.so
Redirecting to /bin/systemctl restart httpd.service

Build Completed
###################


Error:Can't add notification!

9
Another one. Why are you forcing to install php-fpm? Why not just a warning?

Same error as last reply on build process:


'ioncube_loader_lin_5.5_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_5.5_ts.so'
'ioncube_loader_lin_5.6.so' -> '/usr/local/ioncube/ioncube_loader_lin_5.6.so'
'ioncube_loader_lin_5.6_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_5.6_ts.so'
'ioncube_loader_lin_7.0.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.0.so'
'ioncube_loader_lin_7.0_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.0_ts.so'
'ioncube_loader_lin_7.1.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.1.so'
'ioncube_loader_lin_7.1_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.1_ts.so'
'ioncube_loader_lin_7.2.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.2.so'
'ioncube_loader_lin_7.2_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.2_ts.so'
'loader-wizard.php' -> '/usr/local/ioncube/loader-wizard.php'
yes: standard output: Broken pipe
yes: write error
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
/usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/external_modules/7.2/opcache.sh: line 3: /opt/alt/php-fpm72/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /opcache.so
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
--2018-12-10 13:59:13--  https://pecl.php.net/get/apcu-5.1.12.tgz
Resolving pecl.php.net (pecl.php.net)... 104.236.228.160
Connecting to pecl.php.net (pecl.php.net)|104.236.228.160|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 105890 (103K) [application/octet-stream]
Saving to: 'apcu-5.1.12.tgz'

     0K .......... .......... .......... .......... .......... 48%  376K 0s
    50K .......... .......... .......... .......... .......... 96%  752K 0s
   100K ...                                                   100% 6501G=0.2s

2018-12-10 13:59:13 (519 KB/s) - 'apcu-5.1.12.tgz' saved [105890/105890]

/usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/external_modules/7.2/apcu.sh: line 8: /opt/alt/php-fpm72/usr/bin/phpize: No such file or directory
/usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/external_modules/7.2/apcu.sh: line 9: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.

/usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/external_modules/7.2/apcu.sh: line 13: /opt/alt/php-fpm72/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /apcu.so
exe:/opt/alt/php-fpm72/usr/sbin/php-fpm
Redirecting to /bin/systemctl restart httpd.service

Build Completed
###################

Pages: [1]