RadPHP, Xcode, Phonegap and Cordova Problems - php

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.

Related

Can't run Netbeans php project without Android SDK

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.

which server to install for phpEclipse and how to do it?

I know this is a newbie question, but i want to study php. i have phpeclipse and its running well, the problem is when i run a simple html file with the default server the page says cant display this page and thats it. i dont know if i need to install a new server or is there something wrong with the server configurations. ive tried installing tomcat on my computer but i cant see it under windows->preferences->server->runtime enviroments->add. iv also tried under the same page to fetch geronimo v2.2 and 3.0 and the dependencies were wernt satisfied. iv also tried the repository for zend debugger. what do i need to do in order to compile and see php and html pages with php eclipse?
You don't need to compile PHP.
Depending on your operating system and PHP version there are a few options.
As of PHP 5.4+ you can run your application using PHP's built in server, on the command line, if you cd into your website root directory (i.e. where the index file is) and then run the following
php -S localhost:8989
Then if you navigate to http://localhost:8989 in your browser you should see your application.
If you are unable to run the inbuilt web server, you need to look at Apache2. Most PHP websites run inside the Apache 2 web server. You will generally need a *AMP (WAMP/LAMP) environment.
L/W (Linux / Windows)
A pache (Web server)
M ySQL (Database)
P HP
Hope this is enough of a pointer ;)

php system info for windows

Well, the script I found to get the system info via php is
biobeo.com/sys.txt
I have also attatched the screen shot.
I can get the linux hosted system info from this, but what if I am using Windows?
My system is Windows 8.1 64bit Application I am using is Xampp 1.8
Any one here can please tell me the solution for this?

Symfony set up in iis

I have a iis development server set up and i have just successfully downloaded and installed symfony2 which is placed in the web root of this server and im trying to create a bundle within my project and i seem to be getting this error message in the dos box:
the program cant start because of php5.dll is misisng from your computer. Try reinstalling the program to fix this problem
even though the dll is in the directory of the php folder on the C: drive on my computer.
and yes i entered php app/console generate:bundle into the cmd box.
Any suggestions would be very much appreciated
It seems the PHP was not installed successfully or IIS was not configured correctly for the available PHP.
I would recommend to unistall the previous PHP on IIS and install Microsoft Web Platform Installer first; then search for PHP 5.4> and PHP Manager for IIS in the productions list and add/install them.
This is much safe and reliable than installing php manually, specially that it will do IIS configuration for PHP automatically

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.

Categories