Zend with chrooted apache
Zend with chrooted apache
am 15.02.2006 19:13:01 von mlopezb
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
RE: Zend with chrooted apache
am 15.02.2006 19:25:17 von Axl Purushu
If you have command line php, then use "php -m". In the output
at the bottom you should be able to see Zend modules.
Also, you have to restart apache for activating the changes.
Axl.
-----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
Re: Zend with chrooted apache
am 15.02.2006 19:53:47 von mlopezb
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
RE: Zend with chrooted apache
am 15.02.2006 20:05:01 von Axl Purushu
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 ?
Axl.
-----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
-
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
Re: Zend with chrooted apache
am 15.02.2006 20:29:01 von mlopezb
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/Optimiz er-2_6_0
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Opti mizer_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_T S.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
>
>
-
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
RE: Zend with chrooted apache
am 15.02.2006 20:40:55 von Axl Purushu
Hi Matias,
I hope you have restarted apache and you are accessing phpinfo page using a
browser. That will have apache process the php instead of the command line
php -i.
Axl.
-----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:59 AM
To: anup.purushu@katalystpartners.com
Cc: 'Linux Mail List'
Subject: Re: Zend with chrooted apache
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/Optimiz er-2_6_0
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Opti mizer_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_T S.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
>
>
-
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
Re: Zend with chrooted apache
am 15.02.2006 21:00:15 von mlopezb
Hi Axl,
Axl Purushu wrote:
> Hi Matias,
>
> I hope you have restarted apache and you are accessing phpinfo page using a
> browser. That will have apache process the php instead of the command line
> php -i.
Yes, I did that. And trough php command line also, just for aditional
checking.
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:59 AM
> To: anup.purushu@katalystpartners.com
> Cc: 'Linux Mail List'
> Subject: Re: Zend with chrooted apache
>
> 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/Optimiz er-2_6_0
> zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Opti mizer_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_T S.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
>>
>>
>
>
> -
> 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
Re: Zend with chrooted apache
am 16.02.2006 15:32:45 von mlopezb
Hello,
I had solved the problem.
Looks like php knew where was the php.ini file (it was shown in the
phpinfo) but it wasn't reading the config file. bug?
I changed the configure options, I just let an unspecified config file
path in order to let PHP look for the config file in the default path.
This worked for me, I copied the php.ini file to the default location
and "magic".
HTH someone!
BR,
Matias.
Matias Lopez Bergero wrote:
> Hi Axl,
>
> Axl Purushu wrote:
>
>>Hi Matias,
>>
>>I hope you have restarted apache and you are accessing phpinfo page using a
>>browser. That will have apache process the php instead of the command line
>>php -i.
>
>
> Yes, I did that. And trough php command line also, just for aditional
> checking.
>
> 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:59 AM
>>To: anup.purushu@katalystpartners.com
>>Cc: 'Linux Mail List'
>>Subject: Re: Zend with chrooted apache
>>
>>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/Optim izer-2_6_0
>>zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Op timizer_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
>>>
>>>
>>
>>
>>-
>>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
>
-
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
RE: Zend with chrooted apache
am 16.02.2006 16:04:41 von Axl Purushu
Hi Matias,
hrmm.. that's weird. But good to know that it solved the problem.
Axl
-----Original Message-----
From: Matias Lopez Bergero [mailto:mlopezb@udesa.edu.ar]
Sent: Thursday, February 16, 2006 8:03 PM
To: 'Linux Mail List'
Cc: anup.purushu@katalystpartners.com
Subject: Re: Zend with chrooted apache
Hello,
I had solved the problem.
Looks like php knew where was the php.ini file (it was shown in the
phpinfo) but it wasn't reading the config file. bug?
I changed the configure options, I just let an unspecified config file
path in order to let PHP look for the config file in the default path.
This worked for me, I copied the php.ini file to the default location
and "magic".
HTH someone!
BR,
Matias.
Matias Lopez Bergero wrote:
> Hi Axl,
>
> Axl Purushu wrote:
>
>>Hi Matias,
>>
>>I hope you have restarted apache and you are accessing phpinfo page using
a
>>browser. That will have apache process the php instead of the command line
>>php -i.
>
>
> Yes, I did that. And trough php command line also, just for aditional
> checking.
>
> 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:59 AM
>>To: anup.purushu@katalystpartners.com
>>Cc: 'Linux Mail List'
>>Subject: Re: Zend with chrooted apache
>>
>>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/Optim izer-2_6_0
>>zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Op timizer_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
>>>
>>>
>>
>>
>>-
>>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
>
-
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