From: Matias Lopez Bergero <mlopezb@udesa.edu.ar>
To: anup.purushu@katalystpartners.com
Cc: 'Linux Mail List' <linux-admin@vger.kernel.org>
Subject: Re: Zend with chrooted apache
Date: Wed, 15 Feb 2006 16:29:01 -0300 [thread overview]
Message-ID: <43F380FD.5050901@udesa.edu.ar> (raw)
In-Reply-To: <20060215190425.E20AE32C030@smtpauth00.csee.siteprotect.com>
Axl Purushu wrote:
> Hi Matias,
>
> In the phpinfo webpage at the top you can see the php.ini config file that
> apache/php is actually using.
> Confirm that and check if that particular config file has Zend enabled.
> Also, after these change have you restarted apache ?
Yes, I had checked all that.
It's quite weird, the config file shown in the phpinfo page it is
properly configure to use Zend:
# tail -10 php.ini
[Zend]
zend_optimizer.optimization_level=15
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-2_6_0
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-2_6_0
zend_optimizer.version=2.6.0
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
#
Wen I run php -m the Zend modules are not shown in the output:
# chroot /export/jail/apache/ /usr/local/php/bin/php -m
[PHP Modules]
ctype
ftp
mysql
overload
pcre
posix
session
standard
tokenizer
xml
[Zend Modules]
#
But, if I specify the php.ini file they are shown:
# chroot /export/jail/apache/ /usr/local/php/bin/php -m -c /etc/php/php.ini
[PHP Modules]
ctype
ftp
mysql
overload
pcre
posix
session
standard
tokenizer
xml
Zend Optimizer
[Zend Modules]
Zend Extension Manager
Zend Optimizer
#
Funny, because looks like php know where is the configuration file:
# chroot /export/jail/apache/ /usr/local/php/bin/php -i | grep Configuration
Configuration File (php.ini) Path => /etc/php/php.ini
#
I don't understand what is wrong.
Any idea?
Thanks!
BR,
Matias.
> -----Original Message-----
> From: linux-admin-owner@vger.kernel.org
> [mailto:linux-admin-owner@vger.kernel.org] On Behalf Of Matias Lopez Bergero
> Sent: Thursday, February 16, 2006 12:24 AM
> To: anup.purushu@katalystpartners.com
> Cc: 'Linux Mail List'
> Subject: Re: Zend with chrooted apache
>
> Hello Axl,
>
> Axl Purushu wrote:
>
>>If you have command line php, then use "php -m". In the output
>>at the bottom you should be able to see Zend modules.
>
>
> Running the php -m turns that there are no Zend modules compiled, but
> wen I specify the php.ini file with -c flag, it returns that the Zend
> Extension Manager and the Zend Optimizer modules are installed.
>
> I don't know why do I need to specify the location of the php.ini file,
> I put that information during configure time using the
> --with-config-file-path flag before building PHP, and also it's shown in
> the output of php -i... what I'm missing here?
>
> Thank you,
>
> BR,
> Matias.
>
>
>>-----Original Message-----
>>From: linux-admin-owner@vger.kernel.org
>>[mailto:linux-admin-owner@vger.kernel.org] On Behalf Of Matias Lopez
>
> Bergero
>
>>Sent: Wednesday, February 15, 2006 11:43 PM
>>To: 'Linux Mail List'
>>Subject: Zend with chrooted apache
>>
>>Hello,
>>
>>I testing the Zend software to improve the PHP performance (4.4.x), but
>>seems that the installation didn't completely work, because I can't see
>>the info about the Zend optimizer with the phpinfo funcion.
>>
>>The Zend software is installed, and the configuration in the php.ini
>>it's ok, but till can check if it's working. Maybe some kind of issue
>>with the chrooted apache?
>>
>>Comments are most welcome.
>>TIA!
>>
>>BR,
>>Matias.
>>-
>>To unsubscribe from this list: send the line "unsubscribe linux-admin" in
>>the body of a message to majordomo@vger.kernel.org
>>More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
next prev parent reply other threads:[~2006-02-15 19:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-15 18:13 Zend with chrooted apache Matias Lopez Bergero
2006-02-15 18:25 ` Axl Purushu
2006-02-15 18:53 ` Matias Lopez Bergero
2006-02-15 19:05 ` Axl Purushu
2006-02-15 19:29 ` Matias Lopez Bergero [this message]
2006-02-15 19:40 ` Axl Purushu
2006-02-15 20:00 ` Matias Lopez Bergero
2006-02-16 14:32 ` Matias Lopez Bergero
2006-02-16 15:04 ` Axl Purushu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43F380FD.5050901@udesa.edu.ar \
--to=mlopezb@udesa.edu.ar \
--cc=anup.purushu@katalystpartners.com \
--cc=linux-admin@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.