We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Update from 1.3.0 to 1.3.1 on Debian

How can ai update a running phalcon 1.3.0 installation to the latest one?

Is it possible to reinstall it with the newest source and compile it, or have I to deinstall and install it?

Thanks for Help!



39.4k
Accepted
answer

All you need to do is switch to the relevant branch (master in this case) and run the install script in the build folder.

This will create a new phalcon.so file. Just restart the webserver and you are good to go.

Thanks for your answer!

Now, when I run:

git clone --depth=1 git://github.com/phalcon/cphalcon.git cd cphalcon/build sudo ./install

I get "virtual memory exhausted: Cannot allocate memory".

I have a VPS with 1GB Ram

What am I doing wrong?

Hi, I hive to stop apache and mysql while the installation.

Now its compiled, up and running!

Thanks for the fast help!