How to install web app within my network, without using XAMPP? - php

I am creating a webpage using PHP, it is going to be used only in LAN. For some internal reasons I can not use XAMPP (I was going to use phpmyadmin as a tool for my database), so which would be the best way to do this by using PHP as a scripting language and MySQL for my database?
Is Ms Access Database one of the options?

Related

Connecting to OpenShift via Device

Good afternoon all;
I am developing an application for a project that utilizes an OpenShift MySQL Database. At the moment, I have written php scripts that ping the database on our host website, which, is also hosted on OpenShift.
My fear is that anyone can call this php address and either a) DDoS my DB/website, or b) can access or get any data inside said DB. There is nothing highly critical on this database, such as passwords and all, but it's best using best practices.
To my question: Is there a way to directly connect to this DB via various platforms such as iOS, Android, and Desktop (Mac, PC, Linux) and not use php scripts? I am somewhat familiar with OpenShift's PortForwarding, but I believe this is not what I am looking for.
If it is not possible to connect to said DB in this way, is there a way to make this process of getting data from the DB more secure?
Note on my php scripts:
They connect to the DB using a username and password. This user has only select and edit privileges. The purpose is to get fields of data: Building and Amount, and at times changes Amount, based on arguments of the php address. The returned data is encoded using JSON.
Check for NodePort feature in openshift/k8s, that should allow connections if this is a self hosted openshift

MySQL access through PHP from ASP website (as there is no direct TCP access)

I'm about to run an ASP website on a hosting server which gives no sql, but another one with PHP and MySQL. The problem is remote access to MySQL is denied. Is there any possible ways to connect it with, so client-side can access the database using PHP or something?

How to use a mysql database in firefox os?

I have an instant messaging application on the web with its database and almost finished M2S. I want to make an application for firefox you without having to go through my website and I can do it if I have to call the mysql database?
Since Firefox OS is comprised of HTML5 technologies, it is currently not possible to connect directly to a MySQL server using the tools available at this time.
See here:
Related Post

is it possible to create a system that is connected a website with the same database

Good day. I have a thesis project. it is composed of a webpage created on php and a system using vb.net 2008.
As of now , they are both connected to the same database.
I am wondering if it is possible that if i packaged the system and live the website, will still be connected with one database? Thank you in advance.
If I understand you right (and the question could be better worded), you're asking what happens if you deploy the website on a different server than the one you used to develop it. The short answer is that, unless the machine hosting the database is accessible to the web server host machine, that you would also have to redeploy the database.
In other words, wherever you move the PHP-based website and VB.NET system, they would need to be able to access the machine hosting the database server. Otherwise, I see no issue with them both accessing the same database.

How to move a local MySql database on a remote server

I have a question about mysql db. I created the site locally and now want to move it to the server. I have created websites. Doing import and export of the database, but now I have a problem. Previously, I always enjoyed the various panels of access (admin). But now the provider gave me only the name & password of the database and ftp. I do not have any control panel (for example cPanel) and I do not understand how to work with the database now.
Thanks for any help
MySQL Workbench has a nice graphical interface for administration of MySQL databases.
I would recommend using a GUI program to access the database and work with it, since it will make the transition much easier if you're used to using a control panel. You can get GUI clients that run as programs on your computer, instead of running on the remote server as cPanel and phpMyAdmin do. This means that they will work regardless of the provider if you have the username and password.
There's many MySQL front-ends out there, but two I would recommend are the official MySQL Workbench if you're running Windows or Linux, and Sequel Pro if you're running Mac (MySQL Workbench can also run on Mac, but I personally prefer Sequel Pro). Both are free.
phpMyAdmin is a tool that you could install on the web server, and if you install it, you could then import the data that you've exported from your local database.
http://www.phpmyadmin.net/home_page/index.php
Alternatively, and I'm guessing the answer to this is "no" but I'll throw it out there anyway, do you have SSH access to the server at all? If so, you could just cat the file and import it straight in to your database.

Categories