Can't run Netbeans php project without Android SDK - php

I've been developing a php program on windows 10 using Netbeans 8.0. Today, for some reason, Netbeans gives an Error - Android Platform is not configured. Tried unsuccessfully installing the Android Studio. Can I run Netbeans without it?

My browser was accidently set to Android device which demanded an Android SDK.
Setting browser to Firefox fixed the problem.

Related

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!

A codeigniter application migrated from WAMP to LAMP stopped working

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/

RadPHP, Xcode, Phonegap and Cordova Problems

Briefly, (as briefly as possible) here's my scenario:
I have just gotten a trial of RADPHP XE2 and created a simple interface for a single page iPad app. I have exported the PHP design through PhoneGap and moved the resulting Xcode files to one of my Mac Minis. I have PhoneGap and Cordova installed on my Mac. Two problems occur which leave me dead in the water:
When I copy the PhoneGap bin file to the terminal app and use .create, I do not get the results I expect. Instead, I get an error message showing me the usage for the cp command. (??)
If I try to open the project file exported from RADPHP, Xcode will not open, saying that it is an invalid project file.
I am currently running on the latest version of OSX Mountain Lion, Xcode 4.4.1, and iOS 5.1.
Any advice or insights?
Ensure you download the required version of Cordova to install it in your Mac OS X system. See this page of the RadPHP XE2 documentation, which includes a download link for Cordova 1.3.0.

Running PHP in Visual Studio 2010 doesn't open the php file in the browser

I have a Wordpress project that I'm developing in VS2010 (with VS.Php). When I try run tone of the php pages in the browser, I get a alert that asks how I want to open the page, or if I want to save it:
I've configured my local IIS (Windows XP, IIS 5.1) to open php files, but VS doesn't use local IIS to run projects. How can I configure IIS express that runs the VS project, to open php files?
I see that it's because the project in VS is not a PHP project.
The way I created this project was by using Webmatrix. I created a Wordpress site in Webmatrix, and when I clicked the Launch in Visual Studio button, it created a project in Visual Studio. But apparently the solution that was created was an ASP.NET one...
After that, I tried creating a normal PHP project (enabled by VS.php), and then PHP worked perfectly.

Debugging PHP on NetBeans 6.8 without Apache

Is it possible to debug PHP projects on Glashfish with NetBeans 6.8 without installing Apache server?
After I press CTRL+F5 im getting 404 not found error.
As ASP.NET developer I have (I think) similiar developer server bundled with Visual Studio, so there is no need to install any other server like IIS. Am I right that Glassfish is similiar developer server, so why Im getting 404?
Thanks
Darek
From Netbeans page.
To successfully debug PHP applications in the NetBeans IDE for PHP, you need to have the PHP engine, the Apache local web server, and the XDebug debugger installed and configured for PHP development. If you have difficulties getting XDebug to work, see the NetBeans wiki on XDebug and/or ask the community at users#php.netbeans.org.
I hope it helps

Categories