Copy db from xampp files, sytem not working - xampp

I have a question. My windows system stopped working and I would like to copy db data from xampp who was intalled on this system. I have only xampp files. Is it possible ?
Sorry for my english.

You can just copy complete XAMPP directory to another working Windows system and try to launch it as usual. Or, you can try to backup current xampp directory, reinstall xampp somewhere else, and then overwrite it with your backup.

Related

How to install TYPO3 on windows 7 with wampp

I would appreciate if someone can assist me install TYPO3 on Windows wamp server. I have worked on this for some weeks now on both Linux and Windows, but apparently this is something small I am missing.
Here is what I have done on Windows 7, following guidance given on several links I was not able to list in this post:
I have installed wamp and when I start it it shows all services running;
I created my folder "vhost1" in which I put my documents (i.e. in C:\wamp\www\vhost1).
I have copied typo3_src-6-10 (later replaced by typo3_src-8.4.0) into vhost1 and made the following links-mklink /D typo3_src C:\wamp\www\weaconsort\typo3_src\typo3_src-x.x.x \ mklink /D typo3 typo3_src/typo3 \ mklink /D index.php typo3_src/index.php
When I point to "http://localhost/vhost1" in my browser I get "Internal Server Error", but when I point to "http://locahost" I get the index page with my document folder under "Your Projects".
Clicking on my document folder gives me "Internet Explorer cannot display the webpage"
I cannot go further than this.
I have tried to change Document root to "c:/wamp/www/vhost1" in "http.conf", "httpd-ssl.conf and httpd-vhosts.conf, no avail.
Will appreciate any assistance
I have all running on windows 7 with no trouble ... I'm no wizard at all, so first change is that I have xampp installed, no symlinks, I just place in htdocs ...
If you want to go down this road I'll assist you with all questions, I've even got imagemagick up and running:
get rid of wampp (hope you're not using it for other development)
download xampp 1.8.3 and install that
download typo3 (I suggest 7.6.11, because you'll find lots more extensions and I think v8 runs on php7 !!) and place it in htdocs.
rename the folder to a testname, and save an empty file named FIRST_INSTALL in the folder. [directory structure for typo3 installation: rename typo3_src-7.6.11 to testname]
start up xampp and go to 'localhost/phpmyadmin/, create there a database 'testname' (I use collation utf8_general_ci but you can leave that)
now go to 'localhost/testname/' in your browser, and follow the instructions ... (I think you can ignore the warnings at the start), when you arrive at the database select the one just created with user 'root' and blank password.
at the end of the install you'll be asked if you want to start with an empty installation or if you want to fill with the introduction, that's where you insert the package !!
keep me posted and I update my answer to resolve where you stall
TYPO3 - inspiring people to share!

MAMP not starting Apache server on El Capitan 10.11.1

So I've been using MAMP just fine for an Apache server on Yosemite for some time now. I only need one local host, so I'm using regular MAMP and not MAMP Pro. I am on MAMP 3.4
When I click the "start servers" button, it doesn't respond to the click. It just shows the colored spinner like the application froze, and then nothing happens. Only the SQL server will start but not the Apache.(I don't even use SQL)
I can click through the preferences window just fine, and I can click the quit button, but the start servers button just gives that error.
The Apache box in the top right isn't filled in, and wont let me fill it in either. SQL box is filled it, if that matters. No error message at all. Totally lost.
I ran into the same problem as well after upgrading Mavericks to El Capitan. Mysql did start, but Apache failed starting. I'm running MAMP 3.0.5 (regular version).
I managed to fix this issue by renaming a file in the folder /Applications/MAMP/Library/bin. Rename envvars to _envvars and restart Apache. This made Apache running again on my machine.
Ok im new here but i figured it out.
sudo apachectl stop
Just ran that command.
Try copying the pre update version of your httpd.conf file and restarting apache as recommended above.
sudo cp /private/etc/apache2/httpd.conf.pre-update /etc/apache2/httpd.conf
sudo apachectl restart
This worked for me. I had issues getting MAMP (Pro) to start Apache and when it was running it took a while to shutdown Apache, which is odd since it didn't start.
I blame El Capitan, always blame the captain if things go wrong. Except Captain Morgan, that's your own fault.
Reinstalling MAMP was the easiest way for me as terminal still scares me. But make sure you follow the steps below so you don't lose all of your files and databases!
1. Rename your MAMP folder in Applications/ to "MAMPOLD" so that you don't overwrite your htdocs and databases.
2. Downloaded and install a fresh copy of MAMP from https://www.mamp.info/en/.
3. Replace the 'htdocs' and 'db' folders in your newly installed MAMP with the ones from your "MAMPOLD" folder.
Note that for the db folder I just transferred any folders and files that didn't exist in the new db folder so I didn't replace anything important. This may not be necessary but I didn't want to risk it.
4. Finally when you launch MAMP again you may have to change the ports to default if it isn't working. I had them orginally set to 80 and 3306 which is no longer working so now I have to put up with seeing localhost:8888 which is annoying but at least it's working! If anyone can help me with this I would be grateful.
I found that the ServerRoot in http.conf used the path "/usr" Most Macs use "/users". Soon as I changed it and restart apache MAMP went live

File appearing in mac that should be deleted

I am new to Apple products and I am following this tutorial http://coolestguidesontheplanet.com/set-virtual-hosts-apache-mac-osx-10-9-mavericks-osx-10-8-mountain-lion/ so I can get a virtual host setup. I installed MAMP fine. I also followed the vhosts setup and all seems to working ok but it doesnt work once i load the page i.e mysite.local
After some playing about I removed MAMP from my machine and ran sudo nano /etc/apache2/extra/httpd-vhosts.confit brings up the last file i did have although i cannot find it in finder as I have removed MAMP from my system.
Why is this happening?
MAMP stores its configuration files at /Applications/MAMP/conf/apache/extra/ (see http://foundationphp.com/tutorials/vhosts_mamp.php), not at the default system location (/etc/apache2/extra/). You uninstalled MAMP correctly, but the guide had you editing the default Apache files that came with OS X, not the ones that MAMP uses.

Install Mercury after XAMPP installation

I have initially installed XAMPP without checking the Mercury installation.
Of course, the module shows-up in the XAMPP Control panel but is disabled and there is no mean to install it from there. How should I do without re-installing the whole XAMPP package?
For who would be interested (that applies to any not-initially-installed module of XAMPP package):
create a folder inside xampp, e.g. \xampp\mercury. In windows it should be "MercuryMail".
download mercury from here: http://www.pmail.com/downloads_s3_t.htm
during installation, point to the \xampp\mercury\ folder.
edit the file \xampp\xampp-control.ini:
[EnableModules]->Mercury=1
[BinaryNames]->Mercury=mercury.exe
Reload XAMPP Control panel
That's all!

PHP.ini Settings Are Ignored By PHP5.3.5 Running With Windows 7 And Apache 2.2.15

I did an install of PHP5.3.5 on Windows 7 Home Premium using the MSI installer download. I got it to overwrite a previous version of PHP5 in C:\php5\
When first testing it, the server failed to start. I fixed this by adding the path to PHP in the Apache2.2 httpd file where the installer had inserted 2 lines of coded pointing to the ini file directory and the PHP DLL but had left out the directory path. After doing this, the server starts ok and I can run phpinfo to view the PHP settings in my web browser on local host.
In the phpinfo it states that the loaded configuration file is C:\php5\php.ini as expected. But if I make any changes to the settings, and reboot the server, none of the changes are reflected in phpinfo. Yes, I do refresh the browser window.
If I rename the php.ini to something else to make it invisible phpinfo then correctly identifies that there is no php.ini file loaded.
So the settings in php.ini are being ignored and some default settings are being used (but I have no idea where these are derived from). As far as I can tell, there are no other php.ini files on my computer.
In phpinfo it states that the Configuration File (php.ini) Path is C:\Windows but this is the same as on a Windows XP computer that I work on. And in the windows folder I don't see any php.ini file.
In the windows registry, there is no mention of PHP5, and the PATH environment variable starts with C:\php5\;
So hopefully someone can suggest how I can get PHP5 to take notice of the C:\php5\php.ini settings. :)
You may have more than one php.ini file. If you do, and you don't realize that you do, you will be slowly driven insane [I speak from experience].
So, have you upgraded from a previous version of php to your current version? If so, delete all previous version php.ini files. Check your environment and system variable paths. Eliminate any references to previous versions.
You say youp're running Apache, but is MSII also running, or did you turn it off?
You may have to go into registry ( I no longer use MS OS so I don't know what or how VISTA or Sys7 implement Registry. I used XP when I had this problem and I had to manually eliminate Registry entries for previous versions of PHP.
Lots a luck!

Resources