Setup an GitHub project on localhost - apache

i am new to github.
i want to setup https://github.com/Alanaktion/phproject project on my local machine.
I am using xampp.
how can i do that?

You can download a copy of the project by pressing the "Download Zip" button on the Github page. After that you should decompress the files into the root directory of Xampp. Depending on your operating system, the directory is located as follows:
XAMPP on Windows: C:/xampp/htdocs/
XAMPP on Linux: /opt/lampp/htdocs/
XAMPP on Mac OS X: /Applications/XAMPP/htdocs/
Open the page in a browser, and fill in your database connection details. Detailed requirements and installation instructions are available at phproject.org.
Hope this helps

Related

Access WSL2 java vm through IDEA

I have setup GraalVM by downloading it through oracle page and extracting the tar file in drive E:/ ("E:\Programs\Java\graalvm-ee-java17-22.0.0.2\bin").
Then I log into WSL2 (ubuntu) bash and setup the environment variables in bashrc.
now I can execute the VM through command line...
However my IDEA Community could not load this JVM into my project. When I try to manually add JDK, it would not allow to open mnt folder and specify the path.
I can't expand the e directory. How can I overcome this issue and allow IDEA to recognize the WSL instance JDK?
It's a Windows limitation, if you open \\wsl$\Ubuntu-20.04\mnt in File Explorer, you will not be able to browse the drives. I'd recommend you install JDK in another browsable place under WSL.

How to add XAMPP to my desktop in Ubuntu 20.04?

I just installed XAMPP on my Ubuntu O.S but I want to add a GUI icon to my desktop? I followed an old post which generated the GUI but it doesn't launch when I click it. Can anyone provide a detailed step for Ubuntu 20.04?

XAMPP Can't Start Apache After Upgrading to PHP7.1.17 "Attempting to start Apache service..."

I have XAMPP installed on Windows 7 virtual machine. My old PHP version was 7.0.9 with Apache 2.4
I needed to upgrade the PHP version to 7.1.x and I set out reading about how to best to this. In end, I settled with the simple plan:
Stop Apache service
Downloaded new PHP version from official php website. For PHP 7 the 7.1.17 version was listed. I downloaded the thread safe version, as my Apache has thread safety enabled.
I extracted the contents of the downloaded archive to a folder.
I copied and replaced all files in the appropriate folders from C:/Server/php with the new php version files from the extracted archive.
I attempted to start Apache from the XAMPP control panel and the server will not start.
The message "Attempting to start Apache service..." just hangs and nothing happens.
The last entry in the error.log file in C:\Server\apache\logs shows the event when the server was stopped and that's it.
When I check the php version from CLI with the command php -v, the console returns installed php version 7.1.17
I tried different suggestions I read from similar questions, like changing ServerName localhost:80 to ServerName localhost:8080 and copying php7apache2.dll to apache/bin ( as suggested here: Upgrading PHP in XAMPP for Windows? ), alas the issue is not fixed and Apache does not start.
Of course, I also restarted the virtual machine, all the same.
At this point, I'm dumbfounded. Don't know what to do.
I need to get Apache running with php 7.1, as it is required by Magento 2.2.4. I do not want to reinstall XAMPP, as this will be a lenghty process with a lot of risk for more things to go wrong.
Any help is much appreciated!
Alright, so after checking Windows Logs > Application in Event Viewer I saw the error ".. the Apache service named is not a valid win32 application". I downloaded the x86 version of PHP from official website PHP for Windows
Then copied and replaced files as described above, and Apache started successfully.
To see if your Apache version is x64 or x86 open command prompt and cd to your Apache bin directory, in my case C:/Server/apache/bin , then run:
file httpd

after XAMPP install on Mac Sierra - it works, but there is no XAMPP folder. Where is everything?

I have installed XAMPP. It works. I'm trying to figure out the following:
1/ it appears there are now TWO apache servers on my mac. XAMPP just installed an additional server. One is already installed on the default Sierra OS. Is that correct?
2/ I can't find where XAMPP is reading files (document root). in the newly created directory: XAMPP.APP, the file structure is not as indicated in the FAQ's. For example, there is no xamppfiles or logs directory in the XAMPP.app directory.
Many thanks in advance
I installed XAMPP-VM (VM - as in virtual machine). Therefore, in the XAMPP application, I needed to click on "Volumes" and select "Mount" . I can then see this mounted volume in the MAC finder under "Shared". From there, I can get to all the necessary files including "lampp/htdocs".
I haven't encountered a web server on the default installation of macOS.
Run XAMPP in the applications folder and then click on the 'Open Terminal' button. At the prompt, type cd /opt/lampp and this is the document root.

How is the pentaho community server installed on linux?

Where can I find the pentaho community files, how is it installed, and how do I access the user console?
Pentaho files are found at:
https://sourceforge.net/projects/pentaho/files
The server is in the 'Business Intelligence Server' folder.
Download the zip file of the latest version, and unzip it. Open a terminal at the location of the unziped directory, and then cd into the directory. Now run ./start-pentaho.sh. It is a java application, so make sure you have java installed.
The server is now running, and the 'user console' can be accessed through a web browser at localhost:8080 by default. It was very slow for me, just fyi. The default login is 'admin' and 'password'.