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.