Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I use php -S localhost:8000 command in git-bash in the path of project for running php.
I need to have a look of my tables. In phpmyadmin for example or any other ways.
Please help me. How can I do that?
thanks
You can access MySQL through Client CLI (command line), or any MySQL client (datagrip (not free), dbforge, heidisql)... PHPMyAdmin is just a web MySQL Client.
If you want to access your database through PHPMyAdmin you need a web server. You can run the command you mentionned php -S localhost:8000 inside the PHPMyAdmin source directory (source location depend on your installation) to run the PHP web server.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
i have to download MySQL zip from this site (https://dev.mysql.com/downloads/mysql/) and run it with cmd but i want to run it with php code and access database with IP address like Xampp or wamp server (http://127.0.0.1/phpmyadmin).
please help me about this problem.
thanks.
what you have done is installed the core of the mysqli. so It does not come with a GUI.
So you will have to manually download the GUI and install it.. its called mysqli workbench
here in this link download it.
you can't use mysqli like phpmyadmin because its a desktop version. If you really want to use the browser version you will have to install wampserver here
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I have a php script which runs using terminal and then it keeps running. It dumps data from a remote server into local directory by creating .txt files. Now I want to create a Mac app which once open will run this script.
I dont want to use terminal I just want to create an app which when starts runs the script and as long as the app is running the script would be running.
My question is is there any way we can run a php script in a Mac application.
Create a YOURNAME.command file, put what you want to execute inside and make it executable with chmod +x YOURNAME.command
The file when you double click will execute what you put inside.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Basically i used to make web systems with php and mysql, I wanted to learn a new database system, i chose postgresql. I uninstalled xampp and installed postgresql-9.3.4-2-windows-x64 with PgAdmin III.
Question 1: How can i run my php files using postgre assuming im creating a new system from scratch. Like where do i put my php file? Do i still need to install xampp again? or just put my files inside a folder in the postgresql installation folders?
Question 2: How can i manage my databases using pgAdmin instead of phpPgAdmin or any browser based postgresql database manager.
PostgreSQL is a database, you put your php files in a directory that Apache can serve, and configure Apache accordingly. You can start here
As for the how to use pgadmin, RTM.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am trying to run WAMP under my XP. I installed it to C:/wamp, than copied old php files for example like test.php to the www folder in wamp folder, than run it throungh browser from adress file:///C:/wamp/www/test.php. It includes
< ?echo("a");? >
but it still run like html without running code and showing php in source code.
What am I doing wrong?
I was thinking if there exist some browser which will automatically executes php and includes mysql database apache.
Is there something?
And at best run ajax and asp serverside parts
You are showing the file directly by the browser, nothing related to wamp.
What you should do is start wamp (maybe need some config, for example the path, the port .)
Then access your page like : http://localhost/test.php.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I already installed MAMP in my macbook pro. I want to run a php. what can i do?
/Applications/MAMP/htdocs/hello.php
Will then appear in http://localhost:8888/hello.php
:)
If you have done everything right, open your browser and type this:
http://localhost
to see if it opens successfully and then you can open your sites.
Also check out the mamp's documentation on how to configure it and run php scripts.
Drop the PHP file into the HTDOCs folder in MAMP, for example let's call it hello_world.php and now you can run it by going to:
http://localhost/hello_world.php
Depending on the port settings of MAMP (Preferences -> Ports) you have to call http://localhost:8888/filename.php (MAMP ports) or http://localhost/filename.php (default ports). The file "filename.php" have to be located in this folder: /Applications/MAMP/htdocs/