Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
-2 votes
0 answers
28 views

Mac OS apache and php inconsistency issues, PHP unable to see or read directory

When I added this code to the apache vHost conf, the browser stopped "seeing" php files and simply says 404. The file exists and worked before. When I try to revert the file and folder ...
Christian Legere's user avatar
0 votes
0 answers
23 views

easiest way to install web counter on offline kiosk system?

I am updating a series of old kiosks for a history museum. Originally built around 15 years ago they would like me to add a page counter, among other changes, to determine how widely used the kiosks ...
Tod Poirier's user avatar
0 votes
0 answers
59 views

How to make PHP Server write the pid file? [closed]

I was working on my Symfony 6.4 project on Windows 11 x64 and then when i refresh my html page of my template i got an issue. In my terminal in VSCode I have this error : {"level":"...
Essodjolo's user avatar
-3 votes
0 answers
51 views

Save image in server using PHP

I am coding telegram bot that take screenshot for url and send it to the user ... But I have a problem in saving images in the server ( I use 000webhost for free) ... And when I use time() in the name ...
Yunus Salman's user avatar
0 votes
0 answers
42 views

Error: PHP extension required: "pdo_sqlite" after installing Kanboard

After I installed Kanboard on a Ubuntu 18 server and try to open it in the browser I see: Internal Error: PHP extension required: "pdo_sqlite" PHP is 7.4. When I try sudo apt-get install ...
SHYAM KUMAR B's user avatar
0 votes
1 answer
32 views

Date localization based on geographic server location using PHP

I know that in Android development if you get a date it is returned based on the phone's Locale! I have an android app that communicates with a server(whose geographic location can change). The server ...
ChrisK0043's user avatar
0 votes
2 answers
67 views

Laravel 9 -the audio failed to upload just in production server it works correctly in my local environment

I have a contract Controller where I can upload the audio files against each contract and it works fine on local environment but when I try to upload on the server, it doesn't work. When I try to ...
Abdellah Hajjam's user avatar
0 votes
1 answer
27 views

Apache, deny access to all files and subdirectories except index.php

I have this in my httpd.conf but does not work, request is forbidden typing localhost: <Directory "${DOCUMENT_ROOT}"> Options -Indexes +FollowSymLinks +Includes +ExecCGI ...
Dani's user avatar
  • 1
0 votes
0 answers
15 views

PHP CKEditor 5 Build with Custom Uploader: Images Not Saving or Missing Attributes

Thank you in advance for your help. I'll try to explain my issue as simply as possible: Context: I'm attempting to create a page system where users can add blocks, each block having a CKEditor text ...
Alexis FREDRIKSEN's user avatar
1 vote
0 answers
41 views

How to enable multiple server workers in symfony's built-in web server?

i am trying to capture a picture of a rendered site with Browsershot: #[Route('/create-img-from-html', name:'create-img-from-html')] public function createImageFromHTML() { Browsershot:...
Lennart Bauer's user avatar
0 votes
0 answers
41 views

WHM Ubuntu 22.04.4 didn't want to open PHP file

Hi guys im using a VPS and WHM to do a config, im already install the PHP using easyApache4 but why it won't open the php file? PHP-FPM is already activated but it still cant be accessed, its my first ...
Bagus's user avatar
  • 38
-1 votes
1 answer
61 views

Getting ERROR: syntax error, unexpected '|', expecting variable (T_VARIABLE) from slugify

public function slugify(string $string, array|string|null $options = null): string { // BC: the second argument used to be the separator if (is_string($options)) { $...
Milan Parmar's user avatar
0 votes
1 answer
57 views

My PHP Code works just when call in command line

I have a curl request with proxy <?php $botToken = ""; $chatId = "-1234"; $message = 'Test'; $data = [ 'chat_id' => $chatId, 'text' => $message, ]; $url = "...
Amin Gholibeigian's user avatar
1 vote
0 answers
46 views

How to print in local printer from a remote host?

I am trying to find a way to print in my local printer some labels that I generate in my web. These labels are saved in a folder of my remote host. So I want to be able to send them to print in my ...
José Manuel Ruiz Ruiz's user avatar
0 votes
1 answer
26 views

Unix Server - command from one server to another

Inside our PHP code we call the below line to resize images as they are uploaded. Searching our server I found the file at /usr/bin/convert but when I copy this file to a new server the function fails....
Brad Wickwire's user avatar

15 30 50 per page
1
2 3 4 5
202