HI!
So I’ve been having a few issues with Phalcon on my ubuntu 14.04 x32 apache2 droplet. However I did finally get it installed, I now assume there is some settings either the .conf or .htaccess thats messing this up, i’m just a bit tired of not getting anywhere.
Its working perfectly fine on my local mamp apache2 server and all the configs are good to go on that end. And I can’t really find anything that’s helpful online, or at least I haven’t found the right place yet.
The different files:
default.conf:
<pre> <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> </pre> 000-default.conf: http://pastebin.com/kVfiSav6 .htaccess: http://pastebin.com/GqTUDvnh
Any help would be appreciated!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Could you post the contents of your “public/index.php” ? I suspect that you need to replace this line: <pre> $url->setBaseUri(‘/project_name/’); </pre> with: <pre> $url->setBaseUri(‘/test/’); </pre> That assumes that your project is in /var/www/test
It’s likely you’re not loading the module in php. You need to an ini file that loads the phalcon extension.
Create a file called /etc/php5/conf.d/phalcon.ini and this single line in the file extension = “phalcon.so”
Make sure to restart apache. You can also check loaded modules via “php -m” command
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.