A codeigniter application migrated from WAMP to LAMP stopped working - php

I developed an application using codeigniter php 5.3 Apache and mysql with WAMP server on Windows 7 using WAMP. Recently, I started moving the application to Ubantu 14 with apache2, php 5.5 and mysql. It is dead now. I am able to access simple php script under www but my application is showing only blank page. (mozilla debugger shows error 500). Logs are not showing anything. What could be the reason?.. is it a common problem? It's the first time I am using Ubantu.

Well codeigniter is supported to php version 5.4 currently so won't work on php 5.5 but if you want it to work then downgrade php version or else the below link might help you.
https://dillieodigital.wordpress.com/2014/05/30/quick-tip-how-to-running-codeigniter-on-php-5-5-and-mysql-5-6/

Related

Will Laravel 5.2 run on windows 10?

I was using Laravel 5.2 on windows 7/Wamp 3.0.6 perfectly fine. My company upgraded to Windows 10 and now localhost:8000 just hangs, and does not load anything. Still using Wamp 3.0.6 on windows 10.
I did a clean install of 5.2 as well as cloning my repo, and they both hang at localhost:8000.
I did a clean install of 5.3 as well as 5.5, and they both seem to work fine. (Does not hang at localhost:8000. It shows the Laravel welcome page)
Has anyone gotten laravel 5.2 to work with windows 10?
192..168.0.1 was being blocked at my firewall level, I have to specify host to be 127.0.0.1. Strange
I installed homestead using virtual box on my windows 10. Everything works really neat, plus homestead also has most configurations preset for laravel, as they belong together (as far as I know)
My setup of Laravel 5.2 is working fine on windows 10. There might be other issues. Please check the laravel error logs, Php error logs and Apache access and error logs to figure-out actual problem.
You can post these error logs here so we can help you out with the issue.

Youtube data API V3 PHP on IIS web server not working

I am trying out the YouTube data API V3 using PHP on a IIS web server (version 8.5.9600). I followed the instructions provided, installed the PHP code samples, API client library using composer, and setup the developer API key etc... https://developers.google.com/youtube/v3/code_samples/php
When trying out the search function on the PHP code samples, it returns a blank page.
I did the same but with a XAMPP installation with Apache web server (version 2.4.25) and it works fine. The problem is when I use the IIS web server. The code is exactly the same since I just copied the files, the PHP version is also the same PHP 7, I also tried with PHP 7.1. The web servers are installed on a Windows 8.1 machine.
I would really love to know how I can make the YouTube API work under PHP in IIS.
I managed to fix the issue thanks to Hackerman. I followed the related question to enable the error messages on the webserver. The error was a cURL error 60. I managed to fix it by following another thread - PHP cURL error code 60.
Now everything is ok!

The requested URL was not found on this server after upgrading

I was using MAMP 3.5.2 for my WordPress websites and it was working beautifully by using http://localhost:8888/WPfoldername
I installed MAMP 4.0.6, upgraded dbs to MySQL 5.6, etc.
Now when I try http://localhost:8888/WPfoldername I get:
The requested URL /WPfoldername was not found on this server.
When going to my WebStart page, it also shows twice:
MySQL can be administered with phpMyAdmin
Would appreciate any help!

PHP application which worked in XAMPP is not working in IIS 7

Recently I've uploaded my PHP application, which was working in XAMPP into a new server having IIS7. And now the application stopped working. The login page doesn't authenticate the users.
I followed all the instructions available in the following links,
http://php.iis.net/
http://www.php.net/manual/en/install.windows.iis7.php
on how to install PHP in IIS and hosting a PHP application in IIS7 using FastCGI but of no result.
What is the problem? I couldn't figure it out.

Zend application works on windows but not on Linux server

I have this problem, when I run my application developed with Zend Framework on a Linux server (Ubuntu or a hosted sever) the login won't work. The main problem is that the application can't write session on the server (I' set the directory where session should be written to 0777 ), in the other hand everything works perfect on my local WAMP server.
There's no exception, no error in the log file except this:
PHP Deprecated: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line 0
I'm stuck with this issue for two weeks now, please guide me.
Should I give the PHP files in Zend library any specific access right?
I installed zend using CPanel, I don't know why but it's working now.

Categories