Jump to content

'--with-pcre-regex=/usr' '--with-zlib'


cape

Recommended Posts

I just moved my invison board to new server i am getting error

 

IPB WARNING [2] preg_match: internal pcre_fullinfo() error -3 (Line: 314 of /sources/ipsclass.php)

Could not determine your IP address

 

 

invision support is telling me to update php to 5.2.X

 

or

compile php

 

--with-pcre-regex

rather than

'--with-pcre-regex=/usr' '--with-zlib'

 

 

any ideas how i compile this?

Link to comment
https://forums.phpfreaks.com/topic/55708-with-pcre-regexusr-with-zlib/
Share on other sites

i just didn't know i have re-install php from scratch was thinking there is a way to remove just the entry to the library zlib

 

i did follow this steps

 

https://support.steadfast.net/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=45&nav=0,9

 

I am a new00bie . Just starting my linux journey. I have fedora 6 at home which i configure with apache+php+mysql --------and VPS account (self managed on Centos 4.5) looks like centos is using older packages anything new is not available.

 

So following steps from link above

 

Wrote: /usr/src/redhat/RPMS/i386/php-ncurses-5.2.0-100.rhe4x.iworx.i386.rpm

Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.61010

+ umask 022

+ cd /usr/src/redhat/BUILD

+ cd php-5.2.0

+ '[' -n /var/tmp/php-5.2.0-root -a /var/tmp/php-5.2.0-root '!= / ]'

+ rm -rf /var/tmp/php-5.2.0-root

+ '[' -d /usr/src/redhat/BUILD/php-5.2.0 ']'

+ rm -rf /usr/src/redhat/BUILD/php-5.2.0

+ exit 0

Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.19120

+ umask 022

+ cd /usr/src/redhat/BUILD

+ rm -rf php-5.2.0

+ exit 0

 

[root@####### ~]#

 

 

 

Ok got to;

 

stuck on step 5 https://support.steadfast.net/index....eid=45&nav=0,9

 

rpm -Uhv --nodeps --force /usr/src/redhat/RPMS/`uname -i`/php 5.2.0-100

error: open of /usr/src/redhat/RPMS/i386/php failed: No such file or directory

error: open of 5.2.0-100 failed: No such file or directory

 

i did try to skip this step and restart

service mysqld restart

service imap4 restart

service imap4-ssl restart

service pop3 restart

service pop3-ssl restart

service httpd restart

service iworx restart

 

rpm -q -php shows php 5.1.6 ????

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.