PHP Building

Author Message

thomas BAILLEUL

Wednesday 18 October 2006 1:24:38 am

I've recently moved file to another server: Freebsd 4.9(use also for ldap that's why it's critical)
with php options configure :
'./configure' '--enable-versioning' '--enable-memory-limit' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--program-prefix=' '--disable-cgi' '--with-apxs=/usr/local/sbin/apxs' '--with-regex=php' '--disable-ipv6' '--prefix=/usr/local' 'i386-portbld-freebsd4.9'

website works except with have a displaying problem with admin_site and one site acess!
not only displaying problem but also when u authentificate it' trigger an error (file no found on apache server)

I've tried to rebuild php with this options './configure' '--enable-versioning' '--enable-memory-limit' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' '--program-prefix=' '--disable-cgi' '--with-apxs=/usr/local/sbin/apxs' '--with-regex=php' '--disable-ipv6' '--prefix=/usr/local' 'i386-portbld-freebsd4.9'
--with-mysql --enable-memory-limit --enable-mbstring --with-ttf --with-gd --with-jpeg-dir --enable-gd-native-ttf --with-png-dir --with-freetype-dir --with-zlib --with-dom --enable-exif

but build works but I have a segmentation fault when I've used php

I would be grateful with someone have an idea.

Claudia Kosny

Wednesday 18 October 2006 10:11:36 am

Hi Thomas

First of all - I have no idea about building PHP so I definitely cannot help you there. But having worked in support for quite a while I can tell you that you need to provide much more information so others might give you an idea what to look for.

Some interesting information would be:

- What version of PHP do you try to use?
- What version of Apache do you use?
- What do you mean by display error? Give an example or post a link if that is possible.
- Do you get any useful debug output?
- Does the authentication also have problems without using LDAP?
- How did you set up EZ to work with LDAP?

For the second build:
- What program does throw the seg fault?
- You say it happens when you use PHP for the second build - so does this happen also without using EZ?
- When does the error occur? Only for a special url, everywhere on a special siteaccess ...?
- Does the error give any useful information (I know that this is unlikely for a seg fault but you never know...)

There are certainly some questions I missed here but I think you get the idea. Posting to much information is certainly distracting but posting almost nothing definitely does not help.

Greetings from Luxembourg

Claudia

Xavier Dutoit

Thursday 19 October 2006 12:39:04 am

Hi,

I know that Gabriel used it on BSD, so it works. As for the options, I'd suggest to see on a website/mailing more BSD or php oriented, as ez has rather standard needs on the php, and that's probably too close to the metal for this forum.

Good luck.

X+

http://www.sydesy.com

thomas BAILLEUL

Friday 20 October 2006 6:35:23 am

Thanks for your advices, it works now(it was just a file permission problem!)

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 19:30:37
Script start
Timing: Jan 18 2025 19:30:37
Module start 'layout'
Timing: Jan 18 2025 19:30:37
Module start 'content'
Timing: Jan 18 2025 19:30:37
Module end 'content'
Timing: Jan 18 2025 19:30:37
Script end

Main resources:

Total runtime0.0163 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 589.0391152.6250
Module start 'layout' 0.00540.0038 741.664139.4453
Module start 'content' 0.00910.0052 781.109493.3203
Module end 'content' 0.01440.0019 874.429734.3047
Script end 0.0163  908.7344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002716.3052140.0002
Check MTime0.00116.9766140.0001
Mysql Total
Database connection0.00074.215210.0007
Mysqli_queries0.003823.256930.0013
Looping result0.00000.134610.0000
Template Total0.00169.510.0016
Template load0.00095.250810.0009
Template processing0.00074.244510.0007
Override
Cache load0.00063.533710.0006
General
dbfile0.00031.562180.0000
String conversion0.00000.049740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs