Skip to content
Advertisement

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” idea didn’t work. I hope someone can suggest the correct way to do it, I would

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.

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

Advertisement