Re: How to activate extensions after compiling php5 core and extensions? No instructions!
On 6 August 2009 c. 07:25:29 Andres Salazar wrote: Hello, OpenBSD 4.5 stable I have done the following: cd /usr/ports/www/php5/core; make; make install; cd /usr/ports/www/php5/extensions; make; make intall; That according to pkg_info installed: php5-core-5.2.10server-side HTML-embedded scripting language php5-extensions-5.2.10 informational package about PHP5 extensions The instructions after finishing the extensions compiling said: --- php5-extensions-5.2.10 --- This is a place-holder package to inform you that the PHP port is now split into small sub-packages, designed to allow you to install modules independently of the main PHP engine. For example, to install the IMAP module, just pkg_add the php5-imap-5.2.10.tgz package and activate it using the 'phpxs' command. I tried doing pkg_add php5-mysql-5.2.10.tar however that just tries to install it from the packages (and off course it wont becuase the packages offers 5.2.8)... and then the phpxs command doesnt exist. What am I missing to actually finish the install of all the php5 extensions? cd /usr/ports/www/php5/extensions SUBPACKAGE=-mysql make install -- Best wishes, Vadim Zhukov A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: How to activate extensions after compiling php5 core and extensions? No instructions!
On Thu, Aug 6, 2009 at 10:25 AM, Andres Salazarndrsslz...@gmail.com wrote: Hello, OpenBSD 4.5 stable I have done the following: cd /usr/ports/www/php5/core; make; make install; cd /usr/ports/www/php5/extensions; make; make intall; That according to pkg_info installed: php5-core-5.2.10 B B server-side HTML-embedded scripting language php5-extensions-5.2.10 informational package about PHP5 extensions The instructions after finishing the extensions compiling said: --- php5-extensions-5.2.10 --- This is a place-holder package to inform you that the PHP port is now split into small sub-packages, designed to allow you to install modules independently of the main PHP engine. For example, to install the IMAP module, just pkg_add the php5-imap-5.2.10.tgz package and activate it using the 'phpxs' command. I tried doing pkg_add php5-mysql-5.2.10.tar however that just tries to install it from the packages (and off course it wont becuase the packages offers 5.2.8)... and then the phpxs command doesnt exist. What am I missing to actually finish the install of all the php5 extensions? Thanks Andres http://openbsd.org/faq/faq15.html#NoFun -- O ascii ribbon campaign - stop html mail - www.asciiribbon.org
Re: How to activate extensions after compiling php5 core and extensions? No instructions!
On Wed, Aug 5, 2009 at 8:25 PM, Andres Salazarndrsslz...@gmail.com wrote: Hello, OpenBSD 4.5 stable I have done the following: cd /usr/ports/www/php5/core; make; make install; cd /usr/ports/www/php5/extensions; make; make intall; That according to pkg_info installed: php5-core-5.2.10server-side HTML-embedded scripting language php5-extensions-5.2.10 informational package about PHP5 extensions The instructions after finishing the extensions compiling said: --- php5-extensions-5.2.10 --- This is a place-holder package to inform you that the PHP port is now split into small sub-packages, designed to allow you to install modules independently of the main PHP engine. For example, to install the IMAP module, just pkg_add the php5-imap-5.2.10.tgz package and activate it using the 'phpxs' command. I tried doing pkg_add php5-mysql-5.2.10.tar however that just tries to install it from the packages (and off course it wont becuase the packages offers 5.2.8)... and then the phpxs command doesnt exist. What am I missing to actually finish the install of all the php5 extensions? maybe you have your answer by now, but if you don't, this *may* help. If you have built the port on your machine, look in: /usr/ports/packages/`arch -s`/all/ Do you see packages for the php5 extensions? If you do, then pkg_add them (use full path the each package file), or at least those you are interested in. You'll see further instructions on how to enable each extension. HTH, --patrick
Re: How to activate extensions after compiling php5 core and extensions? No instructions!
http://www.openbsd.org/cgi-bin/cvsweb/ports/www/php5/core/Makefile?only_with_tag=OPENBSD_4_5 patrick is right, look in /usr/ports/packages (you can set PKG_PATH to point there if you like).. On 2009-08-06, Edho P Arief edhopr...@gmail.com wrote: On Thu, Aug 6, 2009 at 10:25 AM, Andres Salazarndrsslz...@gmail.com wrote: Hello, OpenBSD 4.5 stable I have done the following: cd /usr/ports/www/php5/core; make; make install; cd /usr/ports/www/php5/extensions; make; make intall; That according to pkg_info installed: php5-core-5.2.10 B B server-side HTML-embedded scripting language php5-extensions-5.2.10 informational package about PHP5 extensions The instructions after finishing the extensions compiling said: --- php5-extensions-5.2.10 --- This is a place-holder package to inform you that the PHP port is now split into small sub-packages, designed to allow you to install modules independently of the main PHP engine. For example, to install the IMAP module, just pkg_add the php5-imap-5.2.10.tgz package and activate it using the 'phpxs' command. I tried doing pkg_add php5-mysql-5.2.10.tar however that just tries to install it from the packages (and off course it wont becuase the packages offers 5.2.8)... and then the phpxs command doesnt exist. What am I missing to actually finish the install of all the php5 extensions? Thanks Andres http://openbsd.org/faq/faq15.html#NoFun
Re: How to activate extensions after compiling php5 core and extensions? No instructions!
Aaaron, I suppose that according to the Makefile for the extensions all of them should be enabled. I also suppose that the correct extension_dir path for the modules to be placed would be: /var/www/lib/php/modules However, this isnt the case... where do I get the modules from to activate them in the php.ini ? Thanks Andres On Wed, Aug 5, 2009 at 11:06 PM, Bryanbra...@gmail.com wrote: On Wed, Aug 5, 2009 at 20:25, Andres Salazarndrsslz...@gmail.com wrote: Hello, OpenBSD 4.5 stable I have done the following: cd /usr/ports/www/php5/core; make; make install; cd /usr/ports/www/php5/extensions; make; make intall; That according to pkg_info installed: php5-core-5.2.10 B B server-side HTML-embedded scripting language php5-extensions-5.2.10 informational package about PHP5 extensions The instructions after finishing the extensions compiling said: --- php5-extensions-5.2.10 --- This is a place-holder package to inform you that the PHP port is now split into small sub-packages, designed to allow you to install modules independently of the main PHP engine. For example, to install the IMAP module, just pkg_add the php5-imap-5.2.10.tgz package and activate it using the 'phpxs' command. I tried doing pkg_add php5-mysql-5.2.10.tar however that just tries to install it from the packages (and off course it wont becuase the packages offers 5.2.8)... and then the phpxs command doesnt exist. What am I missing to actually finish the install of all the php5 extensions? I believe the instructions are in the php-core package. Back in the day, I would issue phpxs and the extension name to enable it... but I may be wrong... Regards, Bryan
How to activate extensions after compiling php5 core and extensions? No instructions!
Hello, OpenBSD 4.5 stable I have done the following: cd /usr/ports/www/php5/core; make; make install; cd /usr/ports/www/php5/extensions; make; make intall; That according to pkg_info installed: php5-core-5.2.10server-side HTML-embedded scripting language php5-extensions-5.2.10 informational package about PHP5 extensions The instructions after finishing the extensions compiling said: --- php5-extensions-5.2.10 --- This is a place-holder package to inform you that the PHP port is now split into small sub-packages, designed to allow you to install modules independently of the main PHP engine. For example, to install the IMAP module, just pkg_add the php5-imap-5.2.10.tgz package and activate it using the 'phpxs' command. I tried doing pkg_add php5-mysql-5.2.10.tar however that just tries to install it from the packages (and off course it wont becuase the packages offers 5.2.8)... and then the phpxs command doesnt exist. What am I missing to actually finish the install of all the php5 extensions? Thanks Andres
Re: How to activate extensions after compiling php5 core and extensions? No instructions!
On Wed, Aug 5, 2009 at 20:25, Andres Salazarndrsslz...@gmail.com wrote: Hello, OpenBSD 4.5 stable I have done the following: cd /usr/ports/www/php5/core; make; make install; cd /usr/ports/www/php5/extensions; make; make intall; That according to pkg_info installed: php5-core-5.2.10 B B server-side HTML-embedded scripting language php5-extensions-5.2.10 informational package about PHP5 extensions The instructions after finishing the extensions compiling said: --- php5-extensions-5.2.10 --- This is a place-holder package to inform you that the PHP port is now split into small sub-packages, designed to allow you to install modules independently of the main PHP engine. For example, to install the IMAP module, just pkg_add the php5-imap-5.2.10.tgz package and activate it using the 'phpxs' command. I tried doing pkg_add php5-mysql-5.2.10.tar however that just tries to install it from the packages (and off course it wont becuase the packages offers 5.2.8)... and then the phpxs command doesnt exist. What am I missing to actually finish the install of all the php5 extensions? I believe the instructions are in the php-core package. Back in the day, I would issue phpxs and the extension name to enable it... but I may be wrong... Regards, Bryan