I have a simple question. I have a website that runs on php/Mysqli and apache. Can I use the same stack for my IOS. Can I use Apache HTTP as my backend server for my IOS app. If it is not possible what backend server do you suggest other than firebase
Related
I have a free php based Heroku app and I have a php login system. I would like users to be able to chat via socket.io after logging in. I can run either the node.js server or the php server, but not both. I have researched and it looks like that is not possible. I do not want to re code the login system for node.js, what can I do to allow them to chat while keeping the php login system?
It's not currently possible to have a websockets server running alongside a PHP app on Heroku. Only web dynos can receive HTTP traffic on Heroku, and only on the specified port.
https://help.heroku.com/8R7OO0ZV/can-i-run-a-websockets-server-using-php-on-heroku
I am developing a tablet based android application and its back-end and api calls are done in php (slim lib) and mysql.
the app architecture is bellow.
there will be a local server machine in the building / room for handling api calls from android app through wifi network. all the data and media files uploaded /stored in the local machine. android app fetches the data/media files form server on demand via api calls.
Now am using xampp server for my test purpose and its work decently up to 10 devices . if the number of devices increases some devices lost the response from server or wait long time for response especially in file downloading from server to tab.
I have tested the app with real devices and commercial router. I need to improve the response speed from server and fast simultaneous file downloading.
Is there any commercial local apache server package available other than xampp and wampp.
Use EasyPHP. It is is one of the best contenders to Xampp.
Laragon
Easy Php
There are others, check out:
http://alternativeto.net
I have developed an android app that connect mysql database using php. when making https request to scripts php from other computers located on the same local network no problem, but when trying to request the same scripts from my android phone it gives tcp errors.
There is however a far better solution. You can access your host machine with the IP address "10.0.2.2".
This has been designed in this way by the Android team. So your webserver can perfectly run at localhost and from your Android app you can access it via http://10.0.2.2:8080.
What error do you get? If it's a forbidden error then it could be your httpd config file blocking your android. Can you tell from the error whether the problem is in your android application or a network connectivity error?
I have built an app that sends requests to a server.
I also built a server to response those requests. I have a PHP server locally (LAMP).
Now, for debug purposes , I want to debug the requests that my app is sending to the server. But I don't want to do that separately (printing the app's request and than start debug the server with that request),
I want eclipse (PDT installed and xdebug) to stop at the first line of the PHP script running by the server WHEN the app is sending a request to the server.
How can I do that ?
I have managed to get Fiddler monitoring my localhost traffic by specifying my machine name. I am using IIS7 (localhost) on Vista business. I'm developing using PHP and am currently using the Zend GData framework to communicate with Google Calendar.
I am not seeing any communication between the IIS/Localhost server and the Google service. How can I see requests between my localhost IIS server and the external Google server. Obviously, I am seeing the result of the interaction in the browser but not the request/response between IIS and Google that is orchestrated by my PHP script and the Zend GData framework.
Can Fiddler do this? Any help or advice would be very much appreciated.
Thanks,
Geester
The problem is that your IIS code runs in a different user account, and hence ASP.NET must be directly configured to point at Fiddler. See http://www.fiddler2.com/fiddler/help/hookup.asp#Q-DOTNET and Fiddler not sniffing SOAP traffic from ASP.NET website