I have two laravel apps like this: I’m trying to serve them on linux machine, I can’t seem to get them to work together. I want to have two urls like this: https://test.example.co https://test.example.co/dashboard Answer I succeeded serving them using another subdomain, the “/dashboard” idea didn’t work. I hope someone can suggest the correct way to do it, I would
Tag: server
Check if PDFTOHTML is installed on server
I’m trying to check before running a php script if pdftohtml is installed on server. Is there a way to check if pdftohtml is installed on server (linux or mac) from within the code. I’m looking for something similar to function_exists() Answer Perhaps, the following will solve your case: which returns nothing if the program isn’t found. But it will
How to Turn off Caching of PHP Pages on Server and Browser?
I’m not sure where the caching of php pages is coming from. So far I’ve disabled caching in; Chrome’s Developer Tools> Network > Disable cache; Debian’s optphp73etcphp73.ini with; I’ve added to the end of my server entry; I’ve got this header at the top of the php script; But I still can’t figure out Where the caching is coming from.
java.net.ConnectException: Failed to connect to /localhost:8080
So, I’m trying to send a POST request from my android phone to my server (laptop) both on the same network. I am getting the error as shown above. I thought this could be something about the firewall …
I’m encountering issues docker file sharing : setting volumes [closed]
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 1 year ago. Improve this question I have problem mounting local directory and get File sharing has been cancelled. Have had checked lots of forums and
PHP file is not running in XAMPP server [closed]
I am running the php file in localhost and the browser (chrome) is showing the blank page then i inspect the code and found the php code or part is commented automatically. What can I do I am novice …
What is the difference between PHP and libapache2_mod_php
I’m new to system administration and while launching oho files with Apache 2 server I had to install php on my Ubuntu 16.04. I tried the basic sudo apt-get install php, which only loaded a blank page (php file). But installing libapache2_mod_php solved my problem. I want to understand the differences . Answer It’s pretty simple: Apache is WWW Server,
Laravel Project on Pleask except homepage other routes are not working
I uploaded files of my Laravel project at Plesk server in httpdocs folder and change necessary permission. Now my homepage is working fine but other routes showing 404 server error ( see screenshot [http://prntscr.com/h54nra][1]) For checking few solutions in different forums and at stackoverflow I also tried to make changes in my .htaccess file but yet unable to resolve. Currently
Index of / with blank page output on server
I uploaded my PHP(codeigniter) project on server. But when I run it I get below window project folder is in /var/www/ DocumentRoot is set in projectName.conf directory as /var/www/projectName Answer Make sure your site .conf points to the public folder and not the site root.
How to install ffmpeg for PHP
I’ve successfully installed ffmpeg using ssh, as root, on my dedicated server (CentOS 7). ffmpeg works fine – but now I need to use it without root access. When i try to use ffmpeg without root access, I get the following error : The final goal is to be able to use ffmpeg inside my PHP scripts which do not