Is it possible to install the Phalcon PHP C extension framework? Install instructions: http://docs.phalconphp.com/en/latest/reference/install.html#linux-solaris-mac asked 11 Jun '13, 21:12 tstrokes |
To install phalcon for php 5.4 you would first need to download it into your home directory:
php 5.2 is our default php version, which is not supported by cphalcon, so you would need to make some edits in their install script. You would first need to change phpize to phpize54 in line 53 and then change the last line from...
to...
Notice the phpize change again, the --with-php-config option in the configure command and the missing Running the install command with You would then need to customize your php.ini file to include those using the extension_dir directive. See the similar How do I install the Imagick PECL extension for my PHP 5.3 application? for further info. When that's done, a phpinfo() call should show that version 1.1.0 of phalcon is loaded. answered 12 Jun '13, 08:35 iliasr ♦♦ Thank you for the instructions. I was able to install everything successfully.
(12 Jun '13, 11:17)
tstrokes
This method seems outdated. I believe the phalcon install script has changed a lot since June 2013. Has anyone been able to successfully install Phalcon 1.2.6 on WebFaction? When I run the install script, it throws a few errors about type casting.
(11 Mar '14, 11:52)
tylersnowden
I just responded to your support ticket.
(11 Mar '14, 23:15)
yulian
|
has anyone tried to install phalcon 3.1.2 with php70? Tried to follow @yulians instructions but it errors out with error: unknown type name ‘zend_object_value’ make: *** [phalcon.lo] Error 1 answered 09 Apr '17, 17:55 mavick |
Here are the steps to compile Phalcon 1.2.6 on our centos6-64 servers: PHP-5.4:
Add a php.ini with the following contents to the root of your application to enable the extension:
PHP-5.5:
Add a php.ini with the following contents to the root of your application to enable the extension:
answered 11 Mar '14, 23:27 yulian |
@yulians answer is also correct for PHP 5.6, just change 55 to 56 and go on answered 16 Sep '15, 23:30 totumfacky This is how you do it for latest php 7.2, Download the source, https://github.com/phalcon/cphalcon/archive/v3.4.2.tar.gz After extracting it, edit the file, cphalcon-3.4.2/build/install Change line 32 to read,
Change line 33 to read,
Change line 40 to read,
Change line 41 to read,
Comment out or delete line 144,
Then run the command,
You can do this for other PHP versions by just replacing the digits 72 above with another version, eg 70, 71 Hope this helps.
(06 Feb '19, 23:34)
NickR ♦♦
|
Interestingly, this is also a highly requested feature in Google App Engine for PHP : http://code.google.com/p/googleappengine/issues/detail?id=9336 and cPanel : features.cpanel.net/responses/add-support-for-phalconphp-extension-apache-php