Im having some issues and Im out of options on where to look.
I've installed a codeigniter site onto EC2 and sorted out all of the correct configurations so the site works fine.
There are some legacy pages which are in seperate codeingiter files in the same www directory in Apache. Each one has their own .htaccess file.
My enabled site config looks like this:
<VirtualHost xxx.xx.xx.xxx:80>
ServerName mysite.com
ServerAlias www.mysite.*
#DocumentRoot /home/mysite
DocumentRoot /home/mysite/sites/production
ErrorLog /var/log/error_log_mysite
CustomLog "/var/log/access_log_housebites.log combined
Alias /blog /home/mysite_blog
<Directory /home/mysite_blog>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
The blog .htaccess looks like this:
DirectoryIndex index.php
RewriteEngine on
RewriteBase /blog/
RewriteCond $1 !^(index\.php|gallery|images|css|js|robots\.txt|favicon\.ico)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ ./index.php/$1 [L,QSA]
The error in the log files states:
[Fri Nov 01 19:27:43.091985 2013] [:error] [pid 3953] [client 91.125.181.111:50889] PHP Fatal error: Call-time pass-by-reference has been removed in /var/www/mysite_blog/wp-content/plugins/flickrpress/flickr.php on line 67
Im pretty sure this is an issue with PHP 5.5 being installed on the new server where 5.3 was installed on the old server.
Is there a way to overwrite PHP to simply use 5.3 on Ubuntu/Apache now?