[renamed] Error after updating to Apache 2.0.55 [renamed] Error after updating to Apache 2.0.55
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[renamed] Error after updating to Apache 2.0.55

Started by jnendel, November 09, 2005, 06:10:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jnendel

I upgraded Apache from the Fedora core 2 binary version of 2.0.49 to version 2.5.0 because of a vulnerability alert.  Since there was no rpm version 2.5.0 I compiled the source with the --enable-so option and added the LoadModule line for the libphp4.so to the httpd.conf file.  My PHP is version 4.3.10.  Now when I go to run Coppermine I get a "template error".  Any idea, because I sure don't?
Thanks. :-\\

Nibbler

Probably unrelated, please post the full error message.

jnendel

The full error message is:
Failed to find block 'login'(#(<!-- BEGIN login -->)(.*?)(<!-- END login -->)#s) in :
When I revert back to Apache 2.49 the error goes away.

Nibbler

Be accurate with your version numbers please, it is confusing. I have Coppermine running fine on 2.0.54

jnendel

I'm trying to run it on Apache 2.0.55.

Nibbler

I just compiled Apache 2.0.55 and am getting template errors also. Looks like a regex problem.

Nibbler

Solved by recompiling PHP with the --with-pcre-regex option enabled. This is not a Coppermine specific error, but this may help others with the same issue.

jnendel

My PHP already had --with-pcre-regex=/usr - would the /usr be the problem?  Thanks.

Nibbler

Yeah, you need to switch to using the bundled pcre instead of specifying an external one.

jnendel

I followed your instructions and I compiled PHP with the --with-pcre-regex option (I also changed the path of the to apache include to the new Apache 2.0.55 installation).  I still have the production Coppermine running.  If I bring down current apache and start up the 2.0.55 Apache will it automatically find the newly installed PHP or is there somewhere in Coppermine I have to change a setting?  Or do I have to run the Install again.  I'm afraid if I bring it down it might not come back up and I won't know what to do.  Thank you for any help

Nibbler

You should be able to switch apaches with no problems, it's all on a different level to anything Coppermine has control over. This really isn't the place for server setup support.