Skip to content

Tag: server

How to serve two laravel apps on 1 domain?

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&#8221…

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 ret…

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 whi…